summaryrefslogtreecommitdiff
path: root/legacy/emotion
diff options
context:
space:
mode:
authorAndreas Volz <linux@brachttal.net>2010-07-25 18:29:01 +0000
committerAndreas Volz <linux@brachttal.net>2010-07-25 18:29:01 +0000
commit5967027157b6a46d9b01dae31965b47b5208ad27 (patch)
tree2452cb563fe271857bd9ccf19169ea61621e8495 /legacy/emotion
parent37de5b807f09115c1a6067a4e8fc03c180278359 (diff)
doxygen
SVN revision: 50486
Diffstat (limited to 'legacy/emotion')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 9d8681e67c..33dced3421 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -440,6 +440,17 @@ emotion_object_size_get(const Evas_Object *obj, int *iw, int *ih)
440 evas_object_image_size_get(sd->obj, iw, ih); 440 evas_object_image_size_get(sd->obj, iw, ih);
441} 441}
442 442
443/**
444 * Sets whether to use of high-quality image scaling algorithm
445 * of the given video object.
446 *
447 * When enabled, a higher quality video scaling algorithm is used when
448 * scaling videos to sizes other than the source video. This gives
449 * better results but is more computationally expensive.
450 *
451 * @param obj The given video object.
452 * @param smooth Whether to use smooth scale or not.
453 */
443EAPI void 454EAPI void
444emotion_object_smooth_scale_set(Evas_Object *obj, Eina_Bool smooth) 455emotion_object_smooth_scale_set(Evas_Object *obj, Eina_Bool smooth)
445{ 456{
@@ -449,6 +460,12 @@ emotion_object_smooth_scale_set(Evas_Object *obj, Eina_Bool smooth)
449 evas_object_image_smooth_scale_set(sd->obj, smooth); 460 evas_object_image_smooth_scale_set(sd->obj, smooth);
450} 461}
451 462
463/**
464 * Gets whether the high-quality image scaling algorithm
465 * of the given video object is used.
466 *
467 * @return Whether the smooth scale is used or not.
468 */
452EAPI Eina_Bool 469EAPI Eina_Bool
453emotion_object_smooth_scale_get(const Evas_Object *obj) 470emotion_object_smooth_scale_get(const Evas_Object *obj)
454{ 471{
@@ -469,6 +486,9 @@ emotion_object_ratio_get(const Evas_Object *obj)
469 return sd->ratio; 486 return sd->ratio;
470} 487}
471 488
489/**
490 * Send a control event to the DVD.
491 */
472EAPI void 492EAPI void
473emotion_object_event_simple_send(Evas_Object *obj, Emotion_Event ev) 493emotion_object_event_simple_send(Evas_Object *obj, Emotion_Event ev)
474{ 494{