aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/evas/src/tests/evas_tests_helpers.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 17:29:19 +1000
committerDavid Walter Seikel2013-01-13 17:29:19 +1000
commit07274513e984f0b5544586c74508ccd16e7dcafa (patch)
treeb32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/evas/src/tests/evas_tests_helpers.h
parentAdded Irrlicht 1.8, but without all the Windows binaries. (diff)
downloadSledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2
SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz
Remove EFL, since it's been released now.
Diffstat (limited to 'libraries/evas/src/tests/evas_tests_helpers.h')
-rw-r--r--libraries/evas/src/tests/evas_tests_helpers.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/libraries/evas/src/tests/evas_tests_helpers.h b/libraries/evas/src/tests/evas_tests_helpers.h
deleted file mode 100644
index 2ed0789..0000000
--- a/libraries/evas/src/tests/evas_tests_helpers.h
+++ /dev/null
@@ -1,40 +0,0 @@
1#ifndef EVAS_TEST_HELPERS_H
2#define EVAS_TEST_HELPERS_H
3
4/* FIXME: Currently depends on the buffer engine, should we do anything
5 * fancier? */
6
7#define EVAS_TEST_INIT_EVAS() _setup_evas()
8
9#define EVAS_TEST_FREE_EVAS() \
10do \
11{ \
12 evas_textblock_cursor_free(cur); \
13 evas_object_del(tb); \
14 evas_textblock_style_free(st); \
15 evas_free(evas); \
16 evas_shutdown(); \
17} \
18while (0)
19
20static Evas *
21_setup_evas()
22{
23 Evas *evas;
24 Evas_Engine_Info *einfo;
25
26 evas_init();
27 evas = evas_new();
28
29 evas_output_method_set(evas, evas_render_method_lookup("buffer"));
30 einfo = evas_engine_info_get(evas);
31 evas_engine_info_set(evas, einfo);
32
33 evas_output_size_set(evas, 500, 500);
34 evas_output_viewport_set(evas, 0, 0, 500, 500);
35
36 return evas;
37}
38
39#endif
40