forked from enlightenment/terminology
First try of two knobs images (for volume and position), absolutely not happy with them.
also move 'programs' parts outside of 'parts'. They where there for error. SVN revision: 72777
This commit is contained in:
parent
304434ccf6
commit
bb11d9e336
|
@ -554,6 +554,8 @@ collections {
|
||||||
image: "media_stop.png" COMP;
|
image: "media_stop.png" COMP;
|
||||||
image: "media_pause.png" COMP;
|
image: "media_pause.png" COMP;
|
||||||
image: "media_line.png" COMP;
|
image: "media_line.png" COMP;
|
||||||
|
image: "media_knob_vol.png" COMP;
|
||||||
|
image: "media_knob_pos.png" COMP;
|
||||||
}
|
}
|
||||||
parts {
|
parts {
|
||||||
part { name: "media_clip"; type: RECT;
|
part { name: "media_clip"; type: RECT;
|
||||||
|
@ -610,15 +612,16 @@ collections {
|
||||||
clip_to: "media_clip";
|
clip_to: "media_clip";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "media_line.png";
|
image.normal: "media_line.png";
|
||||||
min: 90 10;
|
image.border: 15 15 0 0;
|
||||||
max: 90 10;
|
min: 90 14;
|
||||||
|
max: 90 14;
|
||||||
rel1.to: "stop";
|
rel1.to: "stop";
|
||||||
rel2.to: "stop";
|
rel2.to: "stop";
|
||||||
rel1.offset: 25 0;
|
rel1.offset: 25 0;
|
||||||
rel2.offset: 90 0;
|
rel2.offset: 90 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "terminology.posdrag"; type: RECT;
|
part { name: "terminology.posdrag";
|
||||||
mouse_events: 1;
|
mouse_events: 1;
|
||||||
repeat_events: 1;
|
repeat_events: 1;
|
||||||
clip_to: "media_clip";
|
clip_to: "media_clip";
|
||||||
|
@ -628,9 +631,9 @@ collections {
|
||||||
y: 0 0 0;
|
y: 0 0 0;
|
||||||
}
|
}
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color: 255 0 0 150;
|
image.normal: "media_knob_pos.png";
|
||||||
min: 10 10;
|
min: 14 14;
|
||||||
max: 10 10;
|
max: 14 14;
|
||||||
}
|
}
|
||||||
description { state: "muted" 0.0;
|
description { state: "muted" 0.0;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
|
@ -642,8 +645,9 @@ collections {
|
||||||
clip_to: "media_clip";
|
clip_to: "media_clip";
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
image.normal: "media_line.png";
|
image.normal: "media_line.png";
|
||||||
min: 60 10;
|
image.border: 15 15 0 0;
|
||||||
max: 60 10;
|
min: 60 14;
|
||||||
|
max: 60 14;
|
||||||
rel1.to: "posline";
|
rel1.to: "posline";
|
||||||
rel2.to: "posline";
|
rel2.to: "posline";
|
||||||
rel1.relative: 1.0 0.0;
|
rel1.relative: 1.0 0.0;
|
||||||
|
@ -652,7 +656,7 @@ collections {
|
||||||
rel2.offset: 60 0;
|
rel2.offset: 60 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
part { name: "terminology.voldrag"; type: RECT;
|
part { name: "terminology.voldrag"; type: IMAGE;
|
||||||
mouse_events: 1;
|
mouse_events: 1;
|
||||||
repeat_events: 1;
|
repeat_events: 1;
|
||||||
clip_to: "media_clip";
|
clip_to: "media_clip";
|
||||||
|
@ -662,73 +666,74 @@ collections {
|
||||||
y: 0 0 0;
|
y: 0 0 0;
|
||||||
}
|
}
|
||||||
description { state: "default" 0.0;
|
description { state: "default" 0.0;
|
||||||
color: 255 0 0 150;
|
image.normal: "media_knob_vol.png";
|
||||||
min: 10 10;
|
min: 14 14;
|
||||||
max: 10 10;
|
max: 14 14;
|
||||||
}
|
}
|
||||||
description { state: "muted" 0.0;
|
description { state: "muted" 0.0;
|
||||||
visible: 0;
|
visible: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
programs {
|
}
|
||||||
program { name: "media_mouse_in";
|
programs {
|
||||||
signal: "mouse,in";
|
program { name: "media_mouse_in";
|
||||||
source: "media_bg";
|
signal: "mouse,in";
|
||||||
action: STATE_SET "expanded" 0.0;
|
source: "media_bg";
|
||||||
transition: SINUSOIDAL 0.4 CURRENT;
|
action: STATE_SET "expanded" 0.0;
|
||||||
target: "media_bg";
|
transition: SINUSOIDAL 0.4 CURRENT;
|
||||||
}
|
target: "media_bg";
|
||||||
program { name: "media_mouse_out";
|
}
|
||||||
signal: "mouse,out";
|
program { name: "media_mouse_out";
|
||||||
source: "media_bg";
|
signal: "mouse,out";
|
||||||
action: STATE_SET "default" 0.0;
|
source: "media_bg";
|
||||||
transition: SINUSOIDAL 0.4 CURRENT;
|
action: STATE_SET "default" 0.0;
|
||||||
target: "media_bg";
|
transition: SINUSOIDAL 0.4 CURRENT;
|
||||||
}
|
target: "media_bg";
|
||||||
program { name: "media_pause_click";
|
}
|
||||||
signal: "mouse,up,*";
|
program { name: "media_pause_click";
|
||||||
source: "play";
|
signal: "mouse,up,*";
|
||||||
filter: "play" "default";
|
source: "play";
|
||||||
action: SIGNAL_EMIT "pause" "";
|
filter: "play" "default";
|
||||||
}
|
action: SIGNAL_EMIT "pause" "";
|
||||||
program { name: "media_play_click";
|
}
|
||||||
signal: "mouse,up,1";
|
program { name: "media_play_click";
|
||||||
source: "play";
|
signal: "mouse,up,1";
|
||||||
filter: "play" "paused";
|
source: "play";
|
||||||
action: SIGNAL_EMIT "play" "";
|
filter: "play" "paused";
|
||||||
}
|
action: SIGNAL_EMIT "play" "";
|
||||||
program { name: "media_stop_click";
|
}
|
||||||
signal: "mouse,up,1";
|
program { name: "media_stop_click";
|
||||||
source: "stop";
|
signal: "mouse,up,1";
|
||||||
action: SIGNAL_EMIT "stop" "";
|
source: "stop";
|
||||||
}
|
action: SIGNAL_EMIT "stop" "";
|
||||||
program { name: "media_signal_pause";
|
}
|
||||||
signal: "pause,set";
|
program { name: "media_signal_pause";
|
||||||
source: "terminology";
|
signal: "pause,set";
|
||||||
action: STATE_SET "paused" 0.0;
|
source: "terminology";
|
||||||
target: "play";
|
action: STATE_SET "paused" 0.0;
|
||||||
}
|
target: "play";
|
||||||
program { name: "media_signal_play";
|
}
|
||||||
signal: "play,set";
|
program { name: "media_signal_play";
|
||||||
source: "terminology";
|
signal: "play,set";
|
||||||
action: STATE_SET "default" 0.0;
|
source: "terminology";
|
||||||
target: "play";
|
action: STATE_SET "default" 0.0;
|
||||||
}
|
target: "play";
|
||||||
program { name: "media_signal_mute";
|
}
|
||||||
signal: "mute,set";
|
program { name: "media_signal_mute";
|
||||||
source: "terminology";
|
signal: "mute,set";
|
||||||
action: STATE_SET "muted" 0.0;
|
source: "terminology";
|
||||||
target: "terminology.voldrag";
|
action: STATE_SET "muted" 0.0;
|
||||||
}
|
target: "terminology.voldrag";
|
||||||
program { name: "media_signal_unmute";
|
}
|
||||||
signal: "mute,unset";
|
program { name: "media_signal_unmute";
|
||||||
source: "terminology";
|
signal: "mute,unset";
|
||||||
action: STATE_SET "default" 0.0;
|
source: "terminology";
|
||||||
target: "terminology.voldrag";
|
action: STATE_SET "default" 0.0;
|
||||||
}
|
target: "terminology.voldrag";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////
|
||||||
//// used in the font selection dialog to give a base for black text
|
//// used in the font selection dialog to give a base for black text
|
||||||
//// previews so they are always visible
|
//// previews so they are always visible
|
||||||
|
|
|
@ -16,4 +16,6 @@ media_bg.png \
|
||||||
media_line.png \
|
media_line.png \
|
||||||
media_pause.png \
|
media_pause.png \
|
||||||
media_play.png \
|
media_play.png \
|
||||||
media_stop.png
|
media_stop.png \
|
||||||
|
media_knob_pos.png \
|
||||||
|
media_knob_vol.png
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 796 B |
Binary file not shown.
After Width: | Height: | Size: 659 B |
Binary file not shown.
Before Width: | Height: | Size: 461 B After Width: | Height: | Size: 471 B |
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue