rage/data/themes/default.edc

1965 lines
64 KiB
Plaintext
Raw Normal View History

2014-01-20 03:34:48 -08:00
collections {
//////////////////////////////////////////////////////////////////////////////
//// the background and general container for the terminal
group { name: "rage/core";
images.image: "bg_bevel.png" COMP;
images.image: "bevel_dark_out.png" COMP;
2014-01-20 03:34:48 -08:00
images.image: "pm_fill.png" COMP;
images.image: "pm_overlay.png" COMP;
images.image: "pm_shadow.png" COMP;
images.image: "glow_exclam.png" COMP;
images.image: "icon_eject.png" COMP;
images.image: "icon_mute.png" COMP;
images.image: "icon_volume.png" COMP;
images.image: "icon_prev.png" COMP;
images.image: "icon_next.png" COMP;
images.image: "icon_rewind.png" COMP;
images.image: "icon_forward.png" COMP;
images.image: "icon_stop.png" COMP;
images.image: "icon_pause.png" COMP;
images.image: "icon_play.png" COMP;
images.image: "icon_refresh.png" COMP;
images.image: "icon_arrow_right.png" COMP;
images.image: "icon_spanner.png" COMP;
images.image: "icon_fullscreen.png" COMP;
images.image: "icon_unfullscreen.png" COMP;
images.image: "icon_close.png" COMP;
2014-01-20 03:34:48 -08:00
images.image: "horizontal_separated_bar_small_glow.png" COMP;
images.image: "vgrad_shadow_bi.png" COMP;
images.image: "win_shadow.png" COMP;
images.image: "bg_shine.png" COMP;
images.image: "bg_glint.png" COMP;
images.image: "speaker.png" COMP;
images.image: "inset_round_hilight.png" COMP;
images.image: "inset_round_shadow.png" COMP;
images.image: "inset_round_shading.png" COMP;
2014-01-20 03:34:48 -08:00
set { name: "pos_indicator";
image { image: "pos_indicator_big.png" COMP; size: 32 28 99999 99999; }
image { image: "pos_indicator.png" COMP; size: 0 0 31 27; }
}
images.image: "icon_next2.png" COMP;
images.image: "icon_prev2.png" COMP;
images.image: "icon_play2.png" COMP;
images.image: "icon_pause2.png" COMP;
images.image: "icon_volume2.png" COMP;
images.image: "icon_spanner2.png" COMP;
images.image: "icon_fullscreen2.png" COMP;
images.image: "icon_unfullscreen2.png" COMP;
images.image: "icon_close2.png" COMP;
2014-01-20 03:34:48 -08:00
images.image: "tv-bg.png" COMP;
images.image: "tv-over.png" COMP;
images.image: "r-0.png" COMP;
images.image: "r-1.png" COMP;
images.image: "r-2.png" COMP;
images.image: "r-3.png" COMP;
images.image: "r-4.png" COMP;
2014-01-20 03:34:48 -08:00
script {
public pos_visible;
public pos_timer;
public drag_is_down;
2014-01-20 03:34:48 -08:00
public pos_timeout(val) {
set_int(pos_visible, 0);
set_int(pos_timer, 0);
stop_program(PROGRAM:"posshow");
run_program(PROGRAM:"poshide");
}
}
parts {
part { name: "fill"; mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "pm_fill.png";
fill {
size.relative: 0.0 0.0;
size.offset: 64 64;
}
}
}
part { name: "popmedia_overlay"; mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "pm_overlay.png";
fill.smooth: 0;
}
}
part { name: "bevel";
description { state: "default" 0.0;
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "bevel2";
description { state: "default" 0.0;
image.normal: "bg_bevel.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
2014-01-20 03:34:48 -08:00
part { name: "shadow"; mouse_events: 0;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.content";
rel2.to: "rage.content";
image.normal: "pm_shadow.png";
image.border: 64 64 64 64;
rel1.offset: -32 -32;
rel2.offset: 31 31;
fill.smooth: 0;
}
}
part { name: "black"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255;
visible: 1;
}
}
program {
signal: "state,win,fullscreen"; source: "rage";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.2;
target: "black";
}
program {
signal: "state,win,normal"; source: "rage";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 1.0;
target: "black";
}
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel1.to: "rage.content";
rel2.to: "rage.content";
color: 0 0 0 255;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 32 32 32 255;
}
description { state: "play" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "base_bevel";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
description { state: "play" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
2014-01-20 03:34:48 -08:00
part { name: "exclam"; mouse_events: 0;
scale: 1;
clip_to: "novid_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
fixed: 1 1;
image.normal: "glow_exclam.png";
max: 24 24;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
description { state: "play" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
program {
signal: "action,newvid"; source: "rage";
action: STATE_SET "default" 0.0;
target: "exclam";
target: "base";
target: "base_bevel";
2014-01-20 03:34:48 -08:00
after: "newvid2";
}
program { name: "newvid2";
action: STATE_SET "visible" 0.0;
in: 2.0 0.0;
transition: SINUSOIDAL 1.0;
target: "exclam";
target: "base";
target: "base_bevel";
2014-01-20 03:34:48 -08:00
}
program {
signal: "action,frame"; source: "rage";
action: STATE_SET "play" 0.0;
target: "exclam";
target: "base";
target: "base_bevel";
2014-01-20 03:34:48 -08:00
}
part { name: "novid_clip"; type: RECT;
description { state: "default" 0.0;
}
description { state: "novideo" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "novid_base"; type: RECT; mouse_events: 0;
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "rage.content";
rel2.to: "rage.content";
color: 32 32 32 255;
}
}
part { name: "novid_base_bevel";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid_base";
rel2.to: "novid_base";
image.normal: "bevel_dark_out.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
}
}
part { name: "base-sh";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid";
rel1.offset: 0 -1;
rel2.to: "novid";
rel2.offset: -1 -2;
image.normal: "inset_round_shadow.png";
}
}
part { name: "base-hi";
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "novid";
rel1.offset: 0 1;
rel2.to: "novid";
rel2.offset: -1 0;
image.normal: "inset_round_hilight.png";
}
}
2014-01-20 03:34:48 -08:00
part { name: "novid"; mouse_events: 0;
scale: 1;
clip_to: "novid_clip2";
description { state: "default" 0.0;
rel1.to: "base";
rel1.relative: 0.1 0.1;
rel1.offset: 4 4;
2014-01-20 03:34:48 -08:00
rel2.to: "base";
rel2.relative: 0.9 0.9;
rel2.offset: -5 -5;
2014-01-20 03:34:48 -08:00
fixed: 1 1;
image.normal: "speaker.png";
max: 160 160;
2014-01-20 03:34:48 -08:00
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
part { name: "novid_clip2"; type: RECT;
description { state: "default" 0.0;
visible: 0;
}
description { state: "novideo" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
program {
signal: "state,novideo"; source: "rage";
action: STATE_SET "novideo" 0.0;
target: "novid_clip";
target: "novid_clip2";
}
program {
signal: "state,video"; source: "rage";
action: STATE_SET "default" 0.0;
target: "novid_clip";
target: "novid_clip2";
}
part { name: "art_clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
max: 0 0;
visible: 0;
color: 255 255 255 0;
rel1.to: "base";
rel2.to: "base";
fixed: 1 1;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
max: 9999 9999;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "art_clip2"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
visible: 0;
color: 255 255 255 0;
rel1.to: "base";
rel2.to: "base";
fixed: 1 1;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255;
}
}
part { name: "artshadow"; mouse_events: 0;
clip_to: "art_clip2";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "art_clip";
rel2.to: "art_clip";
image.normal: "win_shadow.png";
image.border: 14 14 14 14;
image.middle: 0;
rel1.offset: -7 -3;
rel2.offset: 6 11;
fill.smooth: 0;
}
}
part { name: "rage.art"; type: SWALLOW; mouse_events: 0;
clip_to: "art_clip";
description { state: "default" 0.0;
rel1.to: "art_clip";
rel2.to: "art_clip";
}
}
part { name: "art_glintclip"; type: RECT;
clip_to: "art_clip2";
description { state: "default" 0.0;
rel1.to: "art_clip2";
rel2.to: "art_clip2";
rel1.offset: 0 -10;
}
}
part { name: "artshine"; mouse_events: 0;
clip_to: "art_clip2";
description { state: "default" 0.0;
image.normal: "bg_shine.png";
fill.smooth: 0;
rel1.to: "art_clip2";
rel2.to: "art_clip2";
align: 0.5 0.0;
aspect: (255/120) (255/120);
aspect_preference: HORIZONTAL;
}
}
part { name: "artglint"; mouse_events: 0;
clip_to: "art_glintclip";
description { state: "default" 0.0;
fixed: 1 1;
min: 79 5;
max: 79 5;
rel1 {
relative: 0.0 0.0;
offset: 0 0;
to: "art_clip2";
}
rel2 {
relative: 1.0 0.0;
offset: -1 0;
to: "art_clip2";
}
image.normal: "bg_glint.png";
}
}
part { name: "art_bevel2"; mouse_events: 0;
clip_to: "art_clip2";
description { state: "default" 0.0;
image.normal: "bg_bevel.png";
image.border: 1 1 1 1;
image.middle: 0;
fill.smooth: 0;
rel1.to: "art_clip2";
rel2.to: "art_clip2";
}
}
program {
signal: "action,newvid"; source: "rage";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.2;
target: "art_clip";
target: "art_clip2";
}
program {
signal: "state,noart"; source: "rage";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 1.0;
target: "art_clip";
target: "art_clip2";
}
program {
signal: "state,art"; source: "rage";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 1.0;
target: "art_clip";
target: "art_clip2";
}
2014-01-20 03:34:48 -08:00
part { name: "rage.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
part { name: "rage.list"; type: SWALLOW;
description { state: "default" 0.0;
align: 0.0 0.5;
rel1.relative: 1.0 0.0;
fixed: 1 1;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
align: 1.0 0.5;
visible: 1;
}
}
program {
signal: "list,state,visible"; source: "rage";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.3;
target: "rage.list";
}
program {
signal: "list,state,hidden"; source: "rage";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.5;
target: "rage.list";
after: "list_hidden";
}
program { name: "list_hidden";
action: SIGNAL_EMIT "list,state,hidden,finished" "rage";
}
2014-01-20 03:34:48 -08:00
part { name: "poscover"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "vgrad_shadow_bi.png";
rel1.relative: 0.0 1.0;
visible: 0;
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
min: 0 240;
}
}
part { name: "mute"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "rage.vol.swallow";
rel1.relative: 1.0 0.0;
rel1.offset: 5 5;
rel2.to_x: "rage.vol.swallow";
rel2.relative: 1.0 0.0;
rel2.offset: 5 5;
align: 0.0 0.0;
image.normal: "icon_mute.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
#define STATE_FADE_PROG(_name) \
program { \
signal: "action,"_name; source: "rage"; \
action: STATE_SET "visible" 0.0; \
transition: SINUSOIDAL 0.2 CURRENT; \
target: _name; \
after: _name"2"; \
} \
program { name: _name"2"; \
action: STATE_SET "default" 0.0; \
in: 1.0 0.0; \
transition: SINUSOIDAL 1.0 CURRENT; \
target: _name""; \
}
STATE_FADE_PROG("mute")
part { name: "unmute"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "rage.vol.swallow";
rel1.relative: 1.0 0.0;
rel1.offset: 5 5;
rel2.to_x: "rage.vol.swallow";
rel2.relative: 1.0 0.0;
rel2.offset: 5 5;
align: 0.0 0.0;
image.normal: "icon_volume.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("unmute")
part { name: "loop"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: 5 5;
rel1.to_x: "mute";
rel2.relative: 1.0 0.0;
rel2.offset: 5 5;
rel2.to_x: "mute";
align: 0.0 0.0;
image.normal: "icon_refresh.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("loop")
part { name: "sequential"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: 5 5;
rel1.to_x: "mute";
rel2.relative: 1.0 0.0;
rel2.offset: 5 5;
rel2.to_x: "mute";
align: 0.0 0.0;
image.normal: "icon_arrow_right.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("sequential")
part { name: "play"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "rage.options.swallow";
rel1.relative: 0.0 0.0;
rel1.offset: -6 5;
rel2.to_x: "rage.options.swallow";
rel2.relative: 0.0 0.0;
rel2.offset: -6 5;
align: 1.0 0.0;
image.normal: "icon_play.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("play")
part { name: "pause"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "rage.options.swallow";
rel1.relative: 0.0 0.0;
rel1.offset: -6 5;
rel2.to_x: "rage.options.swallow";
rel2.relative: 0.0 0.0;
rel2.offset: -6 5;
align: 1.0 0.0;
image.normal: "icon_pause.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("pause")
part { name: "stop"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: -6 5;
rel2.relative: 1.0 0.0;
rel2.offset: -6 5;
align: 1.0 0.0;
image.normal: "icon_stop.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("stop")
part { name: "eject"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.0;
rel1.offset: -6 5;
rel1.to_x: "play";
rel2.relative: 0.0 0.0;
rel2.offset: -6 5;
rel2.to_x: "play";
align: 1.0 0.0;
image.normal: "icon_eject.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("eject")
part { name: "forward"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.5;
rel1.offset: -6 0;
rel2.relative: 1.0 0.5;
rel2.offset: -6 -1;
align: 1.0 0.5;
image.normal: "icon_forward.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("forward")
part { name: "next"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.5;
rel1.offset: -6 0;
rel2.relative: 1.0 0.5;
rel2.offset: -6 -1;
align: 1.0 0.5;
image.normal: "icon_next.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("next")
part { name: "rewind"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.5;
rel1.offset: 5 0;
rel2.relative: 0.0 0.5;
rel2.offset: 5 -1;
align: 0.0 0.5;
image.normal: "icon_rewind.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("rewind")
part { name: "prev"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.5;
rel1.offset: 5 0;
rel2.relative: 0.0 0.5;
rel2.offset: 5 -1;
align: 0.0 0.5;
image.normal: "icon_prev.png";
min: 20 20; max: 20 20;
aspect: 1.0 1.0; aspect_preference: BOTH;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
STATE_FADE_PROG("prev")
part { name: "posclip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
part { name: "bar_bg"; type: SPACER;
description { state: "default" 0.0;
fixed: 1 1;
rel1.offset: 0 -1;
rel1.relative: 0.0 1.0;
2014-01-20 03:34:48 -08:00
min: 1 1;
}
}
part { name: "rage.dragable.pos"; type: RECT; mouse_events: 0;
clip_to: "posclip";
dragable.x: 1 1 0;
dragable.y: 0 0 0;
dragable.confine: "bar_bg";
description { state: "default" 0.0;
min: 1 1;
max: 1 1;
rel1.relative: 0.5 0.0;
rel1.to_x: "bar_bg";
rel2.relative: 0.5 1.0;
rel2.to_x: "bar_bg";
color: 0 0 255 128;
fixed: 1 1;
}
}
part { name: "bar"; mouse_events: 0;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "horizontal_separated_bar_small_glow.png";
image.border: 4 4 4 44;
rel1.offset: -3 -7;
rel1.relative: 0.0 1.0;
rel1.to_x: "bar_bg";
rel2.offset: 2 2;
rel2.to_x: "rage.dragable.pos";
min: 8 0;
fill.smooth: 0;
}
}
part { name: "pos"; mouse_events: 0;
scale: 1;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "pos_indicator";
min: 15 13;
max: 15 13;
rel1.to: "rage.dragable.pos";
rel2.to: "rage.dragable.pos";
align: 0.5 0.815;
}
}
part { name: "rage.pos.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.dragable.pos";
rel2.to: "rage.dragable.pos";
align: 0.5 1.0;
min: 20 20;
}
}
part { name: "posevent"; type: RECT;
clip_to: "posclip";
scale: 1;
ignore_flags: ON_HOLD;
dragable.events: "rage.dragable.pos";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.pos.swallow";
rel2.to: "rage.pos.swallow";
color: 0 0 0 0;
min: 24 24;
align: 0.5 1.0;
}
}
part { name: "rage.vol.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.0;
rel1.offset: 5 5;
rel2.relative: 0.0 0.0;
rel2.offset: 5 5;
min: 20 20;
align: 0.0 0.0;
}
}
part { name: "rage.options.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.0;
rel1.offset: -6 0;
rel1.to: "rage.win.fullscreen";
rel2.relative: 0.0 1.0;
rel2.offset: -6 -1;
rel2.to: "rage.win.fullscreen";
min: 20 20;
align: 1.0 0.0;
}
}
part { name: "rage.win.fullscreen"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.0;
rel1.offset: -6 0;
rel1.to: "rage.win.close";
rel2.relative: 0.0 1.0;
rel2.offset: -6 -1;
rel2.to: "rage.win.close";
min: 20 20;
align: 1.0 0.0;
}
}
part { name: "rage.win.close"; type: SWALLOW;
2014-01-20 03:34:48 -08:00
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: 0 5;
rel2.relative: 1.0 0.0;
rel2.offset: 0 5;
min: 20 20;
align: 0.0 0.0;
}
description { state: "fullscreen" 0.0;
2014-01-20 03:34:48 -08:00
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.offset: -6 5;
rel2.relative: 1.0 0.0;
rel2.offset: -6 5;
min: 20 20;
align: 1.0 0.0;
}
}
part { name: "rage.pos.prev.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 0.0 0.0;
rel1.to_y: "dragover_event";
rel2.relative: 0.0 0.0;
rel2.to_y: "dragover_event";
2014-01-20 03:34:48 -08:00
min: 20 20;
align: 0.0 1.0;
}
}
part { name: "rage.pos.play.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.to_x: "rage.pos.prev.swallow";
rel1.to_y: "dragover_event";
rel1.relative: 1.0 0.0;
2014-01-20 03:34:48 -08:00
rel2.to_x: "rage.pos.prev.swallow";
rel2.to_y: "dragover_event";
rel2.relative: 1.0 0.0;
2014-01-20 03:34:48 -08:00
min: 20 20;
align: 0.0 1.0;
}
}
part { name: "rage.pos.next.swallow"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
rel1.relative: 1.0 0.0;
rel1.to_y: "dragover_event";
rel2.relative: 1.0 0.0;
rel2.to_y: "dragover_event";
2014-01-20 03:34:48 -08:00
min: 20 20;
align: 1.0 1.0;
}
}
part { name: "vol";
scale: 1;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.vol.swallow";
rel2.to: "rage.vol.swallow";
image.normal: "icon_volume.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_volume2.png";
}
}
part { name: "volev"; type: RECT;
description { state: "default" 0.0;
rel1.to: "rage.vol.swallow";
rel2.to: "rage.vol.swallow";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "volev";
action: STATE_SET "active" 0.0;
target: "vol";
}
program {
signal: "mouse,up,1"; source: "volev";
action: STATE_SET "default" 0.0;
target: "vol";
}
part { name: "close";
scale: 1;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.win.close";
rel2.to: "rage.win.close";
image.normal: "icon_close.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_close2.png";
}
}
part { name: "closeev"; type: RECT;
description { state: "default" 0.0;
rel1.to: "rage.win.close";
rel2.to: "rage.win.close";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "closeev";
action: STATE_SET "active" 0.0;
target: "close";
}
program {
signal: "mouse,up,1"; source: "closeev";
action: STATE_SET "default" 0.0;
target: "close";
}
part { name: "fullscreenclip"; type: RECT;
clip_to: "posclip";
description { state: "default" 0.0;
rel1.to: "fullscreen";
rel2.to: "fullscreen";
visible: 1;
}
description { state: "fullscreen" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "unfullscreenclip"; type: RECT;
clip_to: "posclip";
description { state: "default" 0.0;
rel1.to: "unfullscreen";
rel2.to: "unfullscreen";
visible: 0;
}
description { state: "fullscreen" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
program {
signal: "state,win,fullscreen"; source: "rage";
action: STATE_SET "fullscreen" 0.0;
target: "fullscreenclip";
target: "unfullscreenclip";
target: "rage.win.close";
}
program {
signal: "state,win,normal"; source: "rage";
action: STATE_SET "default" 0.0;
target: "fullscreenclip";
target: "unfullscreenclip";
target: "rage.win.close";
}
part { name: "fullscreen";
scale: 1;
clip_to: "fullscreenclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.win.fullscreen";
rel2.to: "rage.win.fullscreen";
image.normal: "icon_fullscreen.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_fullscreen2.png";
}
}
part { name: "fullscreenev"; type: RECT;
clip_to: "fullscreenclip";
description { state: "default" 0.0;
rel1.to: "rage.win.fullscreen";
rel2.to: "rage.win.fullscreen";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "fullscreenev";
action: STATE_SET "active" 0.0;
target: "fullscreen";
}
program {
signal: "mouse,up,1"; source: "fullscreenev";
action: STATE_SET "default" 0.0;
target: "fullscreen";
}
part { name: "unfullscreen";
scale: 1;
clip_to: "unfullscreenclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.win.fullscreen";
rel2.to: "rage.win.fullscreen";
image.normal: "icon_unfullscreen.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_unfullscreen2.png";
}
}
part { name: "unfullscreenev"; type: RECT;
clip_to: "unfullscreenclip";
description { state: "default" 0.0;
rel1.to: "rage.win.fullscreen";
rel2.to: "rage.win.fullscreen";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "unfullscreenev";
action: STATE_SET "active" 0.0;
target: "unfullscreen";
}
program {
signal: "mouse,up,1"; source: "unfullscreenev";
action: STATE_SET "default" 0.0;
target: "unfullscreen";
}
2014-01-20 03:34:48 -08:00
part { name: "opt";
scale: 1;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.options.swallow";
rel2.to: "rage.options.swallow";
image.normal: "icon_spanner.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_spanner2.png";
}
}
part { name: "optev"; type: RECT;
description { state: "default" 0.0;
rel1.to: "rage.options.swallow";
rel2.to: "rage.options.swallow";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "optev";
action: STATE_SET "active" 0.0;
target: "opt";
}
program {
signal: "mouse,up,1"; source: "optev";
action: STATE_SET "default" 0.0;
target: "opt";
}
part { name: "pos_prev";
scale: 1;
clip_to: "posclip";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.pos.prev.swallow";
rel2.to: "rage.pos.prev.swallow";
image.normal: "icon_prev.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_prev2.png";
}
}
part { name: "pos_prevev"; type: RECT;
description { state: "default" 0.0;
rel1.to: "rage.pos.prev.swallow";
rel2.to: "rage.pos.prev.swallow";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "pos_prevev";
action: STATE_SET "active" 0.0;
target: "pos_prev";
}
program {
signal: "mouse,up,1"; source: "pos_prevev";
action: STATE_SET "default" 0.0;
target: "pos_prev";
}
part { name: "playpause"; type: RECT;
clip_to: "posclip";
description { state: "default" 0.0;
visible: 0;
}
description { state: "pause" 0.0;
visible: 1;
}
}
part { name: "pos_pause";
scale: 1;
clip_to: "playpause";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.pos.play.swallow";
rel2.to: "rage.pos.play.swallow";
image.normal: "icon_pause.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_pause2.png";
}
}
part { name: "pos_pauseev"; type: RECT;
clip_to: "playpause";
description { state: "default" 0.0;
rel1.to: "rage.pos.play.swallow";
rel2.to: "rage.pos.play.swallow";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "pos_pauseev";
action: STATE_SET "active" 0.0;
target: "pos_pause";
}
program {
signal: "mouse,up,1"; source: "pos_pauseev";
action: STATE_SET "default" 0.0;
target: "pos_pause";
}
part { name: "playpause2"; type: RECT;
clip_to: "posclip";
description { state: "default" 0.0;
visible: 1;
}
description { state: "pause" 0.0;
visible: 0;
}
}
part { name: "pos_play";
scale: 1;
clip_to: "playpause2";
description { state: "default" 0.0;
fixed: 1 1;
rel1.to: "rage.pos.play.swallow";
rel2.to: "rage.pos.play.swallow";
image.normal: "icon_play.png";
min: 20 20; max: 20 20;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
image.normal: "icon_play2.png";
}
}
part { name: "pos_playev"; type: RECT;
clip_to: "playpause2";
description { state: "default" 0.0;
rel1.to: "rage.pos.play.swallow";
rel2.to: "rage.pos.play.swallow";
color: 0 0 0 0;
}
}
program {
signal: "mouse,down,1"; source: "pos_playev";
action: STATE_SET "active" 0.0;
target: "pos_play";
}
program {
signal: "mouse,up,1"; source: "pos_playev";
action: STATE_SET "default" 0.0;
target: "pos_play";
}
program {
signal: "action,play"; source: "rage";
action: STATE_SET "default" 0.0;
target: "playpause";
target: "playpause2";
}
program {
signal: "action,pause"; source: "rage";
action: STATE_SET "pause" 0.0;