* @brief Add allowed text part for auto command register.
* @since_tizen 3.0
*
-* @param[in] text_part The text part of elemenatry widget
+* @param[in] text_part The text part of elementary widget
*
* @return 0 on success, otherwise a negative error value
* @retval #VC_ELM_ERROR_NONE Successful
#define VC_ELM_MODE_AUTO_APPFW 2
/**
-* @brief Internal variable. It can check whether voice control elm is initilaized or not.
+* @brief Internal variable. It can check whether voice control elm is initialized or not.
*/
static unsigned is_vc_elm_initialized = false;
}
if (NULL == vc_elm) {
- VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) poiter is NULL"); //LCOV_EXCL_LINE
+ VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) pointer is NULL"); //LCOV_EXCL_LINE
return VC_ELM_ERROR_INVALID_PARAMETER;
}
if ((NULL == object) || (!elm_object_widget_check(object))) {
}
if (NULL == vc_elm) {
- VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) poiter is NULL"); //LCOV_EXCL_LINE
+ VC_ELM_LOG_ERR("Invalid parameters detected! (vc_elm_h *) pointer is NULL"); //LCOV_EXCL_LINE
return VC_ELM_ERROR_INVALID_PARAMETER;
}
if (NULL == item) {
- VC_ELM_LOG_ERR("Invalid parameters detected! (Elm_Object_Item *) poiter is NULL"); //LCOV_EXCL_LINE
+ VC_ELM_LOG_ERR("Invalid parameters detected! (Elm_Object_Item *) pointer is NULL"); //LCOV_EXCL_LINE
*vc_elm = NULL;
return VC_ELM_ERROR_INVALID_PARAMETER;
}
return VC_ELM_ERROR_INVALID_PARAMETER;
}
if ((NULL == pos_x) || (NULL == pos_y)) {
- VC_ELM_LOG_ERR("Invalid position poiters detected!"); //LCOV_EXCL_LINE
+ VC_ELM_LOG_ERR("Invalid position pointers detected!"); //LCOV_EXCL_LINE
return VC_ELM_ERROR_INVALID_PARAMETER;
}
type = handler->type;
}
/**
- * @brief Structure that wrapps a command with corresponding widget and it's parent
+ * @brief Structure that wraps a command with corresponding widget and it's parent
*/
struct Wrapped_Command {
const char *cmd;
};
/**
- * @brief Structure that wrapps a wrapped command with it's command and param
+ * @brief Structure that wraps a wrapped command with it's command and param
*/
struct Unwrapped_Command {
struct Wrapped_Command *wrap;
VC_ELM_LOG_DBG("call subobjects_func, constant_list(%d)", eina_list_count(list));
constant_list = info->get_subobjects_func(widget, info->user_data);
} else if (obj_name != NULL && (!strcmp("Elm_Button", obj_name) || !strcmp("Elm_Index", obj_name))) {
- /* We dont want to have a tooltip for elm_icon on button */
- /* We dont want to have tooltips for elm_index items */
+ /* We don't want to have a tooltip for elm_icon on button */
+ /* We don't want to have tooltips for elm_index items */
return;
} else if (obj_name != NULL && !strcmp("Elm_List", obj_name)) {
VC_ELM_LOG_DBG(":: %s", obj_name);
g_wrapped_commands = NULL;
}
- VC_ELM_LOG_DBG("currene objects(%d)", eina_list_count(g_current_ui_objects));
+ VC_ELM_LOG_DBG("current objects(%d)", eina_list_count(g_current_ui_objects));
EINA_LIST_FOREACH(g_current_ui_objects, _l, obj) {
struct vc_elm_core_widget_info *info = NULL;
const char *obj_name = _get_ui_object_name(obj);
root = main_node->xmlChildrenNode;
while (root != NULL) {
- VC_ELM_LOG_DBG("Root nodes mames %s", root->name);
+ VC_ELM_LOG_DBG("Root nodes names %s", root->name);
if (0 == xmlStrcmp(root->name, XML_CAST VC_ELM_TAG_BASE_NAME)) {
cur = root->xmlChildrenNode;
do {
typedef struct vc_elm_core_widget_info vc_elm_widget_info;
/**
- * @brief A callback function type to be called to get wigdet subobjects list
+ * @brief A callback function type to be called to get widget subobjects list
*/
typedef Eina_List *(*vc_elm_get_subobjects_cb)(const Evas_Object *obj, void *user_data);
/**
* @brief vc_elm_core_object_skip_set function marks a widget that hint is not to be set
* @param obj pointer to widget
- * @return EINA_TRUE if succesful or EINA_FALSE otherwise
+ * @return EINA_TRUE if successful or EINA_FALSE otherwise
*/
Eina_Bool _vc_elm_core_set_skip_object(Evas_Object *obj);
* @brief vc_elm_core_object_hint_direction_get function gets tooltip's direction
* @param obj pointer to widget
* @param direction direction of the tooltip
- * @return EINA_TRUE if successfull, EINA_FALSE otherwise
+ * @return EINA_TRUE if successful, EINA_FALSE otherwise
*/
Eina_Bool _vc_elm_core_get_object_hint_direction(Evas_Object *obj, vc_elm_direction_e *direction);
/**
* @brief vc_elm_core_object_hint_direction_del function unsets tooltip's direction
* @param obj pointer to widget
- * @return EINA_TRUE if successfull, EINA_FALSE otherwise
+ * @return EINA_TRUE if successful, EINA_FALSE otherwise
*/
Eina_Bool _vc_elm_core_del_object_hint_direction(Evas_Object *obj);
/**
* @brief Function for scrolling elementary object
- * @param Scrolable Evas_Object
+ * @param Scrollable Evas_Object
* @param enumeration value of amount of scroll
* @param enumeration value of turn
* @param enumeration value of direction
}
/**
- * @brief Function that analyse layout for color objects.
+ * @brief Function that analyze layout for color objects.
*/
static void __sub_layout_inspect(Eina_List *ret, Evas_Object *widget)
{
- /*Temporary fix for pallete without tooltips*/
+ /*Temporary fix for palette without tooltips*/
const char *colors[] = {"pink", "violet", "purple", "navy", "blue", "cyan", "green", "lime", "yellow", "red"};
const Eina_List *l = NULL;
Evas_Object *obj = NULL;
void _vc_elm_add_tooltip(Evas_Object *obj, const char *text);
/**
- * @brief Function that recalculates postitons of all the visible tooltips
+ * @brief Function that recalculates positions of all the visible tooltips
* and shows them
*/
void _vc_elm_relayout_and_show_tooltips();
static void __vc_error_cb(vc_error_e reason, void *user_data)
{
(void)user_data;
- VC_ELM_LOG_ERR("VC Error occured : %d", reason);
+ VC_ELM_LOG_ERR("VC Error occurred : %d", reason);
}
static void __vc_result_cb(vc_result_event_e event, vc_cmd_list_h vc_cmd_list, const char *result, void *user_data)