group { name: UG_GRP_NO_CONTENT; images { image: "myfile_nocontent.png" COMP; image: "No_ex_stor.png" COMP; } parts { part { name: "background"; type: RECT; mouse_events: 0; description { state: "default" 0.0; rel1 { relative: 0.0 0.0; offset: CTRLBAR_PADDING_X CTRLBAR_PADDING_Y; } rel2 { relative: 1.0 1.0; offset: -CTRLBAR_PADDING_X -CTRLBAR_PADDING_Y; } color: COLOR_BLACK; } } part { name: "nocontents.image"; description { state: "default" 0.0; visible: 1; align: 0.5 0.5; min: 200 235; max: 200 235; rel1 { relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC; to: "background"; } rel2 { relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC; to: "background"; } image { normal: "myfile_nocontent.png"; border: 1 1 1 1; border_scale: 1; } aspect: 1.0 1.0; aspect_preference: BOTH; color: COLOR_WHITE; } description { state: "hide" 0.0; inherit: "default" 0.0; visible: 0; } description { state: "no_ext" 0.0; visible: 1; align: 0.5 0.5; min: 200 235; max: 200 235; rel1 { relative: NOCONTENT_IMAGE_REL1_WIDTH_HEIGHT_INC; to: "background"; } rel2 { relative: NOCONTENT_IMAGE_REL2_WIDTH_HEIGHT_INC; to: "background"; } image { normal: "No_ex_stor.png"; border: 1 1 1 1; border_scale: 1; } aspect: 1.0 1.0; aspect_preference: BOTH; color: COLOR_WHITE; } description { state: "hide_ext" 0.0; inherit: "no_ext" 0.0; visible: 0; } } part { name: "middle.padding"; type: RECT; scale: 1; description { state: "default" 0.0; visible: 0; min: 1 NOCONTENT_MIDDLE_PADDING_INC; max: 1 NOCONTENT_MIDDLE_PADDING_INC; align: 0.5 0.0; rel1 { relative: 0.0 1.0; to_y: "nocontents.image"; } } } part { name: "message"; type: TEXT; repeat_events: 0; description { state: "default" 0.0; align: 0.5 0.5; rel1 { relative: 0.0 1.0; to_x: "background"; to_y: "middle.padding"; } rel2 { relative: 1.0 1.0; to_x: "background"; to_y: "middle.padding"; } text { text: " "; align: 0.5 0.5; size: 40; font: "sans"; min: 1 1; } } } } programs { program { name: "show_no_mem"; signal: "show,no,memcard"; source: "elm"; action: STATE_SET "hide_ext" 0.0; action: STATE_SET "default" 0.0; target: "nocontents.image"; } program { name: "hide"; signal: "show,no,ext"; source: "elm"; action: STATE_SET "hide" 0.0; action: STATE_SET "no_ext" 0.0; target: "nocontents.image"; } } }