示例#1
0
EAPI Evas_Object *
e_toolbar_add(Evas *evas) 
{
   if (!_e_toolbar_smart) 
     {
	static const Evas_Smart_Class sc = 
	  {
	     "e_toolbar",
	       EVAS_SMART_CLASS_VERSION,
	       _e_toolbar_smart_add,
	       _e_toolbar_smart_del,
	       _e_toolbar_smart_move,
	       _e_toolbar_smart_resize,
	       _e_toolbar_smart_show,
	       _e_toolbar_smart_hide,
	       _e_toolbar_color_set,
	       _e_toolbar_clip_set,
	       _e_toolbar_clip_unset,
	       NULL
	  };
	_e_toolbar_smart = evas_smart_class_new(&sc);
	_e_toolbar_smart_use = 0;
     }
   _e_toolbar_smart_use++;
   return evas_object_smart_add(evas, _e_toolbar_smart);
}
示例#2
0
文件: esmart_dvi.c 项目: Limsik/e17
/**
 * @brief Add a smart dvi object to an evas
 *
 * @param evas The Evas canvas
 * @return The file name
 *
 * Add a smart dvi object to the evas @p evas, or NULL on failure
 */
Evas_Object *
esmart_dvi_add (Evas *evas)
{
  _smart_init ();

  return evas_object_smart_add (evas, smart);
}
示例#3
0
Evas_Object *EvasEsmart::newEsmart(EvasCanvas *canvas, const char *name )
{
  Evas_Object *evasobj;

  evasobj = evas_object_smart_add(canvas->obj(), getEsmart(name));

  //evas_object_smart_data_set(evasobj, this);

  return evasobj;
}
示例#4
0
static Evas_Object *
esmart_dragable_object_new (Evas * evas)
{
  Evas_Object *esmart_dragable_object;

  esmart_dragable_object =
    evas_object_smart_add (evas, _esmart_dragable_object_smart_get ());

  return esmart_dragable_object;
}
示例#5
0
/* externally accessible functions */
Evas_Object *
elexika_result_list_add(Evas *evas, Evas_Object *parent)
{
    Evas_Object *obj;

    _smart_init();
    obj = evas_object_smart_add(evas, _e_smart);
    _smart_parent_set(obj, parent);
    return obj;
}
示例#6
0
static Evas_Object *
engage_element_object_new(Evas * evas)
{
  Evas_Object    *engage_element_object;

  engage_element_object =
    evas_object_smart_add(evas, _engage_element_object_smart_get());

  return engage_element_object;
}
示例#7
0
/* externally accessible functions */
Evas_Object *
enscribi_input_frame_add(Evas *evas, Evas_Object *parent)
{
    Evas_Object *obj;

    _smart_init();
    obj = evas_object_smart_add(evas, _e_smart);
    _smart_parent_set(obj, parent);
    return obj;
}
示例#8
0
Evas_Object * elitaire_object_new(Evas * evas)
{
    Evas_Object * elitaire;
    Elitaire * eli;

    elitaire = evas_object_smart_add(evas, _elitaire_smart_get());

    eli = (Elitaire *) evas_object_smart_data_get(elitaire);
    if (!eli) return NULL;

    /* init variables */
    eli->evas = evas;
    eli->file = NULL;
    eli->velocity = 1000;
    eli->spacing = 0.1;
    eli->margin_h = 0.4;
    eli->margin_v = 0.15;
    eli->x = 0;
    eli->y = 0;
    eli->w = 0;
    eli->h = 0;
    eli->offset.t = 0;
    eli->offset.l = 0;
    eli->offset.r = 0;
    eli->offset.b = 0;
    eli->frame_rate = 80;
    eli->deal = false;
    eli->shadow = false;
    eli->animate = true;
    eli->num_card_jobs = 0;
    eli->elitaire = elitaire;

    /* jobs */
    eli->jobs = elitaire_job_list_new(NULL, NULL);
    return elitaire;
}
示例#9
0
/* externally accessible functions */
EAPI Evas_Object *
e_layout_add(Evas *evas)
{
   _e_layout_smart_init();
   return evas_object_smart_add(evas, _e_smart);
}
示例#10
0
文件: test.c 项目: ixdu/caravan
/* add a new example smart object to a canvas */
Evas_Object *
evas_smart_frame_add(Evas *evas)
{
   return evas_object_smart_add(evas, _evas_smart_frame_smart_class_new());
}
示例#11
0
Evas_Object* ewk_view_tiled_add(Evas* canvas)
{
    return evas_object_smart_add(canvas, _ewk_view_tiled_smart_class_new());
}
示例#12
0
/* externally accessible functions */
Evas_Object *
pan_add(Evas *evas)
{
   _smart_init();
   return evas_object_smart_add(evas, _smart);
}
示例#13
0
/* externally accessible functions */
Evas_Object *
_els_smart_icon_add(Evas *evas)
{
   _smart_init();
   return evas_object_smart_add(evas, _e_smart);
}
示例#14
0
Evas_Object *
smart_slider_add(Evas *e)
{
	return evas_object_smart_add(e, _smart_slider_smart_class_new());
}
示例#15
0
/* externally accessible functions */
EAPI Evas_Object *
e_livethumb_add(Evas *e)
{
   _e_smart_init();
   return evas_object_smart_add(e, _e_smart);
}
示例#16
0
/* externally accessible functions */
Evas_Object *
photo_panel_infos_add(Evas * evas)
{
    _smart_init();
    return evas_object_smart_add(evas, _smart);
}
示例#17
0
/* externally accessible functions */
Evas_Object *
enna_SMARTNAME_add(Evas * evas)
{
    _smart_init();
    return evas_object_smart_add(evas, _smart);
}
示例#18
0
Evas_Object *eyelight_object_add(Evas *evas)
{
    _smart_init();
    return evas_object_smart_add(evas, smart);
}
示例#19
0
EAPI Evas_Object *
emotion_object_add(Evas *evas)
{
   _smart_init();
   return evas_object_smart_add(evas, smart);
}
示例#20
0
文件: cslider.c 项目: Elive/elicit
Evas_Object *
elicit_cslider_add(Evas *evas) 
{
  _smart_init();
  return evas_object_smart_add(evas, _smart);
}
示例#21
0
Evas_Object *
smart_toggle_add(Evas *e)
{
	return evas_object_smart_add(e, _smart_toggle_smart_class_new());
}
示例#22
0
/* externally accessible functions */
E_API Evas_Object *
e_slidecore_add(Evas *evas)
{
   _e_smart_init();
   return evas_object_smart_add(evas, _e_smart);
}
/**
 * Creates a new EFL WebKit View object.
 *
 * View objects are the recommended way to deal with EFL WebKit as it
 * abstracts the complex pieces of the process.
 *
 * Each view is composed by a set of frames. The set has at least one
 * frame, called 'main_frame'. See ewk_view_frame_main_get() and
 * ewk_view_frame_focused_get().
 *
 * @param e canvas where to create the view object.
 *
 * @return view object or @c NULL if errors.
 *
 * @see ewk_view_uri_set()
 */
Evas_Object *ewk_view_single_add(Evas *e)
{
    return evas_object_smart_add(e, _ewk_view_single_smart_class_new());
}
示例#24
0
/* externally accessible functions */
Evas_Object *
scrollframe_add(Evas *evas)
{
   _smart_init();
   return evas_object_smart_add(evas, _smart);
}