summaryrefslogtreecommitdiff
path: root/res/edc/main.edc
diff options
context:
space:
mode:
Diffstat (limited to 'res/edc/main.edc')
-rwxr-xr-xres/edc/main.edc557
1 files changed, 0 insertions, 557 deletions
diff --git a/res/edc/main.edc b/res/edc/main.edc
deleted file mode 100755
index d0fe9e8..0000000
--- a/res/edc/main.edc
+++ /dev/null
@@ -1,557 +0,0 @@
-#define GRAY_RECT_COLOR 128 128 128 128
-#define SPEEDBOX_OFFSET_Y 225
-
-
-#include "image_res.edc"
-#include "vp_font.edc"
-
-collections {
- group {
- name: "main";
-
- parts {
- part {
- name: "main.background";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- rel1 { relative: 0.0 0.0;}
- rel2 { relative: 1.0 1.0;}
- color: 255 255 255 0;
- }
- }
- part {
- name: "main.nocontents.bg";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 399 399;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.4;}
- rel2 { relative: 0.5 0.4;}
- image { normal: "gallery_video_player_bg.png"; border: 7 7 0 0; }
- color: GRAY_RECT_COLOR;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "main.nocontents.image";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 144 144;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.4;}
- rel2 { relative: 0.5 0.4;}
- image { normal: "T01_Nocontents_multimedia.png"; }
- color: 255 255 255 255;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "main.speedbox";
- type: IMAGE;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 280 173;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.49; }
- rel2 { relative: 0.5 0.49;}
- image {normal: "white/common/T01-2_popup_bg.png"; border: 10 10 10 10;}
- color: 255 255 255 255;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "main.speedbox.rect";
- type: RECT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 280 173;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.49; }
- rel2 { relative: 0.5 0.49;}
- color: 0 0 0 102;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
- part {
- name: "main.speedbox.txt";
- type: TEXT;
- mouse_events: 0;
- scale: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- align: 0.0 0.0;
- rel1 { relative: 0.0 0.0; to: "main.speedbox"; }
- rel2 { relative: 1.0 1.0; to: "main.speedbox"; }
- color: FONT_PLAYBACK_SPEED_COLOR;
- text {
- font: FONT_PLAYBACK_SPEED_FONT;
- text_class: FONT_PLAYBACK_SPEED_CLASS;
- size: FONT_PLAYBACK_SPEED_SIZE;
- text: "";
- align: 0.5 0.5;
- }
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- }
-
- part {
- name: "main.option.button";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 0 45;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "hide" 0.0;
- inherit: "default" 0.0;
- min: 0 0;
- }
- description {
- state: "visible_off" 0.0;
- inherit: "hide" 0.0;
- visible: 0;
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- min: 0 104;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- min: 0 90;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible : 0;
- }
- }
-
- part {
- name: "main.bookmark";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 206;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.0 1.0; to_y: "main.option.button";}
- rel2 { relative: 1.0 0.0; }
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0 0.0; }
- rel2 { relative: 1.0 0.0; }
- min: 0 207;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible : 0;
- }
- }
-
- part {
- name: "main.panel.bg";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; }
- rel2 { relative: 1.0 1.0; }
- color : 0 0 0 128;
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- min: 0 214;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- min: 0 204;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- min: 0 297;
- }
- }
-
- part {
- name: "main.panel.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.0; to_y: "main.panel.bg";}
- rel2 { relative: 1.0 0.0; to_y: "main.panel.bg";}
- color : 153 153 153 178;
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- min: 0 1;
- }
-
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part {
- name: "main.panel.top";
- type: RECT;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 0 12;
- fixed: 0 1;
- align: 0.5 0.0;
- rel1 { relative: 0.3 0.0; to_y: "main.panel.line";}
- rel2 { relative: 0.7 1.0; to_y: "main.panel.line";}
- color : 0 0 0 0;
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- min: 0 17;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- part {
- name: "main.panel.button";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 1;
- min: 0 56;
- fixed: 0 1;
- align: 0.0 0.0;
- rel1 { relative: 0.0486 1.0; to_y: "main.panel.top";}
- rel2 { relative: 0.9514 1.0; to_y: "main.panel.top";}
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- rel1 { relative: 0.0273 1.0; to_y: "main.panel.top";}
- rel2 { relative: 0.9727 1.0; to_y: "main.panel.top";}
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
-
- part {
- name: "main.panel";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- min: 0 0;
- fixed: 0 1;
- align: 0.5 1.0;
- rel1 { relative: 0.0 1.0; }
- rel2 { relative: 1.0 1.0; }
- }
- description {
- state: "portrate" 0.0;
- inherit: "default" 0.0;
- min: 0 192;
- }
- description {
- state: "landscape" 0.0;
- inherit: "default" 0.0;
- min: 0 192;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- min: 0 297;
- }
- }
-
- part { name: "main.animation";
- type: SWALLOW;
- scale: 1;
- mouse_events: 1;
- description {
- state: "default" 0.0;
- visible: 0;
- min: 288 195;
- fixed: 1 1;
- align: 0.5 0.5;
- rel1 { relative: 0.5 0.4;}
- rel2 { relative: 0.5 0.4;}
- color: 255 0 0 255;
- }
- description {
- state: "show" 0.0;
- inherit: "default" 0.0;
- visible: 1;
- }
- description {
- state: "trim" 0.0;
- inherit: "default" 0.0;
- visible: 0;
- }
- }
-
- } /* parts */
-
- programs {
- program {
- signal: "signal.main.nocontents.show";
- source: "*";
- action: STATE_SET "show" 0.0;
- target: "main.nocontents.image";
- target: "main.nocontents.bg";
- }
-
- program {
- signal: "signal.main.nocontents.hide";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "main.nocontents.image";
- target: "main.nocontents.bg";
- }
-
- program {
- signal: "signal.main.speedbox.show";
- source: "*";
- action: STATE_SET "show" 0.0;
- target: "main.speedbox";
- target: "main.speedbox.rect";
- target: "main.speedbox.txt";
- }
-
- program {
- signal: "signal.main.speedbox.hide";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "main.speedbox";
- target: "main.speedbox.rect";
- target: "main.speedbox.txt";
- }
-
- program {
- signal: "signal.main.animation.show";
- source: "*";
- action: STATE_SET "show" 0.0;
- target: "main.animation";
- }
-
- program {
- signal: "signal.main.animation.hide";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "main.animation";
- }
-
- program {
- signal: "signal.main.portrate.mode";
- source: "*";
- action: STATE_SET "portrate" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel.top";
- target: "main.panel.button";
- target: "main.panel";
- target: "main.bookmark";
- }
-
- program {
- signal: "signal.main.landscape.mode";
- source: "*";
- action: STATE_SET "landscape" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel.top";
- target: "main.panel.button";
- target: "main.panel";
- }
-
- program {
- signal: "signal.main.trim.mode";
- source: "*";
- action: STATE_SET "trim" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel.top";
- target: "main.panel.button";
- target: "main.panel.line";
- target: "main.panel";
- }
-
- program {
- name: "control_portrait_show";
- signal: "signal.main.control.portrait.show";
- source: "*";
- action: STATE_SET "portrate" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel";
- transition: LINEAR 0.4;
- after: "control_show_finished";
- }
-
- program {
- name: "control_landscape_show";
- signal: "signal.main.control.landscape.show";
- source: "*";
- action: STATE_SET "landscape" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel";
- transition: LINEAR 0.4;
- after: "control_show_finished";
- }
-
- program {
- name: "control_hide";
- signal: "signal.main.control.hide";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "main.option.button";
- target: "main.panel.bg";
- target: "main.panel";
- transition: LINEAR 0.4;
- after: "control_hide_finished";
- }
-
- program {
- name: "control_landscape_bookmark_hide";
- signal: "signal.main.control.hide.with.bookmark";
- source: "*";
- action: STATE_SET "default" 0.0;
- target: "main.panel.bg";
- target: "main.panel";
- transition: LINEAR 0.4;
- after: "control_hide_finished";
- }
- program {
- name: "control_show_finished";
- action: SIGNAL_EMIT "signal.control.show.finish" "*";
- }
-
- program {
- name: "control_hide_finished";
- action: SIGNAL_EMIT "signal.control.hide.finish" "*";
- }
-
- program {
- signal: "signal.main.landscape.bookmark.hide";
- source: "*";
- script {
- set_state(PART:"main.option.button", "visible_off", 0.0);
- set_state(PART:"main.bookmark", "default", 0.0);
- }
- }
-
- program {
- signal: "signal.main.landscape.bookmark.show";
- source: "*";
- script {
- set_state(PART:"main.option.button", "visible_off", 0.0);
- set_state(PART:"main.bookmark", "landscape", 0.0);
- }
- }
- } /* programs */
- } /* group */
-} /* collections */