partially convert _setup implementation.
This commit is contained in:
parent
365de8d7d3
commit
583d48e392
|
@ -27,11 +27,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i, w, h, n;
|
int i, w, h, n;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < MANYNUM; i++)
|
for (i = 0; i < MANYNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
n = rnd() % 100;
|
n = rnd() % 100;
|
||||||
w = 3 + ((n * (60 - 3)) / 100);
|
w = 3 + ((n * (60 - 3)) / 100);
|
||||||
h = 4 + ((n * (80 - 4)) / 100);
|
h = 4 + ((n * (80 - 4)) / 100);
|
||||||
|
|
|
@ -27,8 +27,8 @@ static void _setup(void)
|
||||||
Evas_Object *o;
|
Evas_Object *o;
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
efl_image_smooth_scale_set(0),
|
efl_image_smooth_scale_set(0),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
efl_image_smooth_scale_set(0),
|
efl_image_smooth_scale_set(0),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
efl_image_smooth_scale_set(0),
|
efl_image_smooth_scale_set(0),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
efl_image_smooth_scale_set(0),
|
efl_image_smooth_scale_set(0),
|
||||||
|
|
|
@ -24,12 +24,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i < (OBNUM / 2))
|
if (i < (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -27,12 +27,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i < (OBNUM / 2))
|
if (i < (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL));
|
eo_do(o, efl_file_set(PACKAGE_DATA_DIR"/data/logo.png", NULL));
|
||||||
|
|
|
@ -27,12 +27,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i < (OBNUM / 2))
|
if (i < (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -29,12 +29,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i < (OBNUM / 2))
|
if (i < (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -26,12 +26,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i & 0x1)
|
if (i & 0x1)
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -29,12 +29,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i & 0x1)
|
if (i & 0x1)
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -29,12 +29,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i & 0x1)
|
if (i & 0x1)
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -29,12 +29,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i & 0x1)
|
if (i & 0x1)
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -26,12 +26,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i > (OBNUM / 2))
|
if (i > (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -29,12 +29,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i > (OBNUM / 2))
|
if (i > (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -27,12 +27,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i > (OBNUM / 2))
|
if (i > (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -28,12 +28,12 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
if (i > (OBNUM / 2))
|
if (i > (OBNUM / 2))
|
||||||
{
|
{
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL));
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
efl_image_smooth_scale_set(1),
|
efl_image_smooth_scale_set(1),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
efl_image_smooth_scale_set(1),
|
efl_image_smooth_scale_set(1),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
efl_image_smooth_scale_set(1),
|
efl_image_smooth_scale_set(1),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
efl_image_smooth_scale_set(1),
|
efl_image_smooth_scale_set(1),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("bar.png"), NULL),
|
efl_file_set(build_path("bar.png"), NULL),
|
||||||
evas_obj_image_border_set(6, 6, 6, 6),
|
evas_obj_image_border_set(6, 6, 6, 6),
|
||||||
|
|
|
@ -23,11 +23,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -24,11 +24,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_ARGB8888),
|
||||||
|
|
|
@ -28,11 +28,11 @@ static void _setup(void)
|
||||||
int i, y;
|
int i, y;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
unsigned char **data, **lp;
|
unsigned char **data, **lp;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
||||||
|
|
|
@ -28,11 +28,11 @@ static void _setup(void)
|
||||||
int i, y;
|
int i, y;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
unsigned char **data, **lp;
|
unsigned char **data, **lp;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
||||||
|
|
|
@ -28,11 +28,11 @@ static void _setup(void)
|
||||||
int i, y;
|
int i, y;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
unsigned char **data, **lp;
|
unsigned char **data, **lp;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
||||||
|
|
|
@ -28,11 +28,11 @@ static void _setup(void)
|
||||||
int i, y;
|
int i, y;
|
||||||
FILE *f;
|
FILE *f;
|
||||||
unsigned char **data, **lp;
|
unsigned char **data, **lp;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
|
||||||
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
evas_obj_image_colorspace_set(EVAS_COLORSPACE_YCBCR422P601_PL),
|
||||||
|
|
|
@ -28,13 +28,13 @@ static Evas_Object *o_reflec[CNUM];
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < CNUM; i++)
|
for (i = 0; i < CNUM; i++)
|
||||||
{
|
{
|
||||||
char buf[256];
|
char buf[256];
|
||||||
|
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
|
snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path(buf), NULL),
|
efl_file_set(build_path(buf), NULL),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
evas_obj_size_set(120, 160),
|
evas_obj_size_set(120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < (OBNUM / 2); i++)
|
for (i = 0; i < (OBNUM / 2); i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
efl_file_set(build_path("image.png"), NULL),
|
efl_file_set(build_path("image.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
|
|
|
@ -25,11 +25,11 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < 1; i++)
|
for (i = 0; i < 1; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path("tp.png"), NULL),
|
eo_do(o, efl_file_set(build_path("tp.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 640, 480),
|
evas_obj_image_fill_set(0, 0, 640, 480),
|
||||||
evas_obj_size_set(640, 480),
|
evas_obj_size_set(640, 480),
|
||||||
|
|
|
@ -24,14 +24,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_LINE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = (rnd()&0xff) / 2;
|
a = (rnd()&0xff) / 2;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
g = ((rnd()&0xff) * a) / 255;
|
g = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -31,14 +31,14 @@ static void _setup(void)
|
||||||
efl_file_set(build_path("logo.png"), NULL),
|
efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
evas_obj_size_set(120, 160),
|
evas_obj_size_set(120, 160),
|
||||||
evas_obj_visibility_set(EINA_TRUE));
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
src = o;
|
src = o;
|
||||||
images[0] = src;
|
images[0] = src;
|
||||||
|
|
||||||
for (i = 1; i < OBNUM; i++)
|
for (i = 1; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o,
|
eo_do(o,
|
||||||
evas_obj_image_source_set(src),
|
evas_obj_image_source_set(src),
|
||||||
evas_obj_size_set(120, 160),
|
evas_obj_size_set(120, 160),
|
||||||
|
|
|
@ -30,13 +30,13 @@ static void _setup(void)
|
||||||
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
|
eo_do(o, efl_file_set(build_path("logo.png"), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, 120, 160),
|
evas_obj_image_fill_set(0, 0, 120, 160),
|
||||||
evas_obj_size_set(120, 160),
|
evas_obj_size_set(120, 160),
|
||||||
evas_obj_position_set(-400, -300));
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
src = o;
|
src = o;
|
||||||
|
|
||||||
for (i = 0; i < OBNUM / 2; i++)
|
for (i = 0; i < OBNUM / 2; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_source_set(src, NULL),
|
eo_do(o, evas_obj_image_source_set(src, NULL),
|
||||||
evas_obj_size_set(120, 160),
|
evas_obj_size_set(120, 160),
|
||||||
evas_obj_image_fill_set(0,0,120,160),
|
evas_obj_image_fill_set(0,0,120,160),
|
||||||
|
|
|
@ -20,14 +20,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = rnd()&0xff;
|
a = rnd()&0xff;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
g = ((rnd()&0xff) * a) / 255;
|
g = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -23,14 +23,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = rnd()&0xff;
|
a = rnd()&0xff;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
g = ((rnd()&0xff) * a) / 255;
|
g = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -20,14 +20,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = 256 - (1 << ((rnd() % 8) + 1));
|
a = 256 - (1 << ((rnd() % 8) + 1));
|
||||||
if (a < 128) a = 128;
|
if (a < 128) a = 128;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -23,14 +23,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = 256 - (1 << ((rnd() % 8) + 1));
|
a = 256 - (1 << ((rnd() % 8) + 1));
|
||||||
if (a < 128) a = 128;
|
if (a < 128) a = 128;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -20,14 +20,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = 0xff;
|
a = 0xff;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
g = ((rnd()&0xff) * a) / 255;
|
g = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -23,14 +23,14 @@ static efl::eina::list<evas::image> images;
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
srnd();
|
srnd();
|
||||||
for (i = 0; i < OBNUM; i++)
|
for (i = 0; i < OBNUM; i++)
|
||||||
{
|
{
|
||||||
int r, g, b, a;
|
int r, g, b, a;
|
||||||
|
|
||||||
o = eo_add(EVAS_RECTANGLE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
a = 0xff;
|
a = 0xff;
|
||||||
r = ((rnd()&0xff) * a) / 255;
|
r = ((rnd()&0xff) * a) / 255;
|
||||||
g = ((rnd()&0xff) * a) / 255;
|
g = ((rnd()&0xff) * a) / 255;
|
||||||
|
|
|
@ -43,11 +43,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -43,11 +43,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -43,11 +43,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -28,11 +28,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -32,11 +32,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 1]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -43,11 +43,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -43,11 +43,11 @@ static const char *icons[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
eo_do(o, efl_file_set(build_path(icons[i % 13]), NULL),
|
||||||
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
evas_obj_image_fill_set(0, 0, ICON_SIZE, ICON_SIZE),
|
||||||
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
evas_obj_size_set(ICON_SIZE, ICON_SIZE),
|
||||||
|
|
|
@ -59,11 +59,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -59,11 +59,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -59,11 +59,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -59,11 +59,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -80,11 +80,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -80,11 +80,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -80,11 +80,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
|
@ -80,11 +80,11 @@ static const char *labels[] =
|
||||||
static void _setup(void)
|
static void _setup(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
Evas_Object *o;
|
evas::canvas canvas(::eo_ref(G_evas));
|
||||||
for (i = 0; i < NUM; i++)
|
for (i = 0; i < NUM; i++)
|
||||||
{
|
{
|
||||||
o = eo_add(EVAS_IMAGE_CLASS, G_evas);
|
evas::image o(efl::eo::parent = canvas);
|
||||||
images[i] = o;
|
images.push_back(o);
|
||||||
eo_do(o, evas_obj_image_filled_set(1),
|
eo_do(o, evas_obj_image_filled_set(1),
|
||||||
evas_obj_image_border_set(2, 2, 2, 2),
|
evas_obj_image_border_set(2, 2, 2, 2),
|
||||||
efl_file_set(build_path("pan.png"), NULL),
|
efl_file_set(build_path("pan.png"), NULL),
|
||||||
|
|
Loading…
Reference in New Issue