Expedite 0.7.0 now with a nicer look! Reworked graphics to bring it more in-line with EFL current look. Also added a logo.png file that can be easily changed without upsetting the start interface. If you use this version, you may experience different performance results in comparision to the older version so please consider this when using it for benchmarking.

SVN revision: 45237
expedite-1.1
toma 14 years ago committed by toma
parent 9469eef95c
commit 6687a465cf
  1. 5
      README
  2. 2
      configure.ac
  3. 3
      data/Makefile.am
  4. BIN
      data/bar.png
  5. BIN
      data/bg.png
  6. BIN
      data/bg2.png
  7. BIN
      data/e-logo.png
  8. BIN
      data/e.png
  9. BIN
      data/exit.png
  10. BIN
      data/frame.png
  11. BIN
      data/icon_sel.png
  12. BIN
      data/icon_sel2.png
  13. BIN
      data/logo.png
  14. BIN
      data/text_sel.png
  15. 2
      expedite.oe
  16. 2
      expedite.spec
  17. 2
      src/bin/image_blend_border.c
  18. 2
      src/bin/image_blend_solid_middle_border.c
  19. 60
      src/bin/ui.c

@ -1,3 +1,6 @@
Expedite 0.6.0
Expedite 0.7.0
This is meant to be a detailed and comprehensive benchmark suite for Evas.
The images can be interchanged for demonstration purposes. Logo.png should
have some areas of alpha to demonstrate transparency.

@ -3,7 +3,7 @@ dnl Process this file with autoconf to produce a configure script.
# get rid of that stupid cache mechanism
rm -f config.cache
AC_INIT([expedite], [0.6.0], [enlightenment-devel@lists.sourceforge.net])
AC_INIT([expedite], [0.7.0], [enlightenment-devel@lists.sourceforge.net])
AC_PREREQ([2.52])
AC_CONFIG_SRCDIR([configure.ac])
AC_CONFIG_HEADERS([config.h])

@ -14,8 +14,8 @@ VeraSe.ttf \
VeraSeBd.ttf \
fonts.alias \
fonts.dir \
bg.png \
logo.png \
e-logo.png \
e.png \
image.png \
bar.png \
@ -24,7 +24,6 @@ pan.png \
tp.png \
tp.yuv \
icon_sel.png \
icon_sel2.png \
text_sel.png \
exit.png \
watch.png \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 870 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 555 B

After

Width:  |  Height:  |  Size: 618 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

@ -4,7 +4,7 @@ MAINTAINER = "Carsten Haitzler (Rasterman) <raster@rasterman.com>"
SECTION = "e/test"
PRIORITY = "optional"
DEPENDS = "evas"
PV = "0.6.0"
PV = "0.7.0"
PR = "1"
do_prepsources () {

@ -1,5 +1,5 @@
# Note that this is NOT a relocatable package
%define ver 0.6.0
%define ver 0.7.0
%define rel 1
%define prefix /usr

@ -26,7 +26,7 @@ static void _setup(void)
o = evas_object_image_add(evas);
o_images[i] = o;
evas_object_image_file_set(o, build_path("bar.png"), NULL);
evas_object_image_border_set(o, 8, 8, 8, 8);
evas_object_image_border_set(o, 6, 6, 6, 6);
evas_object_show(o);
}
done = 0;

@ -26,7 +26,7 @@ static void _setup(void)
o = evas_object_image_add(evas);
o_images[i] = o;
evas_object_image_file_set(o, build_path("bar.png"), NULL);
evas_object_image_border_set(o, 8, 8, 8, 8);
evas_object_image_border_set(o, 6, 6, 6, 6);
evas_object_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID);
evas_object_show(o);
}

@ -32,7 +32,6 @@ static Evas_Object *o_menu_icon_sel = NULL;
static Evas_Object *o_menu_icon_sel2 = NULL;
static Evas_Object *o_menu_text_sel = NULL;
static Evas_Object *o_menu_title = NULL;
static Evas_Object *o_menu_title2 = NULL;
static Eina_List *menu = NULL;
static int menu_sel = 0;
static int menu_active = 0;
@ -72,7 +71,6 @@ _ui_all(void)
evas_object_hide(o_menu_logo);
evas_object_hide(o_menu_title);
evas_object_hide(o_menu_title2);
evas_object_hide(o_menu_icon);
evas_object_hide(o_menu_icon_sel);
evas_object_hide(o_menu_icon_sel2);
@ -117,7 +115,6 @@ _ui_num(int n)
evas_object_hide(o_menu_logo);
evas_object_hide(o_menu_title);
evas_object_hide(o_menu_title2);
evas_object_hide(o_menu_icon);
evas_object_hide(o_menu_icon_sel);
evas_object_hide(o_menu_icon_sel2);
@ -157,7 +154,6 @@ _ui_select(void)
evas_object_hide(o_menu_logo);
evas_object_hide(o_menu_title);
evas_object_hide(o_menu_title2);
evas_object_hide(o_menu_icon);
evas_object_hide(o_menu_icon_sel);
evas_object_hide(o_menu_icon_sel2);
@ -317,18 +313,6 @@ _ui_setup(void)
evas_object_show(o);
o_wallpaper = o;
/*
o = evas_object_image_add(evas);
evas_object_move(o, 0, 0);
evas_object_image_file_set(o, PACKAGE_DATA_DIR"/data/bg.png", NULL);
evas_object_image_fill_set(o, 0, 0, win_w, win_h);
evas_object_image_smooth_scale_set(o, 0);
evas_object_resize(o, win_w, win_h);
evas_object_layer_set(o, -99);
evas_object_show(o);
o_wallpaper = o;
*/
o = evas_object_text_add(evas);
evas_object_text_font_set(o, "Vera-Bold", 10);
evas_object_text_text_set(o, "EXPEDITE");
@ -357,7 +341,7 @@ _ui_setup(void)
o = evas_object_image_add(evas);
evas_object_move(o, (win_w - 120) / 2, ((win_h - 160) / 2));
evas_object_image_file_set(o, build_path("logo.png"), NULL);
evas_object_image_file_set(o, build_path("e-logo.png"), NULL);
evas_object_image_fill_set(o, 0, 0, 120, 160);
evas_object_resize(o, 120, 160);
evas_object_layer_set(o, -98);
@ -375,8 +359,8 @@ _ui_setup(void)
o = evas_object_image_add(evas);
evas_object_move(o, 0, 0);
evas_object_image_file_set(o, build_path("icon_sel.png"), NULL);
evas_object_resize(o, 56, 56);
evas_object_image_fill_set(o, 0, 0, 56, 56);
evas_object_resize(o, 48, 48);
evas_object_image_fill_set(o, 0, 0, 48, 48);
o_menu_icon_sel = o;
o = evas_object_image_add(evas);
@ -384,29 +368,11 @@ _ui_setup(void)
evas_object_image_file_set(o, build_path("text_sel.png"), NULL);
evas_object_resize(o, 96, 32);
evas_object_image_fill_set(o, 0, 0, 96, 32);
evas_object_image_border_set(o, 8, 8, 8, 8);
evas_object_image_border_set(o, 7, 7, 7, 7);
o_menu_text_sel = o;
o = evas_object_image_add(evas);
evas_object_move(o, 0, 0);
evas_object_image_file_set(o, build_path("icon_sel2.png"), NULL);
evas_object_resize(o, 56, 41);
evas_object_image_fill_set(o, 0, 0, 56, 41);
o_menu_icon_sel2 = o;
o = evas_object_text_add(evas);
evas_object_text_font_set(o, "Vera-Bold", 10);
evas_object_text_text_set(o, "");
evas_object_color_set(o, 100, 100, 100, 100);
evas_object_pass_events_set(o, 1);
evas_object_geometry_get(o, NULL, NULL, &w, &h);
x = ((win_w - w) / 2) + 1;
y = ((win_h - h) / 2) + 1;
evas_object_move(o, x, y);
o_menu_title2 = o;
o = evas_object_text_add(evas);
evas_object_text_font_set(o, "Vera-Bold", 10);
evas_object_text_font_set(o, "Vera", 10);
evas_object_text_text_set(o, "");
evas_object_color_set(o, 0, 0, 0, 100);
evas_object_pass_events_set(o, 1);
@ -568,25 +534,18 @@ ui_loop(void)
a = 255 - (255 * a);
o = o_menu_icon_sel;
evas_object_move(o, x - ((56 - w) / 2), y - ((56 - h) / 2));
evas_object_move(o, x - ((48 - w) / 2), y - ((48 - h) / 2));
evas_object_color_set(o, a, a, a, a);
o = o_menu_icon_sel2;
evas_object_move(o, (win_w - 56) / 2, (win_h / 2) + len - 4);
o = o_menu_title;
evas_object_color_set(o, 0, 0, 0, a);
evas_object_color_set(o, 255, 255, 255, a);
evas_object_text_text_set(o, mi->text);
evas_object_geometry_get(o, NULL, NULL, &tw, &th);
x = (win_w - tw) / 2;
y = (win_h / 2) + len + 40;
y = (win_h / 2) + len + 48;
evas_object_move(o, x, y);
o = o_menu_title2;
evas_object_color_set(o, a / 2, a / 2, a / 2, a / 2);
evas_object_text_text_set(o, mi->text);
evas_object_move(o, x + 1, y + 1);
o = o_menu_text_sel;
w = tw + 24;
h = 28;
@ -606,7 +565,6 @@ ui_loop(void)
evas_object_move(o_menu_logo, (win_w - 120) / 2, ((win_h - 160) / 2));
evas_object_show(o_menu_logo);
evas_object_show(o_menu_title);
evas_object_show(o_menu_title2);
evas_object_show(o_menu_icon);
evas_object_show(o_menu_icon_sel);
evas_object_show(o_menu_icon_sel2);

Loading…
Cancel
Save