add about icon in place of options button for now.
|
@ -44,6 +44,14 @@ collections {
|
||||||
images.image: "icon_volume2.png" COMP;
|
images.image: "icon_volume2.png" COMP;
|
||||||
images.image: "icon_spanner2.png" COMP;
|
images.image: "icon_spanner2.png" COMP;
|
||||||
|
|
||||||
|
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;
|
||||||
|
|
||||||
script {
|
script {
|
||||||
public pos_visible;
|
public pos_visible;
|
||||||
public pos_timer;
|
public pos_timer;
|
||||||
|
@ -1138,6 +1146,75 @@ collections {
|
||||||
signal: "action,pause"; source: "rage";
|
signal: "action,pause"; source: "rage";
|
||||||
action: SIGNAL_EMIT "mouse,move" "event";
|
action: SIGNAL_EMIT "mouse,move" "event";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
part { name: "tv-bg";
|
||||||
|
clip_to: "tv-clip";
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1.to: "tv";
|
||||||
|
rel1.relative: (40/256) (120/256);
|
||||||
|
rel2.to: "tv";
|
||||||
|
rel2.relative: (174/256) (222/256);
|
||||||
|
image.normal: "tv-bg.png";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
part { name: "tv-anim";
|
||||||
|
clip_to: "tv-clip";
|
||||||
|
description { state: "default" 0.0;
|
||||||
|
rel1.to: "tv-bg";
|
||||||
|
rel2.to: "tv-bg";
|
||||||
|
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";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
signal: "mouse,clicked,1"; source: "tv";
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
signal: "about,show"; source: "rage";
|
||||||
|
action: STATE_SET "visible" 0.0;
|
||||||
|
transition: SINUSOIDAL 0.5;
|
||||||
|
target: "tv-clip";
|
||||||
|
}
|
||||||
|
program {
|
||||||
|
signal: "about,hide"; source: "rage";
|
||||||
|
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";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -32,4 +32,12 @@ bg_bevel.png \
|
||||||
win_glow.png \
|
win_glow.png \
|
||||||
win_shadow.png \
|
win_shadow.png \
|
||||||
bg_glint.png \
|
bg_glint.png \
|
||||||
bg_shine.png
|
bg_shine.png \
|
||||||
|
tv-bg.png \
|
||||||
|
tv-over.png \
|
||||||
|
r-0.png \
|
||||||
|
r-1.png \
|
||||||
|
r-2.png \
|
||||||
|
r-3.png \
|
||||||
|
r-4.png
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 47 KiB |
|
@ -43,7 +43,9 @@ _cb_pos_pause(void *data, Evas_Object *obj EINA_UNUSED, const char *emission EIN
|
||||||
static void
|
static void
|
||||||
_cb_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
_cb_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
|
||||||
{
|
{
|
||||||
// win_do_options(data);
|
Inf *inf = evas_object_data_get(data, "inf");
|
||||||
|
elm_layout_signal_emit(inf->lay, "about,show", "rage");
|
||||||
|
// win_do_options(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|