2014-01-20 03:34:48 -08:00
|
|
|
collections {
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
#define CTRLSIZE 26
|
2014-01-20 03:34:48 -08:00
|
|
|
group { name: "rage/core";
|
2015-11-21 05:48:25 -08:00
|
|
|
images.image: "vg1.png" COMP;
|
|
|
|
|
|
|
|
images.image: "shadow_circle_horiz.png" COMP;
|
|
|
|
images.image: "shadow_circle_vert.png" COMP;
|
|
|
|
|
2015-12-12 05:51:57 -08:00
|
|
|
images.image: "icon_exclamation.png" COMP;
|
2015-11-21 05:48:25 -08:00
|
|
|
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
2014-07-20 07:38:02 -07:00
|
|
|
images.image: "icon_fullscreen.png" COMP;
|
|
|
|
images.image: "icon_unfullscreen.png" COMP;
|
|
|
|
images.image: "icon_close.png" COMP;
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2014-08-04 01:15:30 -07:00
|
|
|
images.image: "win_shadow.png" COMP;
|
|
|
|
|
2014-02-22 06:52:13 -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;
|
2014-08-04 01:15:30 -07:00
|
|
|
public drag_is_down;
|
2014-08-11 06:07:57 -07:00
|
|
|
public novideo;
|
2017-08-05 07:09:32 -07:00
|
|
|
public browser;
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
public message(Msg_Type:type, id, ...) {
|
|
|
|
if ((type == MSG_FLOAT) && (id == 1)) { // volume 0.0->1.0
|
|
|
|
new Float:val = getfarg(2);
|
|
|
|
|
|
|
|
if (val < 0.0) val = 0.0;
|
|
|
|
else if (val > 1.0) val = 1.0;
|
|
|
|
custom_state(PART:"vol_indicator_fg", "default", 0.0);
|
|
|
|
set_state_val(PART:"vol_indicator_fg", STATE_REL2, val, 1.0);
|
|
|
|
set_state(PART:"vol_indicator_fg", "custom", 0.0);
|
|
|
|
}
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
public pos_timeout(val) {
|
|
|
|
set_int(pos_timer, 0);
|
2017-08-05 07:09:32 -07:00
|
|
|
if (get_int(pos_visible)) {
|
|
|
|
set_int(pos_visible, 0);
|
|
|
|
stop_program(PROGRAM:"poshide");
|
|
|
|
stop_program(PROGRAM:"posshow");
|
|
|
|
run_program(PROGRAM:"poshide");
|
|
|
|
stop_program(PROGRAM:"cbarhide");
|
2014-08-11 06:07:57 -07:00
|
|
|
stop_program(PROGRAM:"cbarshow");
|
|
|
|
run_program(PROGRAM:"cbarhide");
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2017-08-05 07:09:32 -07:00
|
|
|
public pos_show() {
|
|
|
|
if (!get_int(browser)) {
|
|
|
|
new t;
|
|
|
|
|
|
|
|
if (!get_int(pos_visible)) {
|
|
|
|
set_int(pos_visible, 1);
|
|
|
|
stop_program(PROGRAM:"poshide");
|
|
|
|
stop_program(PROGRAM:"posshow");
|
|
|
|
run_program(PROGRAM:"posshow");
|
|
|
|
stop_program(PROGRAM:"cbarhide");
|
|
|
|
stop_program(PROGRAM:"cbarshow");
|
|
|
|
run_program(PROGRAM:"cbarshow");
|
|
|
|
}
|
|
|
|
t = get_int(pos_timer);
|
|
|
|
if (t) cancel_timer(t);
|
2019-12-01 06:19:27 -08:00
|
|
|
t = timer(5.0, "pos_timeout", 1);
|
2017-08-05 07:09:32 -07:00
|
|
|
set_int(pos_timer, t);
|
|
|
|
}
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2014-01-20 03:34:48 -08:00
|
|
|
parts {
|
2014-08-11 06:07:57 -07:00
|
|
|
//// -- BACKGROUND
|
2015-11-21 05:48:25 -08:00
|
|
|
part { name: "bg"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 64 64 64 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "vg1"; mouse_events: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-04 16:11:06 -08:00
|
|
|
rel2.relative: 1.0 0.5;
|
2015-11-21 05:48:25 -08:00
|
|
|
image.normal: "vg1.png";
|
|
|
|
color: 64 64 64 255;
|
|
|
|
fill {
|
|
|
|
size.relative: 0.0 1.0;
|
|
|
|
size.offset: 256 0;
|
|
|
|
smooth: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
description { state: "focused" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 32 32 32 255;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,focused"; source: "rage";
|
2015-11-21 05:48:25 -08:00
|
|
|
action: STATE_SET "focused" 0.0;
|
|
|
|
target: "vg1";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,unfocused"; source: "rage";
|
2015-11-21 05:48:25 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "vg1";
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "shadow"; type: RECT;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "video" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "novideo" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2015-11-21 05:48:25 -08:00
|
|
|
part { name: "sh_t"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2015-11-21 05:48:25 -08:00
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
image.normal: "shadow_circle_horiz.png";
|
|
|
|
min: 0 32;
|
|
|
|
color: 255 255 255 128;
|
2020-04-03 11:03:20 -07:00
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sh_b"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2015-11-21 05:48:25 -08:00
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
image.normal: "shadow_circle_horiz.png";
|
|
|
|
min: 0 32;
|
|
|
|
color: 255 255 255 128;
|
2020-04-03 11:03:20 -07:00
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sh_l"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2015-11-21 05:48:25 -08:00
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
image.normal: "shadow_circle_vert.png";
|
|
|
|
min: 32 0;
|
|
|
|
color: 255 255 255 128;
|
2020-04-03 11:03:20 -07:00
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "sh_r"; nomouse;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "shadow";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2015-11-21 05:48:25 -08:00
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
image.normal: "shadow_circle_vert.png";
|
|
|
|
min: 32 0;
|
|
|
|
color: 255 255 255 128;
|
2020-04-03 11:03:20 -07:00
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,fullscreen"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.2;
|
|
|
|
target: "black";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,normal"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "black";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2014-01-20 03:34:48 -08:00
|
|
|
color: 0 0 0 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
visible: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
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: "exclam"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "novid_clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "base";
|
2014-01-20 03:34:48 -08:00
|
|
|
fixed: 1 1;
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_exclamation.png";
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,newvid"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "exclam";
|
|
|
|
target: "base";
|
|
|
|
after: "newvid2";
|
|
|
|
}
|
|
|
|
program { name: "newvid2";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
in: 2.0 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "exclam";
|
|
|
|
target: "base";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,frame"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "play" 0.0;
|
|
|
|
target: "exclam";
|
|
|
|
target: "base";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
part { name: "rage.content"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
2015-11-13 16:13:13 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "novideo" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "video" 0.0;
|
|
|
|
visible: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-15 05:27:23 -07:00
|
|
|
|
|
|
|
part { name: "controlbar_shadow_clip"; type: RECT;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "controlbar_clip";
|
2014-08-15 05:27:23 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "controlbar";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "controlbar_shadow"; mouse_events: 0;
|
2015-11-21 05:48:25 -08:00
|
|
|
scale: 1;
|
2014-08-15 05:27:23 -07:00
|
|
|
clip_to: "controlbar_shadow_clip";
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "controlbar";
|
2015-11-21 05:48:25 -08:00
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
image.normal: "shadow_circle_horiz.png";
|
|
|
|
min: 0 32;
|
|
|
|
color: 255 255 255 128;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-08-17 00:38:59 -07:00
|
|
|
part { name: "prefsize"; type: SPACER;
|
2014-08-17 00:41:59 -07:00
|
|
|
scale: 1;
|
2014-08-17 00:38:59 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel2.to: "controlbar";
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
}
|
|
|
|
description { state: "pref" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2020-04-03 11:03:20 -07:00
|
|
|
min: 290 238;
|
2014-08-17 00:38:59 -07:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "pref,size,on"; source: "rage";
|
2014-08-17 00:38:59 -07:00
|
|
|
action: STATE_SET "pref" 0.0;
|
|
|
|
target: "prefsize";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "pref,size,off"; source: "rage";
|
2014-08-17 00:38:59 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "prefsize";
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
part { name: "speaker_clip"; type: RECT;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
visible: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "novideo" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 1;
|
2014-08-04 01:34:45 -07:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "video" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
2014-08-04 01:34:45 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-15 02:00:55 -07:00
|
|
|
part { name: "art_clip"; type: RECT;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "speaker_clip";
|
2020-03-12 07:11:28 -07:00
|
|
|
scale: 1;
|
2014-08-05 02:57:26 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: -0.5 -0.5;
|
|
|
|
rel2.relative: 1.5 1.5;
|
2017-04-23 18:08:33 -07:00
|
|
|
aspect: 1.0 1.0; aspect_preference: NONE;
|
2020-04-03 11:03:20 -07:00
|
|
|
max: 580 580;
|
|
|
|
fixed: 1 1;
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
2014-08-05 02:57:26 -07:00
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
2020-04-03 11:03:20 -07:00
|
|
|
max: 290 290;
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-15 02:00:55 -07:00
|
|
|
part { name: "art_clip2"; type: RECT;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "art_clip";
|
2014-08-15 02:00:55 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
2020-03-12 07:11:28 -07:00
|
|
|
part { name: "art_clip3"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel2.relative: 1.0 1.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "artshadow"; mouse_events: 0;
|
|
|
|
clip_to: "art_clip3";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "art_clip";
|
|
|
|
color: 255 255 255 128;
|
|
|
|
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;
|
2020-04-03 11:03:20 -07:00
|
|
|
fixed: 1 1;
|
2020-03-12 07:11:28 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-15 02:00:55 -07:00
|
|
|
part { name: "rage.art"; type: SWALLOW; mouse_events: 0;
|
|
|
|
clip_to: "art_clip2";
|
2014-08-05 02:57:26 -07:00
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "art_clip";
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,novideo"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "novideo" 0.0;
|
|
|
|
target: "speaker_clip";
|
|
|
|
target: "shadow";
|
|
|
|
target: "statusloc";
|
2015-11-13 16:13:13 -08:00
|
|
|
target: "rage.content";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,default"; source: "rage";
|
2015-11-13 16:13:13 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "speaker_clip";
|
|
|
|
target: "shadow";
|
|
|
|
target: "statusloc";
|
|
|
|
target: "rage.content";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,video"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "video" 0.0;
|
|
|
|
target: "speaker_clip";
|
|
|
|
target: "shadow";
|
|
|
|
target: "statusloc";
|
2015-11-13 16:13:13 -08:00
|
|
|
target: "rage.content";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,novideo"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
script {
|
|
|
|
set_int(novideo, 1);
|
2017-08-05 07:09:32 -07:00
|
|
|
pos_show();
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,video"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
script {
|
|
|
|
set_int(novideo, 0);
|
2017-08-05 07:09:32 -07:00
|
|
|
pos_show();
|
2014-08-06 18:30:30 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2020-03-12 07:11:28 -07:00
|
|
|
program { signal: "state,novideo"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.2;
|
|
|
|
target: "art_clip";
|
|
|
|
target: "art_clip3";
|
|
|
|
}
|
|
|
|
program { signal: "state,default"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.2;
|
|
|
|
target: "art_clip";
|
|
|
|
target: "art_clip3";
|
|
|
|
}
|
|
|
|
program { signal: "state,video"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.2;
|
|
|
|
target: "art_clip";
|
|
|
|
target: "art_clip3";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,newvid"; source: "rage";
|
2014-08-05 02:57:26 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.2;
|
|
|
|
target: "art_clip";
|
2020-03-12 07:11:28 -07:00
|
|
|
target: "art_clip3";
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,noart"; source: "rage";
|
2014-08-05 02:57:26 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
2015-11-21 19:05:14 -08:00
|
|
|
transition: ACCELERATE 0.3;
|
2014-08-05 02:57:26 -07:00
|
|
|
target: "art_clip";
|
2020-03-12 07:11:28 -07:00
|
|
|
target: "art_clip3";
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,art"; source: "rage";
|
2014-08-05 02:57:26 -07:00
|
|
|
action: STATE_SET "visible" 0.0;
|
2015-11-21 19:05:14 -08:00
|
|
|
transition: DECELERATE 0.3;
|
2014-08-05 02:57:26 -07:00
|
|
|
target: "art_clip";
|
2020-03-12 07:11:28 -07:00
|
|
|
target: "art_clip3";
|
2014-08-05 02:57:26 -07:00
|
|
|
}
|
|
|
|
|
2015-11-21 19:52:41 -08:00
|
|
|
part { name: "rage.gesture"; type: SWALLOW;
|
2014-08-08 22:49:14 -07:00
|
|
|
description { state: "default" 0.0;
|
2015-11-21 19:52:41 -08:00
|
|
|
rel2.to_y: "controlbar";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2014-08-08 22:49:14 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-17 06:58:27 -08:00
|
|
|
part { name: "browser2"; type: SPACER;
|
|
|
|
scale: 1;
|
2015-10-10 00:51:49 -07:00
|
|
|
description { state: "default" 0.0;
|
2020-01-17 06:58:27 -08:00
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "fs" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-10-10 00:51:49 -07:00
|
|
|
rel1.offset: 40 0;
|
|
|
|
rel2.offset: -41 -1;
|
2020-02-04 04:29:32 -08:00
|
|
|
offscale;
|
2020-01-17 06:58:27 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.browser"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "browser2";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 2.0 1.0;
|
2015-10-10 00:51:49 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.relative: 0.0 0.0;
|
2020-01-17 06:58:27 -08:00
|
|
|
rel2.relative: 1.0 1.0;
|
2015-10-10 00:51:49 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "browser,state,visible"; source: "rage";
|
2015-10-10 00:51:49 -07:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.3;
|
|
|
|
target: "rage.browser";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "browser,state,visible"; source: "rage";
|
2017-08-05 07:09:32 -07:00
|
|
|
script {
|
|
|
|
set_int(browser, 1);
|
|
|
|
if (get_int(pos_visible)) {
|
|
|
|
new t = get_int(pos_timer);
|
|
|
|
if (t) cancel_timer(t);
|
|
|
|
pos_timeout(0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "browser,state,hidden"; source: "rage";
|
2015-10-10 00:51:49 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: ACCELERATE 0.5;
|
|
|
|
target: "rage.browser";
|
|
|
|
after: "browser_hidden";
|
|
|
|
}
|
|
|
|
program { name: "browser_hidden";
|
|
|
|
action: SIGNAL_EMIT "browser,state,hidden,finished" "rage";
|
2017-08-05 07:09:32 -07:00
|
|
|
after: "browser_hidden2";
|
|
|
|
}
|
|
|
|
program { name: "browser_hidden2";
|
|
|
|
script {
|
|
|
|
set_int(browser, 0);
|
|
|
|
pos_show();
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,fullscreen"; source: "rage";
|
2020-01-17 06:58:27 -08:00
|
|
|
action: STATE_SET "fs" 0.0;
|
|
|
|
target: "browser2";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,normal"; source: "rage";
|
2020-01-17 06:58:27 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "browser2";
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
|
2014-08-15 05:27:23 -07:00
|
|
|
part { name: "rage.list"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
align: 0.0 0.5;
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "controlbar";
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "list,state,visible"; source: "rage";
|
2014-08-15 05:27:23 -07:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: DECELERATE 0.3;
|
|
|
|
target: "rage.list";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "list,state,hidden"; source: "rage";
|
2014-08-15 05:27:23 -07:00
|
|
|
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-08-11 06:07:57 -07:00
|
|
|
part { name: "controlbar_clip"; type: RECT;
|
2014-02-15 21:33:14 -08:00
|
|
|
description { state: "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 255 255 255 255;
|
2014-02-15 21:33:14 -08:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 05:48:25 -08:00
|
|
|
part { name: "controlbar"; type: RECT; mouse_events: 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 64 64 64 128;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.to: "rage.pos.prev.swallow";
|
|
|
|
}
|
2014-08-15 05:27:23 -07:00
|
|
|
description { state: "novideo" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2017-04-23 18:08:33 -07:00
|
|
|
color: 64 64 64 0;
|
2020-02-28 12:48:25 -08:00
|
|
|
visible: 0;
|
2014-08-15 05:27:23 -07:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,novideo"; source: "rage";
|
2019-12-01 06:19:27 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2014-08-15 05:27:23 -07:00
|
|
|
target: "controlbar";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,video"; source: "rage";
|
2014-08-15 05:27:23 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "controlbar";
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
part { name: "posclip"; type: RECT;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
visible: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "bar_bg"; type: SPACER;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: 0 -1;
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
min: 1 1;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
part { name: "rage.dragable.pos"; type: RECT; mouse_events: 0;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
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 0 0;
|
|
|
|
fixed: 1 1;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2015-11-21 05:48:25 -08:00
|
|
|
part { name: "bar"; type: RECT; mouse_events: 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 51 153 255 255;
|
|
|
|
rel1.offset: 0 -5;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.to_x: "bar_bg";
|
|
|
|
rel2.to_x: "rage.dragable.pos";
|
2015-11-21 05:48:25 -08:00
|
|
|
min: 0 5;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
part { name: "rage.pos.swallow"; type: SWALLOW;
|
2014-01-20 03:34:48 -08:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.dragable.pos";
|
2014-08-11 06:07:57 -07:00
|
|
|
align: 0.5 1.0;
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "posevent"; type: RECT;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
scale: 1;
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
dragable.events: "rage.dragable.pos";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 0 0 0 0;
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
align: 0.5 1.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";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
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;
|
|
|
|
rel2.to_x: "rage.pos.prev.swallow";
|
|
|
|
rel2.to_y: "dragover_event";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
align: 0.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.pos.next.swallow"; type: SWALLOW;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to_x: "rage.pos.play.swallow";
|
|
|
|
rel1.to_y: "dragover_event";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.to_x: "rage.pos.play.swallow";
|
|
|
|
rel2.to_y: "dragover_event";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
align: 0.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.vol.swallow"; type: SWALLOW;
|
|
|
|
scale: 1;
|
2020-01-16 10:49:11 -08:00
|
|
|
clip_to: "controlbar_clip";
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to_y: "dragover_event";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "dragover_event";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2020-01-16 10:49:11 -08:00
|
|
|
min: (CTRLSIZE*4) CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
align: 1.0 1.0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pos_prev";
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.prev.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_prev.png";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pos_prevev"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.prev.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "pos_prevev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "pos_prev";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "pos_prevev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "pos_prev";
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "playpause"; type: RECT;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "pause" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "playpause2"; type: RECT;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "pause" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
part { name: "pos_pause"; scale: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "playpause";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.play.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_play.png";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pos_pauseev"; type: RECT;
|
|
|
|
clip_to: "playpause";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.play.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "pos_pauseev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "pos_pause";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "pos_pauseev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "pos_pause";
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
part { name: "pos_play"; scale: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "playpause2";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.play.swallow";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_pause.png";
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pos_playev"; type: RECT;
|
|
|
|
clip_to: "playpause2";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.play.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "pos_playev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "pos_play";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "pos_playev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "pos_play";
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,play"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "playpause";
|
|
|
|
target: "playpause2";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,pause"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "pause" 0.0;
|
|
|
|
target: "playpause";
|
|
|
|
target: "playpause2";
|
|
|
|
}
|
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
part { name: "pos_next"; scale: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.next.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_next.png";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "pos_nextev"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.pos.next.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "pos_nextev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "pos_next";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "pos_nextev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "pos_next";
|
|
|
|
}
|
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
part { name: "volmuteb"; type: RECT;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "mute" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "volmuteb2"; type: RECT;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "controlbar_clip";
|
2020-01-16 10:49:11 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "mute" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,mute"; source: "rage";
|
2020-01-16 10:49:11 -08:00
|
|
|
action: STATE_SET "mute" 0.0;
|
|
|
|
target: "volmuteb";
|
|
|
|
target: "volmuteb2";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,unmute"; source: "rage";
|
2020-01-16 10:49:11 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "volmuteb";
|
|
|
|
target: "volmuteb2";
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "vol"; scale: 1;
|
|
|
|
clip_to: "volmuteb";
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.vol.swallow";
|
2020-01-16 10:49:11 -08:00
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
align: 1.0 0.5;
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_volume.png";
|
2020-01-16 10:49:11 -08:00
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
part { name: "vol2"; scale: 1;
|
|
|
|
clip_to: "volmuteb2";
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "default" 0.0;
|
2020-01-16 10:49:11 -08:00
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.vol.swallow";
|
2020-01-16 10:49:11 -08:00
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
image.normal: "icon_mute.png";
|
|
|
|
min: CTRLSIZE CTRLSIZE; max: CTRLSIZE CTRLSIZE;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 160 160 160 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "volev"; type: RECT;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "vol";
|
|
|
|
color: 0 0 0 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "volev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "vol";
|
2020-01-16 10:49:11 -08:00
|
|
|
target: "vol2";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "volev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "vol";
|
2020-01-16 10:49:11 -08:00
|
|
|
target: "vol2";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "volev";
|
2020-01-16 10:49:11 -08:00
|
|
|
action: SIGNAL_EMIT "pos,action,vol" "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "optev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "pos,action,options" "rage";
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "fullscreenev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "win,fullscreen" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "unfullscreenev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "win,unfullscreen" "rage";
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "closeev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "win,close" "rage";
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "pos_prevev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "pos,action,prev" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "pos_nextev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "pos,action,next" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "pos_playev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "pos,action,pause" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "pos_pauseev";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: SIGNAL_EMIT "pos,action,play" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "rage.pos"; type: TEXT; mouse_events: 0;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-01-16 12:14:24 -08:00
|
|
|
rel1.to: "pos_next";
|
|
|
|
rel1.relative: 1.0 0.0;
|
|
|
|
rel1.offset: 4 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.to: "slash";
|
|
|
|
rel2.relative: 0.0 1.0;
|
2015-11-21 19:05:14 -08:00
|
|
|
rel2.offset: -5 -1;
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 255 255 255 255;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 1 1;
|
|
|
|
elipsis: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "slash"; type: TEXT; mouse_events: 0;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to: "rage.length";
|
|
|
|
rel1.relative: 0.0 0.0;
|
2015-11-21 19:05:14 -08:00
|
|
|
rel1.offset: -5 0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.to: "rage.length";
|
|
|
|
rel2.relative: 0.0 1.0;
|
2015-11-21 19:05:14 -08:00
|
|
|
rel2.offset: -5 -1;
|
2014-08-11 06:07:57 -07:00
|
|
|
color: 255 255 255 255;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 1 1;
|
|
|
|
text: "/";
|
|
|
|
elipsis: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.length"; type: TEXT; mouse_events: 0;
|
|
|
|
clip_to: "controlbar_clip";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.to_y: "pos_next";
|
2020-01-16 12:14:24 -08:00
|
|
|
rel1.to_x: "vol";
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.0 0.0;
|
|
|
|
rel1.offset: -1 0;
|
|
|
|
rel2.to_y: "pos_next";
|
2020-01-16 12:14:24 -08:00
|
|
|
rel2.to_x: "vol";
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: -1 -1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 1.0 0.5;
|
|
|
|
min: 1 1;
|
|
|
|
elipsis: -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-16 10:49:11 -08:00
|
|
|
#define STATE_FADE_PROG(_name, _part) \
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,"_name; source: "rage"; \
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "visible" 0.0; \
|
|
|
|
transition: SINUSOIDAL 0.2 CURRENT; \
|
2020-01-16 10:49:11 -08:00
|
|
|
target: _part; \
|
2014-08-11 06:07:57 -07:00
|
|
|
after: _name"2"; \
|
|
|
|
} \
|
|
|
|
program { name: _name"2"; \
|
|
|
|
action: STATE_SET "default" 0.0; \
|
|
|
|
in: 1.0 0.0; \
|
|
|
|
transition: SINUSOIDAL 1.0 CURRENT; \
|
2020-01-16 10:49:11 -08:00
|
|
|
target: _part; \
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
part { name: "mute"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.offset: 0 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
align: 0.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("mute", "mute")
|
|
|
|
part { name: "vol_indicator_bg"; type: RECT; mouse_events: 0;
|
|
|
|
clip_to: "vol_indicator";
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "mute";
|
2020-01-16 10:49:11 -08:00
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
rel1.offset: 0 4;
|
|
|
|
rel2.relative: 0.0 1.0;
|
|
|
|
rel2.offset: 0 4;
|
|
|
|
align: 0.0 0.0;
|
|
|
|
min: 40 5; max: 40 5;
|
|
|
|
color: 255 255 255 128;
|
|
|
|
offscale;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "vol_indicator_fg"; type: RECT; mouse_events: 0;
|
|
|
|
clip_to: "vol_indicator";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel.to: "vol_indicator_bg";
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "vol_indicator"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
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("volume_up", "vol_indicator")
|
|
|
|
STATE_FADE_PROG("volume_down", "vol_indicator")
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "unmute"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel2.relative: 0.0 0.0;
|
|
|
|
rel2.offset: 0 0;
|
|
|
|
align: 0.0 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_volume.png";
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("unmute", "unmute")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "loop"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: 0 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
rel1.to_x: "mute";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: 0 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("loop", "loop")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "sequential"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: 0 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
rel1.to_x: "mute";
|
|
|
|
rel2.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: 0 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("sequential", "sequential")
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
part { name: "statusloc"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.content";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
2017-07-16 23:44:45 -07:00
|
|
|
description { state: "video" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "novideo" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.art";
|
2014-08-11 06:07:57 -07:00
|
|
|
}
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "play"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_play.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("play", "play")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "pause"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_pause.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("pause", "pause")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "stop"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2014-01-20 03:34:48 -08:00
|
|
|
image.normal: "icon_stop.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("stop", "stop")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "eject"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2014-01-20 03:34:48 -08:00
|
|
|
image.normal: "icon_eject.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("eject", "eject")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "forward"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2014-01-20 03:34:48 -08:00
|
|
|
image.normal: "icon_forward.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("forward", "forward")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "next"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_next.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("next", "next")
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "rewind"; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2014-01-20 03:34:48 -08:00
|
|
|
image.normal: "icon_rewind.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
2014-01-20 03:34:48 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("rewind", "rewind")
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "prev"; mouse_events: 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.relative: 0.5 0.5;
|
|
|
|
rel2.relative: 0.5 0.5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "statusloc";
|
2015-12-12 05:51:57 -08:00
|
|
|
image.normal: "icon_prev.png";
|
2014-08-11 06:07:57 -07:00
|
|
|
min: 40 40; max: 40 40;
|
|
|
|
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;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2020-01-16 10:49:11 -08:00
|
|
|
STATE_FADE_PROG("prev", "prev")
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "rage.options.swallow"; type: SWALLOW;
|
2014-07-20 07:38:02 -07:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 0.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: -1 0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.fullscreen";
|
2014-07-20 07:38:02 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: -1 -1;
|
2014-07-20 07:38:02 -07:00
|
|
|
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;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: -1 0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.close";
|
2014-07-20 07:38:02 -07:00
|
|
|
rel2.relative: 0.0 1.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: -1 -1;
|
2014-07-20 07:38:02 -07:00
|
|
|
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;
|
2014-07-20 07:38:02 -07:00
|
|
|
fixed: 1 1;
|
|
|
|
rel1.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: 0 0;
|
2014-07-20 07:38:02 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: 0 0;
|
2014-07-20 07:38:02 -07:00
|
|
|
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;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel1.offset: -1 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
rel2.relative: 1.0 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
rel2.offset: -1 0;
|
2014-01-20 03:34:48 -08:00
|
|
|
min: 20 20;
|
|
|
|
align: 1.0 0.0;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 05:48:25 -08:00
|
|
|
|
2014-07-20 07:38:02 -07:00
|
|
|
part { name: "close";
|
|
|
|
scale: 1;
|
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.close";
|
2014-07-20 07:38:02 -07:00
|
|
|
image.normal: "icon_close.png";
|
|
|
|
min: 20 20; max: 20 20;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-07-20 07:38:02 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "closeev"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.close";
|
2014-07-20 07:38:02 -07:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "closeev";
|
2014-07-20 07:38:02 -07:00
|
|
|
action: STATE_SET "active" 0.0;
|
|
|
|
target: "close";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "closeev";
|
2014-07-20 07:38:02 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "close";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2014-07-20 07:38:02 -07:00
|
|
|
part { name: "fullscreenclip"; type: RECT;
|
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "fullscreen";
|
2014-07-20 07:38:02 -07:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "fullscreen" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
inherit: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "unfullscreenclip"; type: RECT;
|
2014-01-20 03:34:48 -08:00
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "unfullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
description { state: "fullscreen" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2014-01-20 03:34:48 -08:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,fullscreen"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "fullscreen" 0.0;
|
|
|
|
target: "fullscreenclip";
|
|
|
|
target: "unfullscreenclip";
|
|
|
|
target: "rage.win.close";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,win,normal"; source: "rage";
|
2014-08-11 06:07:57 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "fullscreenclip";
|
|
|
|
target: "unfullscreenclip";
|
|
|
|
target: "rage.win.close";
|
|
|
|
}
|
|
|
|
part { name: "fullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
scale: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "fullscreenclip";
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.fullscreen";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_fullscreen.png";
|
2014-01-20 03:34:48 -08:00
|
|
|
min: 20 20; max: 20 20;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "fullscreenev"; type: RECT;
|
|
|
|
clip_to: "fullscreenclip";
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.fullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "fullscreenev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "active" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "fullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "fullscreenev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "fullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "unfullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
scale: 1;
|
2014-08-11 06:07:57 -07:00
|
|
|
clip_to: "unfullscreenclip";
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.fullscreen";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_unfullscreen.png";
|
2014-01-20 03:34:48 -08:00
|
|
|
min: 20 20; max: 20 20;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "unfullscreenev"; type: RECT;
|
|
|
|
clip_to: "unfullscreenclip";
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.win.fullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "unfullscreenev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "active" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "unfullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "unfullscreenev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "unfullscreen";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "opt";
|
2014-01-20 03:34:48 -08:00
|
|
|
scale: 1;
|
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.options.swallow";
|
2014-08-11 06:07:57 -07:00
|
|
|
image.normal: "icon_spanner.png";
|
2014-01-20 03:34:48 -08:00
|
|
|
min: 20 20; max: 20 20;
|
|
|
|
}
|
|
|
|
description { state: "active" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 160 160 160 255;
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
part { name: "optev"; type: RECT;
|
2014-01-20 03:34:48 -08:00
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.options.swallow";
|
2014-01-20 03:34:48 -08:00
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "optev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "active" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "opt";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "optev";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
2014-08-11 06:07:57 -07:00
|
|
|
target: "opt";
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
|
2014-08-04 01:15:30 -07:00
|
|
|
part { name: "dragover_master"; type: RECT;
|
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
description { state: "novideo" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,novideo"; source: "rage";
|
2014-08-04 01:15:30 -07:00
|
|
|
action: STATE_SET "novideo" 0.0;
|
|
|
|
target: "dragover_master";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "state,video"; source: "rage";
|
2014-08-04 01:15:30 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "dragover_master";
|
|
|
|
}
|
|
|
|
part { name: "dragover_active"; type: RECT;
|
|
|
|
clip_to: "dragover_master";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
color: 255 255 255 255;
|
2014-08-06 19:02:21 -07:00
|
|
|
visible: 1;
|
2014-08-04 01:15:30 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "dragover_event"; type: RECT; repeat_events: 1;
|
|
|
|
clip_to: "posclip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_x: "bar_bg";
|
|
|
|
rel1.to_y: "posevent";
|
|
|
|
rel2.to_x: "bar_bg";
|
|
|
|
color: 0 0 0 0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,in"; source: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.5;
|
|
|
|
target: "dragover_active";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,out"; source: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "dragover_active";
|
|
|
|
}
|
|
|
|
part { name: "dragover"; type: SPACER;
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
rel1.relative: 0.5 0.0;
|
|
|
|
rel2.relative: 0.5 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "dragshadow"; mouse_events: 0;
|
|
|
|
clip_to: "dragover_active";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.dragable.content";
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 255 255 255 128;
|
2014-08-04 01:15:30 -07:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2015-11-21 05:48:25 -08:00
|
|
|
part { name: "dragover_fill"; type: RECT; mouse_events: 0;
|
2014-08-04 01:15:30 -07:00
|
|
|
clip_to: "dragover_active";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 32 32 32 255;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "rage.dragable.content";
|
2014-08-04 01:15:30 -07:00
|
|
|
}
|
|
|
|
}
|
2014-08-06 19:02:21 -07:00
|
|
|
part { name: "rage.dragable.content"; type: SWALLOW; mouse_events: 0;
|
2014-08-04 01:15:30 -07:00
|
|
|
clip_to: "dragover_active";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "dragover";
|
2014-08-04 01:15:30 -07:00
|
|
|
align: 0.5 1.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,move"; source: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
script {
|
|
|
|
new mx, my, x, y, w, h;
|
|
|
|
new Float:pos, Float:px, Float:pw;
|
|
|
|
|
|
|
|
get_mouse(mx, my);
|
|
|
|
get_geometry(PART:"dragover_event", x, y, w, h);
|
|
|
|
x = mx - x;
|
|
|
|
y = my - y;
|
|
|
|
px = x;
|
|
|
|
pw = w;
|
|
|
|
if (w > 0) pos = px / pw;
|
|
|
|
else pos = 0.5;
|
|
|
|
custom_state(PART:"dragover", "default", 0.0);
|
|
|
|
set_state_val(PART:"dragover", STATE_REL1, pos, 0.0);
|
|
|
|
set_state_val(PART:"dragover", STATE_REL2, pos, 0.0);
|
|
|
|
set_state(PART:"dragover", "custom", 0.0);
|
|
|
|
send_message(MSG_FLOAT, 13, pos);
|
|
|
|
if (get_int(drag_is_down) == 1)
|
|
|
|
send_message(MSG_FLOAT, 10, pos);
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,down,1"; source: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
script {
|
|
|
|
new mx, my, x, y, w, h;
|
|
|
|
new Float:pos, Float:px, Float:pw;
|
|
|
|
|
|
|
|
set_int(drag_is_down, 1);
|
|
|
|
get_mouse(mx, my);
|
|
|
|
get_geometry(PART:"dragover_event", x, y, w, h);
|
|
|
|
x = mx - x;
|
|
|
|
y = my - y;
|
|
|
|
px = x;
|
|
|
|
pw = w;
|
|
|
|
if (w > 0) pos = px / pw;
|
|
|
|
else pos = 0.5;
|
|
|
|
custom_state(PART:"dragover", "default", 0.0);
|
|
|
|
set_state_val(PART:"dragover", STATE_REL1, pos, 0.0);
|
|
|
|
set_state_val(PART:"dragover", STATE_REL2, pos, 0.0);
|
|
|
|
set_state(PART:"dragover", "custom", 0.0);
|
|
|
|
send_message(MSG_FLOAT, 10, pos);
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,up,1"; source: "dragover_event";
|
2014-08-04 01:15:30 -07:00
|
|
|
script {
|
|
|
|
set_int(drag_is_down, 0);
|
|
|
|
}
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
part { name: "event"; type: RECT; repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,move"; source: "event";
|
|
|
|
// mouse moves around causing control bar to show until idle
|
2014-01-20 03:34:48 -08:00
|
|
|
script {
|
2017-08-05 07:09:32 -07:00
|
|
|
pos_show();
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
program { name: "posshow";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
2014-08-05 02:57:26 -07:00
|
|
|
transition: SINUSOIDAL 0.3;
|
2014-01-20 03:34:48 -08:00
|
|
|
target: "posclip";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
program { name: "cbarshow";
|
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.3;
|
|
|
|
target: "controlbar_clip";
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
program { name: "poshide";
|
|
|
|
action: STATE_SET "default" 0.0;
|
2014-08-05 02:57:26 -07:00
|
|
|
transition: SINUSOIDAL 1.0;
|
2014-01-20 03:34:48 -08:00
|
|
|
target: "posclip";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
program { name: "cbarhide";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "controlbar_clip";
|
|
|
|
}
|
|
|
|
|
2014-02-15 21:33:14 -08:00
|
|
|
part { name: "listevent"; type: RECT; repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
rel1.relative: 0.8 0.0;
|
2014-08-11 07:27:39 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
rel2.to_y: "controlbar";
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "listevent2"; type: RECT; repeat_events: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
2015-08-07 08:40:49 -07:00
|
|
|
rel2.relative: 0.8 1.0;
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,in"; source: "listevent";
|
2014-02-15 21:33:14 -08:00
|
|
|
action: SIGNAL_EMIT "list,show" "rage";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,in"; source: "listevent2";
|
2014-02-15 21:33:14 -08:00
|
|
|
action: SIGNAL_EMIT "list,hide" "rage";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,newvid"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,rewind"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,forward"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,next"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,prev"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,play"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "action,pause"; source: "rage";
|
2014-01-20 03:34:48 -08:00
|
|
|
action: SIGNAL_EMIT "mouse,move" "event";
|
|
|
|
}
|
2014-02-22 06:52:13 -08:00
|
|
|
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//// -- ABOUT IMAGE
|
2014-02-22 06:52:13 -08:00
|
|
|
part { name: "tv-bg";
|
|
|
|
clip_to: "tv-clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "tv";
|
2014-02-22 06:52:13 -08:00
|
|
|
rel1.relative: (40/256) (120/256);
|
|
|
|
rel2.relative: (174/256) (222/256);
|
|
|
|
image.normal: "tv-bg.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tv-anim";
|
|
|
|
clip_to: "tv-clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "tv-bg";
|
2014-02-22 06:52:13 -08:00
|
|
|
image.tween: "r-4.png";
|
|
|
|
image.tween: "r-3.png";
|
|
|
|
image.tween: "r-2.png";
|
|
|
|
image.tween: "r-1.png";
|
|
|
|
image.normal: "r-0.png";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "tv";
|
|
|
|
clip_to: "tv-clip";
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
aspect: 1.0 1.0; aspect_preference: BOTH;
|
|
|
|
max: 256 256;
|
|
|
|
image.normal: "tv-over.png";
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "tv";
|
2014-02-22 06:52:13 -08:00
|
|
|
action: SIGNAL_EMIT "about,hide" "rage";
|
|
|
|
}
|
|
|
|
part { name: "tv-clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
visible: 0;
|
|
|
|
color: 255 255 255 0;
|
|
|
|
}
|
|
|
|
description { state: "visible" 0.0;
|
|
|
|
visible: 1;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "about,show"; source: "rage";
|
2014-02-22 06:52:13 -08:00
|
|
|
action: STATE_SET "visible" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.5;
|
|
|
|
target: "tv-clip";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "about,hide"; source: "rage";
|
2014-02-22 06:52:13 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 1.0;
|
|
|
|
target: "tv-clip";
|
|
|
|
after: "tv-hide2";
|
|
|
|
}
|
|
|
|
program { name: "tv-hide2";
|
|
|
|
action: ACTION_STOP;
|
|
|
|
target: "tv-anim";
|
|
|
|
}
|
|
|
|
program { name: "tv-anim";
|
|
|
|
signal: "about,show"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: LINEAR 0.5;
|
|
|
|
target: "tv-anim";
|
|
|
|
after: "tv-anim";
|
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-15 21:33:14 -08:00
|
|
|
group { name: "rage/list/item";
|
|
|
|
images.image: "win_shadow.png" COMP;
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2014-02-15 21:33:14 -08:00
|
|
|
parts {
|
|
|
|
part { name: "shadow"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 255 255 255 128;
|
2014-02-15 21:33:14 -08:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
2015-12-12 05:51:57 -08:00
|
|
|
part { name: "glow"; type: RECT; mouse_events: 0;
|
2014-02-15 21:33:14 -08:00
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-12-12 05:51:57 -08:00
|
|
|
color: 51 153 255 0;
|
2014-02-15 21:33:14 -08:00
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-12-12 05:51:57 -08:00
|
|
|
rel1.offset: -4 -4;
|
|
|
|
rel2.offset: 3 3;
|
|
|
|
color: 51 153 255 255;
|
2014-02-15 21:33:14 -08:00
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "rage,state,selected"; source: "rage";
|
2014-02-15 21:33:14 -08:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.1;
|
|
|
|
target: "glow";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "rage,state,unselected"; source: "rage";
|
2014-02-15 21:33:14 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.3;
|
|
|
|
target: "glow";
|
|
|
|
}
|
2014-08-11 06:07:57 -07:00
|
|
|
|
2015-12-12 05:51:57 -08:00
|
|
|
part { name: "base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 32 32 32 255;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-12-12 05:51:57 -08:00
|
|
|
}
|
|
|
|
}
|
2014-02-15 21:33:14 -08:00
|
|
|
part { name: "clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.offset: 4 4;
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.sizer"; type: SWALLOW;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
min: 16 16;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.content"; type: SWALLOW;
|
|
|
|
clip_to: "clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.title"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
align: 0.0 1.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2014-02-15 21:33:14 -08:00
|
|
|
rel1.offset: 4 4;
|
|
|
|
rel2.offset: -5 -5;
|
|
|
|
color: 255 255 255 255;
|
|
|
|
text { font: "Sans"; size: 8;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
min: 0 1;
|
2014-05-18 00:04:40 -07:00
|
|
|
elipsis: 0;
|
2014-02-15 21:33:14 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "event"; type: RECT;
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "event";
|
2014-02-15 21:33:14 -08:00
|
|
|
action: SIGNAL_EMIT "rage,selected" "rage";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
group { name: "rage/browser/entry";
|
|
|
|
parts {
|
|
|
|
part { name: "rage.title"; type: TEXT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 0 1;
|
|
|
|
align: 0.0 0.0;
|
2020-01-17 06:58:27 -08:00
|
|
|
rel1.offset: 20 10;
|
|
|
|
rel2.offset: -21 10;
|
2015-10-10 00:51:49 -07:00
|
|
|
rel2.relative: 1.0 0.0;
|
|
|
|
color: 255 255 255 255;
|
2016-08-05 21:37:54 -07:00
|
|
|
text { font: "Sans:style=Bold"; size: 10;
|
2015-10-10 00:51:49 -07:00
|
|
|
align: 0.0 0.0;
|
|
|
|
min: 0 1;
|
|
|
|
elipsis: 0;
|
|
|
|
}
|
2020-01-17 06:58:27 -08:00
|
|
|
offscale;
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
2016-08-05 21:37:54 -07:00
|
|
|
description { state: "fullscreen" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2020-01-17 06:58:27 -08:00
|
|
|
rel1.offset: 40 40;
|
|
|
|
rel2.offset: -41 40;
|
2016-08-05 21:37:54 -07:00
|
|
|
text.size: 40;
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
part { name: "rage.content"; type: SWALLOW;
|
2020-01-17 06:58:27 -08:00
|
|
|
scale: 1;
|
2015-10-10 00:51:49 -07:00
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel1.to_y: "rage.title";
|
|
|
|
rel1.relative: 0.0 1.0;
|
2016-08-05 21:37:54 -07:00
|
|
|
rel1.offset: 0 10;
|
|
|
|
rel2.offset: -1 -1;
|
2020-01-17 06:58:27 -08:00
|
|
|
offscale;
|
2016-08-05 21:37:54 -07:00
|
|
|
}
|
|
|
|
description { state: "fullscreen" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
2015-10-10 00:51:49 -07:00
|
|
|
rel1.offset: 0 40;
|
2016-08-05 21:37:54 -07:00
|
|
|
rel2.offset: -1 -11;
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-05 21:37:54 -07:00
|
|
|
programs {
|
|
|
|
program { signal: "state,fullscreen"; source: "rage";
|
|
|
|
action: STATE_SET "fullscreen" 0.0;
|
|
|
|
target: "rage.title";
|
|
|
|
target: "rage.content";
|
|
|
|
}
|
|
|
|
program { signal: "state,normal"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "rage.title";
|
|
|
|
target: "rage.content";
|
|
|
|
}
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
group { name: "rage/browser/item";
|
|
|
|
images.image: "win_shadow.png" COMP;
|
2015-11-12 05:23:21 -08:00
|
|
|
images.image: "dimmer.png" COMP;
|
2015-10-10 00:51:49 -07:00
|
|
|
|
2015-11-13 16:13:13 -08:00
|
|
|
styles {
|
|
|
|
style { name: "browser_item_label";
|
2016-08-05 21:37:54 -07:00
|
|
|
base: "font=Sans font_size=10 color=#ffffffff wrap=mixed ellipsis=1.0";
|
|
|
|
}
|
|
|
|
style { name: "browser_item_label_fullscreen";
|
2015-11-13 16:13:13 -08:00
|
|
|
base: "font=Sans font_size=20 color=#ffffffff wrap=mixed ellipsis=1.0";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-10-10 00:51:49 -07:00
|
|
|
parts {
|
|
|
|
part { name: "shadow"; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-11-21 05:48:25 -08:00
|
|
|
color: 255 255 255 128;
|
2015-10-10 00:51:49 -07:00
|
|
|
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: "base"; type: RECT; mouse_events: 0;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 255;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
part { name: "clip"; type: RECT;
|
|
|
|
description { state: "default" 0.0;
|
2015-11-13 16:13:13 -08:00
|
|
|
color: 192 192 192 255;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
color: 255 255 255 255;
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
part { name: "rage.content"; type: SWALLOW;
|
|
|
|
clip_to: "clip";
|
|
|
|
description { state: "default" 0.0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-12 05:23:21 -08:00
|
|
|
part { name: "dimmer"; mouse_events: 0;
|
2015-10-10 00:51:49 -07:00
|
|
|
clip_to: "clip";
|
|
|
|
description { state: "default" 0.0;
|
2015-11-12 05:23:21 -08:00
|
|
|
image.normal: "dimmer.png";
|
2015-10-10 00:51:49 -07:00
|
|
|
fill.smooth: 0;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
|
|
|
}
|
2015-11-13 16:13:13 -08:00
|
|
|
part { name: "rage.title"; type: TEXTBLOCK; mouse_events: 0;
|
|
|
|
clip_to: "clip";
|
2015-10-10 00:51:49 -07:00
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
fixed: 1 1;
|
|
|
|
align: 0.0 1.0;
|
2020-01-17 06:58:27 -08:00
|
|
|
rel1.offset: 5 5;
|
2020-02-28 12:48:25 -08:00
|
|
|
rel.to: "clip";
|
2020-01-17 06:58:27 -08:00
|
|
|
rel2.offset: -6 -10;
|
2015-10-10 00:51:49 -07:00
|
|
|
color: 255 255 255 255;
|
2015-11-13 16:13:13 -08:00
|
|
|
text { font: "Sans"; size: 20;
|
|
|
|
style: "browser_item_label";
|
2015-10-10 00:51:49 -07:00
|
|
|
align: 0.0 1.0;
|
|
|
|
min: 0 1;
|
|
|
|
elipsis: 0;
|
|
|
|
}
|
2020-01-17 06:58:27 -08:00
|
|
|
offscale;
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
2016-08-05 21:37:54 -07:00
|
|
|
description { state: "fullscreen" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
rel1.offset: 8 8;
|
|
|
|
rel2.offset: -9 -9;
|
|
|
|
text.style: "browser_item_label_fullscreen";
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
2020-01-17 06:58:27 -08:00
|
|
|
part { name: "glow"; type: RECT; mouse_events: 0;
|
|
|
|
scale: 1;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
rel.to: "clip";
|
|
|
|
rel1.relative: 0.0 1.0;
|
|
|
|
align: 0.0 1.0;
|
|
|
|
color: 51 153 255 0;
|
|
|
|
visible: 0;
|
|
|
|
}
|
|
|
|
description { state: "selected" 0.0;
|
|
|
|
inherit: "default" 0.0;
|
|
|
|
min: 0 5;
|
|
|
|
color: 51 153 255 255;
|
|
|
|
visible: 1;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "rage,state,selected"; source: "rage";
|
2020-01-17 06:58:27 -08:00
|
|
|
action: STATE_SET "selected" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.1;
|
|
|
|
target: "glow";
|
|
|
|
target: "clip";
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "rage,state,unselected"; source: "rage";
|
2020-01-17 06:58:27 -08:00
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
transition: SINUSOIDAL 0.3;
|
|
|
|
target: "glow";
|
|
|
|
target: "clip";
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
part { name: "event"; type: RECT;
|
|
|
|
ignore_flags: ON_HOLD;
|
|
|
|
description { state: "default" 0.0;
|
|
|
|
color: 0 0 0 0;
|
|
|
|
}
|
|
|
|
}
|
2020-02-28 12:48:25 -08:00
|
|
|
program { signal: "mouse,clicked,1"; source: "event";
|
2015-10-10 00:51:49 -07:00
|
|
|
action: SIGNAL_EMIT "rage,selected" "rage";
|
|
|
|
}
|
|
|
|
}
|
2016-08-05 21:37:54 -07:00
|
|
|
programs {
|
|
|
|
program { signal: "state,fullscreen"; source: "rage";
|
|
|
|
action: STATE_SET "fullscreen" 0.0;
|
|
|
|
target: "rage.title";
|
|
|
|
}
|
|
|
|
program { signal: "state,normal"; source: "rage";
|
|
|
|
action: STATE_SET "default" 0.0;
|
|
|
|
target: "rage.title";
|
|
|
|
}
|
|
|
|
}
|
2015-10-10 00:51:49 -07:00
|
|
|
}
|
2014-01-20 03:34:48 -08:00
|
|
|
}
|