elementary - added convenient macros elm_object_translatable_part_text_set(), elm_obj...
authorChunEon Park <chuneon.park@samsung.com>
Tue, 9 Apr 2013 12:23:02 +0000 (21:23 +0900)
committerSungho Kwak <sungho1.kwak@samsung.com>
Wed, 10 Apr 2013 10:57:22 +0000 (19:57 +0900)
commit 504f797e07f43daef611e6394cae5ed6e6bac8b6
Author: ChunEon Park <hermet>@hermet.pe.kr>
Date: Mon Apr 1 21:38:50 2013 +0900

Change-Id: I2aca22ee6116e8d9f2ecd0882f546573dcce5e32

src/lib/elm_object.h
src/lib/elm_object_item.h

index a997cc8..13e2fdd 100644 (file)
@@ -59,6 +59,8 @@ EAPI void      elm_object_domain_translatable_part_text_set(Evas_Object *obj, co
 
 #define elm_object_translatable_text_set(obj, text)                elm_object_domain_translatable_part_text_set((obj), NULL, NULL, (text))
 
+#define elm_object_translatable_part_text_set(obj, part, text)     elm_object_domain_translatable_part_text_set((obj), (part), NULL, (text))
+
 /**
  * Gets the original string set as translatable for an object
  *
index 8ea325f..3b529d4 100644 (file)
@@ -143,6 +143,8 @@ EAPI void      elm_object_item_domain_translatable_part_text_set(Elm_Object_Item
 
 #define elm_object_item_translatable_text_set(it, text) elm_object_item_domain_translatable_part_text_set((it), NULL, NULL, (text))
 
+#define elm_object_item_translatable_part_text_set(it, part, text) elm_object_item_domain_translatable_part_text_set((it), (part), NULL, (text))
+
 /**
  * Gets the original string set as translatable for an object item.
  *
@@ -162,6 +164,7 @@ EAPI const char *elm_object_item_translatable_part_text_get(const Elm_Object_Ite
 
 #define elm_object_item_translatable_text_get(it) elm_object_item_translatable_part_text_get((it), NULL)
 
+
 /**
  * Set the text to read out when in accessibility mode
  *