images { image: "zoom.png" COMP; image: "here.png" COMP; image: "zoom_bg.png" COMP; } fonts { font: "Vera.ttf" "vera"; } collections { group { name: "main"; min: 240 240; parts { part { name: "position"; type: TEXT; effect: SOFT_SHADOW; description { state: "default" 0.0; align: 0.25 0.0; color: 255 255 255 255; color2: 0 0 0 255; text { font: "vera"; size: 12; text: "Pos: n/a"; align: 0.0 0.0; } rel1 { relative: 0.0 0.01; } rel2 { relative: 0.98 0.01; } } } part { name: "here"; type: IMAGE; description { fixed: 1 1; min: 32 32; max: 32 23; state: "default" 0.0; rel1 { relative: 0 0; offset: -16 -16; } image { normal: "here.png"; } fill {} } } // here part { name: "zoom_bg"; type: IMAGE; mouse_events: 0; description { state: "default" 0.0; min: 25 0; align: 0.0 0.5; rel1 { offset: 10 28; } rel2 { relative: 0.0 0.9; offset: 0 -1; } image.normal: "zoom_bg.png"; } } part { name: "zoom"; type: IMAGE; mouse_events: 1; dragable { x: 0 0 0; y: 1 1 0; confine: "zoom_bg"; } description { fixed: 1 1; min: 32 32; state: "default" 0; rel1 { relative: 0.5 0.5; offset: 5 0; to: "zoom_bg"; } rel2 { relative: 0.5 0.5; offset: 0 0; to: "zoom_bg"; } image normal: "zoom.png"; } } } // end parts programs { program { name: "p_quit"; signal: "mouse,clicked,1"; source: "b_quit"; action: SIGNAL_EMIT "done" "quit_button"; } program { name: "p_kbd"; signal: "mouse,clicked,1"; source: "b_kbd"; action: SIGNAL_EMIT "kbd" "show"; } } // end programs } // end group }