make ui even nicer... especially for music

v-0.4.0
Carsten Haitzler 8 years ago
parent b084603c7c
commit 47df468a46
  1. 1680
      data/themes/default.edc
  2. 17
      data/themes/images/Makefile.mk
  3. BIN
      data/themes/images/horizontal_separated_bar_small_glow.png
  4. BIN
      data/themes/images/icon_arrow_right.png
  5. BIN
      data/themes/images/icon_close.png
  6. BIN
      data/themes/images/icon_close2.png
  7. BIN
      data/themes/images/icon_eject.png
  8. BIN
      data/themes/images/icon_forward.png
  9. BIN
      data/themes/images/icon_fullscreen.png
  10. BIN
      data/themes/images/icon_fullscreen2.png
  11. BIN
      data/themes/images/icon_mute.png
  12. BIN
      data/themes/images/icon_next.png
  13. BIN
      data/themes/images/icon_next2.png
  14. BIN
      data/themes/images/icon_pause.png
  15. BIN
      data/themes/images/icon_pause2.png
  16. BIN
      data/themes/images/icon_play.png
  17. BIN
      data/themes/images/icon_play2.png
  18. BIN
      data/themes/images/icon_prev.png
  19. BIN
      data/themes/images/icon_prev2.png
  20. BIN
      data/themes/images/icon_refresh.png
  21. BIN
      data/themes/images/icon_rewind.png
  22. BIN
      data/themes/images/icon_spanner.png
  23. BIN
      data/themes/images/icon_spanner2.png
  24. BIN
      data/themes/images/icon_stop.png
  25. BIN
      data/themes/images/icon_unfullscreen.png
  26. BIN
      data/themes/images/icon_unfullscreen2.png
  27. BIN
      data/themes/images/icon_volume.png
  28. BIN
      data/themes/images/icon_volume2.png
  29. BIN
      data/themes/images/inset_round_hilight.png
  30. BIN
      data/themes/images/inset_round_shading.png
  31. BIN
      data/themes/images/inset_round_shadow.png
  32. BIN
      data/themes/images/pos_indicator.png
  33. BIN
      data/themes/images/pos_indicator_big.png
  34. BIN
      data/themes/images/posglow.png
  35. BIN
      data/themes/images/speaker-base.png
  36. BIN
      data/themes/images/speaker-bevel-hi.png
  37. BIN
      data/themes/images/speaker-bevel-lo.png
  38. BIN
      data/themes/images/speaker-over.png
  39. BIN
      data/themes/images/speaker-shadow.png
  40. BIN
      data/themes/images/speaker.png
  41. BIN
      data/themes/images/vgrad-dark-inv.png
  42. BIN
      data/themes/images/vgrad_shadow_bi.png
  43. BIN
      data/themes/orig/icons.svgz
  44. BIN
      data/themes/orig/musicmode.xcf.gz
  45. BIN
      data/themes/orig/next.xcf.gz
  46. BIN
      data/themes/orig/pause.xcf.gz
  47. BIN
      data/themes/orig/play.xcf.gz
  48. BIN
      data/themes/orig/prev.xcf.gz
  49. BIN
      data/themes/orig/vol.xcf.gz
  50. 4
      src/bin/controls.c
  51. 1
      src/bin/main.c
  52. 5
      src/bin/win.c
  53. 2
      src/bin/winvid.c

File diff suppressed because it is too large Load Diff

@ -4,7 +4,6 @@ data/themes/images/bg_bevel.png \
data/themes/images/bg_glint.png \
data/themes/images/bg_shine.png \
data/themes/images/glow_exclam.png \
data/themes/images/horizontal_separated_bar_small_glow.png \
data/themes/images/icon_arrow_right.png \
data/themes/images/icon_close2.png \
data/themes/images/icon_close.png \
@ -30,24 +29,24 @@ data/themes/images/icon_unfullscreen2.png \
data/themes/images/icon_unfullscreen.png \
data/themes/images/icon_volume2.png \
data/themes/images/icon_volume.png \
data/themes/images/inset_round_hilight.png \
data/themes/images/inset_round_shading.png \
data/themes/images/inset_round_shadow.png \
data/themes/images/pm_fill.png \
data/themes/images/pm_overlay.png \
data/themes/images/pm_shadow.png \
data/themes/images/pos_indicator_big.png \
data/themes/images/pos_indicator.png \
data/themes/images/r-0.png \
data/themes/images/r-1.png \
data/themes/images/r-2.png \
data/themes/images/r-3.png \
data/themes/images/r-4.png \
data/themes/images/speaker.png \
data/themes/images/tv-bg.png \
data/themes/images/tv-over.png \
data/themes/images/vgrad_shadow_bi.png \
data/themes/images/win_glow.png \
data/themes/images/win_shadow.png
data/themes/images/win_shadow.png \
data/themes/images/posglow.png \
data/themes/images/speaker-base.png \
data/themes/images/speaker-bevel-hi.png \
data/themes/images/speaker-bevel-lo.png \
data/themes/images/speaker-over.png \
data/themes/images/speaker-shadow.png \
data/themes/images/vgrad-dark-inv.png
EXTRA_DIST += $(THEME_IMGS)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 931 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 519 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -179,13 +179,13 @@ controls_update(Evas_Object *lay, Evas_Object *vid)
double p;
_time_print(video_position_get(vid), video_length_get(vid),
sizeof(buf), buf, EINA_TRUE);
sizeof(buf), buf, EINA_FALSE);
elm_object_part_text_set(lay, "rage.pos", buf);
_time_print(video_length_get(vid), video_length_get(vid),
sizeof(buf), buf, EINA_FALSE);
elm_object_part_text_set(lay, "rage.length", buf);
elm_layout_signal_emit(lay, "action,frame", "rage");
if (video_length_get(vid) > 0.0)
p = video_position_get(vid) / video_length_get(vid);
else p = 0.0;

@ -94,7 +94,6 @@ elm_main(int argc, char **argv)
if (argc <= 1)
{
elm_layout_signal_emit(inf->lay, "about,show", "rage");
elm_layout_signal_emit(inf->lay, "state,novideo", "rage");
evas_object_show(win);
}
else

@ -453,7 +453,10 @@ win_aspect_adjust(Evas_Object *win)
{
if ((!video_has_video_get(inf->vid)) &&
(video_has_audio_get(inf->vid)))
w = h = 160;
{
w = 160;
h = 200;
}
win_show(win, w, h);
}
}

@ -86,7 +86,7 @@ static void
_cb_play_finish(void *data, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
Inf *inf = evas_object_data_get(data, "inf");
if (!inf->playing) win_show(data, 160, 160);
if (!inf->playing) win_show(data, 160, 200);
inf->playing = EINA_FALSE;
}

Loading…
Cancel
Save