being pedantic.
static FILE *source_fd = NULL;
static FILE *header_fd = NULL;
-
#define H_HEADER \
"#ifndef _%s\n" \
"#define _%s\n\n" \
#define H_CODEGEN_PROGRAM_CALLBACK_DEL \
"void %s_%s_callback_del(Evas_Object *o, Edje_Signal_Cb func);\n"
-
const Ecore_Getopt optdesc =
{
"elm_codegen",
ADD_TEST(NULL, "Selectors", "DaySelector", test_dayselector);
ADD_TEST(NULL, "Selectors", "Main menu", test_main_menu);
-
//------------------------------//
ADD_TEST(NULL, "Cursors", "Cursor", test_cursor);
ADD_TEST(NULL, "Cursors", "Cursor 2", test_cursor2);
#endif
#include <Elementary.h>
-
typedef struct _Point
{
Evas_Coord x, y, z, u, v;
#endif
#include <Elementary.h>
-
#if 0
static void
_cleanup_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
if (!ei) return;
Elm_Object_Item *item = ei;
-
const Elm_Genlist_Item_Class *itc = elm_genlist_item_item_class_get(item);
if (!strcmp(itc->item_style, "full"))
evas_object_show(win);
}
#endif
-
#endif
#include <Elementary.h>
-
static void _pos_selected_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
Elm_Actionslider_Pos ipos, mpos, epos;
evas_object_show(as);
elm_box_pack_end(bx, as);
-
as = elm_actionslider_add(win);
evas_object_size_hint_weight_set(as, EVAS_HINT_EXPAND, 0);
evas_object_size_hint_align_set(as, EVAS_HINT_FILL, 0);
#endif
#include <Elementary.h>
-
static const char *names[] =
{
"bub1", "sh1",
#endif
#include <Elementary.h>
-
typedef struct {
Evas_Object *win, *label;
Eina_Stringshare *view_name;
#endif
#include <Elementary.h>
-
static void
_cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
{
evas_object_resize(win, 320, 320);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
free(data);
}
-
void
test_bubble(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_show(win);
}
-
void
test_calendar3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static Eina_Bool eb;
static void
#endif
#include <Elementary.h>
-
static Evas_Object *glb;
static void
#endif
#include <Elementary.h>
-
static void
_colorselector_changed_cb(void *data, Evas_Object *obj,
void *event_info EINA_UNUSED)
#endif
#include <Elementary.h>
-
#ifdef MAX_PROFILES
# undef MAX_PROFILES
#endif
#endif
#include <Elementary.h>
-
void
test_conformant(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
{
evas_object_resize(win, 240, 480);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static int vis = 0;
static int rotate_with_resize = 0;
static Evas_Object *win_port = NULL;
evas_object_move(sub_obj, ev->cur.canvas.x, ev->cur.canvas.y);
}
-
static void
_fill_portrait(Evas_Object *win)
{
evas_object_resize(win, 200, 200);
evas_object_show(win);
}
-
_print_current_dir(ctxpopup);
}
-
static void
_list_item_cb5(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
#endif
#include <Elementary.h>
-
// XXX: show all type of cursors in the elementary_test. this needs to be the first test
typedef struct _Testitem
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
/* A simple test, just displaying datetime in its default format */
static void
#endif
#include <Elementary.h>
-
static void _changed_cb(void* data EINA_UNUSED, Evas_Object* obj, void* event_info)
{
char buf[256];
evas_object_resize(win, 350, 150);
evas_object_show(win);
}
-
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
-
evas_object_resize(win, 680, 800);
evas_object_show(win);
}
-
#include <Elementary.h>
-
static Elm_Genlist_Item_Class it_eio;
#ifdef _WIN32
evas_object_resize(win, 300, 500);
evas_object_show(win);
}
-
elm_win_resize_object_add(win, bx);
evas_object_show(bx);
-
en = elm_entry_add(win);
elm_entry_line_wrap_set(en, ELM_WRAP_MIXED);
evas_object_resize(win, 400, 500);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
elm_object_focus_set(win, EINA_TRUE);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
-
void
test_external_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_resize(win, 320, 400);
evas_object_show(win);
}
-
-
#endif
#include <Elementary.h>
-
// 16 ^ 4 = 65k
#define BLOK 16
// homogenous layout
# include "elementary_config.h"
#endif
-
#include <Elementary.h>
#ifndef ENABLE_NLS
# ifndef setlocale
evas_object_resize(win, 320, 700);
evas_object_show(win);
}
-
evas_object_resize(win, 400, 500);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
typedef struct _State State;
typedef struct _Slice Slice;
evas_object_data_set(im, "im2", im2);
-
rc = evas_object_rectangle_add(evas_object_evas_get(win));
evas_object_color_set(rc, 0, 0, 0, 0);
evas_object_move(rc, 40, 340);
#endif
#include <Elementary.h>
-
void
_sel_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
int onoff;
} Testitem;
-
static Elm_Genlist_Item_Class itc1;
static char *glf_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part EINA_UNUSED)
{
#endif
#include <Elementary.h>
-
static Eina_Bool
_event(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *src EINA_UNUSED, Evas_Callback_Type type, void *event_info)
{
#endif
#include <Elementary.h>
-
static void
_focus_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info)
{
evas_object_focus_set(newfocus, EINA_TRUE);;
}
-
void
test_focus2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
#endif
#include <Elementary.h>
-
static Evas_Object *foc = NULL;
static void
#endif
#include <Elementary.h>
-
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
#define EXPAND(X) WEIGHT((X), EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
#endif
#include <Elementary.h>
-
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
#define EXPAND(X) WEIGHT((X), EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
#endif
#include <Elementary.h>
-
/* We zoom out to this value so we'll be able to use map and have a nice
* resolution when zooming in. */
#define BASE_ZOOM 0.5
};
typedef struct _Photo_Object Photo_Object;
-
/* This function applies the information from the Photo_Object to the actual
* evas objects. Zoom/rotate factors and etc. */
static void
free(data);
}
-
Photo_Object *
photo_object_add(Evas_Object *parent, Evas_Object *ic, const char *icon, Evas_Coord x,
Evas_Coord y, Evas_Coord w, Evas_Coord h, int angle)
photo_array);
evas_object_show(win);
}
-
-
#endif
#include <Elementary.h>
-
#define TAP_NAME "tap"
#define DOUBLE_TAP_NAME "double_tap"
#define TRIPLE_TAP_NAME "triple_tap"
evas_object_color_set(i->icon, i->r, i->g, i->b, i->a);
}
-
static Eina_Bool
_icon_color_set_cb(void *data)
{
return ECORE_CALLBACK_RENEW;
}
-
void
_color_and_icon_set(infra_data *infra, char *name, int n, int max,
int r, int g, int b, int a)
return EVAS_EVENT_FLAG_ON_HOLD;
}
-
static Evas_Event_Flags
momentum_start(void *data , void *event_info)
{
bx = create_gesture_box(win, infra->icons, 8, ROTATE_NAME, "Rotate");
elm_table_pack(tb, bx, 1, 3, 1, 1);
-
/* Legend of gestures - states */
lb = elm_label_add(win);
elm_object_text_set(lb, "<b>Gesture States</b>");
evas_object_size_hint_align_set(lb, EVAS_HINT_FILL, EVAS_HINT_FILL);
elm_table_pack(tb, lb, 1, 11, 3, 1);
-
elm_table_padding_set(tb, TB_PADDING_X, TB_PADDING_Y);
evas_object_show(lb);
/* END - Building icons table */
#endif
#include <Elementary.h>
-
/* We zoom out to this value so we'll be able to use map and have a nice
* resolution when zooming in. */
#define BASE_ZOOM 0.8
};
typedef struct _Photo_Object Photo_Object;
-
/* This function applies the information from the Photo_Object to the actual
* evas objects. Zoom/rotate factors and etc. */
static void
free(data);
}
-
static Photo_Object *
photo_object_add(Evas_Object *parent, Evas_Object *ic, const char *icon,
Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, int angle)
#endif
#include <Elementary.h>
-
#include <Elementary.h>
#ifndef M_PI
#define M_PI 3.14159265
gl->glBufferData(GL_ARRAY_BUFFER, gear->count * 6 * 4,
gear->vertices, GL_STATIC_DRAW);
-
return gear;
}
gld->light[2] = -5.0;
}
-
//-------------------------//
static void
#include "elementary_config.h"
#include <Elementary.h>
-
static void
_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
evas_object_resize(win, 440, 440);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
#endif
#include <Elementary.h>
-
static const struct {
Elm_Image_Orient orient;
const char *name;
evas_object_resize(win, 480, 320);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
enum _slide_style
{
SLIDE_SHORT,
elm_box_pack_end(bx, lb);
evas_object_show(lb);
-
evas_object_resize(win, 320, 300);
evas_object_show(bx);
#endif
#include <Elementary.h>
-
static void
mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_resize(win, 250, 350);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
#define SOURCE_MAX 10
#define MARKER_MAX 1000
#define NAME_ENTRY_TEXT "Enter freeform address"
#endif
#include <Elementary.h>
-
static void
_menu_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
evas_object_resize(win, 320, 320);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
#define IND_NUM 20
static Evas_Object *indicator[IND_NUM];
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
_item_selected_cb(void *data EINA_UNUSED,
Evas_Object *obj EINA_UNUSED,
#endif
#include <Elementary.h>
-
#define BUTTON_TEXT_SET(BT, TEXT) \
elm_object_text_set((BT), (TEXT)); \
elm_object_tooltip_text_set((BT), (TEXT)); \
elm_icon_standard_set(ico, "refresh");
elm_layout_content_set(btn, "icon", ico);
-
content = _content_new(nf, img1);
it = elm_naviframe_item_push(nf, NULL, NULL, btn, content, NULL);
evas_object_data_set(nf, "page1", it);
#endif
#include <Elementary.h>
-
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
#define EXPAND(X) WEIGHT((X), EVAS_HINT_EXPAND, EVAS_HINT_EXPAND)
#endif
#include <Elementary.h>
-
static void
_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
#define LIST_ITEM_MAX 20
static Elm_Genlist_Item_Class itc;
evas_object_resize(win, 320, 400);
evas_object_show(win);
}
-
-
#endif
#include <Elementary.h>
-
static void
_press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_resize(win, 320, 400);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
evas_object_resize(win, 300, 300);
evas_object_show(win);
}
-
-/* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/
#endif
#include <Elementary.h>
-
static Evas_Object *rect;
static void
evas_object_resize(win, 480, 400);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
#define WIDTH (500)
#define HEIGHT (1000)
#define MSG_ID_VEL (1)
#endif
#include <Elementary.h>
-
static void
_rd_changed_cb(void *data EINA_UNUSED, Evas_Object *obj,
void *event_info EINA_UNUSED)
#endif
#include <Elementary.h>
-
static void
changed_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
{
#endif
#include <Elementary.h>
-
void
_delay_change_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
#include "elementary_config.h"
#include <Elementary.h>
-
static Evas_Object *slideshow, *bt_start, *bt_stop;
static Elm_Slideshow_Item_Class itc;
static const char *img1 = PACKAGE_DATA_DIR"/images/logo.png";
evas_object_show(data);
}
-
static void
_mouse_out(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
evas_object_resize(win, 500, 400);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
static void
_spinner_drag_start_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
void *event EINA_UNUSED)
http://www.enlightenment.org/~raster/store.tar.gz
*/
-
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
#include <Elementary.h>
-
typedef struct _My_Item My_Item;
struct _My_Item
ELM_STORE_ITEM_MAPPING_END
};
-
////// **** WARNING ***********************************************************
//// * This function runs inside a thread outside efl mainloop. Be careful! *
// ************************************************************************
#endif
#include <Elementary.h>
-
#define WIDTH 320
#define HEIGHT 160
#endif
#include <Elementary.h>
-
#define WIDTH 320
#define HEIGHT 160
evas_object_show(win);
}
-
#include <Elementary.h>
#include <Eina.h>
-
#define APPS_COL 0
#define VIEWS_COL 1
#define PROPS_VIEW_COL 2
#endif
#include <Elementary.h>
-
typedef struct _Testitem
{
Elm_Object_Item *item;
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
-
#endif
#include <Elementary.h>
-
typedef struct _Custom_Effect Custom_Effect;
struct _Custom_Effect
#endif
#include <Elementary.h>
-
static void
my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
#endif
#include <Elementary.h>
-
#ifdef HAVE_ELEMENTARY_EWEATHER
# include "EWeather_Smart.h"
#endif
evas_object_show(bt);
elm_box_pack_end(bx0, bt);
evas_object_smart_callback_add(bt, "clicked", _apply_cb, NULL);
- //
-
-
#else
Evas_Object *lbl;
#endif
#include <Elementary.h>
-
typedef struct
{
Evas_Object *web;
#endif
#include <Elementary.h>
-
static void
fill(Evas_Object *win, Eina_Bool do_bg)
{
#endif
#include <Elementary.h>
-
#define MAX_TRY 40
static int try_num = 0;
#endif
#include <Elementary.h>
-
static void
_win_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{