// SanjeevBA
#include <elm_panel.h> // OK
#include <elm_panes.h> // OK
-#include <elm_password.h> // OK
#include <elm_photocam.h> // OK
#include <elm_photo.h> // OK
#include <elm_plug.h> // OK
elm_object_item.h \
elm_panel.h \
elm_panes.h \
-elm_password.h \
elm_photocam.h \
elm_photo.h \
elm_progressbar.h \
_elm_rescale();
}
+EAPI Eina_Bool
+elm_cursor_engine_only_get(void)
+{
+ return _elm_config->cursor_engine_only;
+}
+
+EAPI void
+elm_cursor_engine_only_set(Eina_Bool engine_only)
+{
+ engine_only = !!engine_only;
+ _elm_config->cursor_engine_only = engine_only;
+}
+
+EINA_DEPRECATED EAPI double
+elm_tooltip_delay_get(void)
+{
+ return elm_config_tooltip_delay_get();
+}
+
+EINA_DEPRECATED EAPI Eina_Bool
+elm_tooltip_delay_set(double delay)
+{
+ elm_config_tooltip_delay_set(delay);
+ return EINA_TRUE;
+}
+
+EAPI double elm_config_tooltip_delay_get(void)
+{
+ return _elm_config->tooltip_delay;
+}
+
+EAPI void elm_config_tooltip_delay_set(double delay)
+{
+ if (delay < 0.0) return;
+ _elm_config->tooltip_delay = delay;
+}
+
+EAPI double
+elm_scale_get(void)
+{
+ return _elm_config->scale;
+}
+
+EAPI void
+elm_scale_set(double scale)
+{
+ if (_elm_config->scale == scale) return;
+ _elm_config->scale = scale;
+ _elm_rescale();
+}
+
+EAPI Eina_Bool
+elm_password_show_last_get(void)
+{
+ return _elm_config->password_show_last;
+}
+
+EAPI void
+elm_password_show_last_set(Eina_Bool password_show_last)
+{
+ if (_elm_config->password_show_last == password_show_last) return;
+ _elm_config->password_show_last = password_show_last;
+ edje_password_show_last_set(_elm_config->password_show_last);
+}
+
+EAPI double
+elm_password_show_last_timeout_get(void)
+{
+ return _elm_config->password_show_last_timeout;
+}
+
+EAPI void
+elm_password_show_last_timeout_set(double password_show_last_timeout)
+{
+ if (_elm_config->password_show_last_timeout == password_show_last_timeout) return;
+ _elm_config->password_show_last_timeout = password_show_last_timeout;
+ edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
+}
+
EAPI void
elm_config_all_flush(void)
{
*
* @return EINA_TRUE if value is set.
*/
-EAPI Eina_Bool elm_config_tooltip_delay_set(double delay);
+EAPI void elm_config_tooltip_delay_set(double delay);
+
+/**
+ * Get the configured cursor engine only usage
+ *
+ * This gets the globally configured exclusive usage of engine cursors.
+ *
+ * @return 1 if only engine cursors should be used
+ * @ingroup Cursors
+ */
+EAPI Eina_Bool elm_cursor_engine_only_get(void);
+
+/**
+ * Set the configured cursor engine only usage
+ *
+ * This sets the globally configured exclusive usage of engine cursors.
+ * It won't affect cursors set before changing this value.
+ *
+ * @param engine_only If 1 only engine cursors will be enabled, if 0 will
+ * look for them on theme before.
+ * @ingroup Cursors
+ */
+EAPI void elm_cursor_engine_only_set(Eina_Bool engine_only);
+
+/**
+ * Get the global scaling factor
+ *
+ * This gets the globally configured scaling factor that is applied to all
+ * objects.
+ *
+ * @return The scaling factor
+ * @ingroup Scaling
+ */
+EAPI double elm_scale_get(void);
+
+/**
+ * Set the global scaling factor
+ *
+ * This sets the globally configured scaling factor that is applied to all
+ * objects.
+ *
+ * @param scale The scaling factor to set
+ * @ingroup Scaling
+ */
+EAPI void elm_scale_set(double scale);
+
+/**
+ * @defgroup Password_last_show Password show last
+ *
+ * Show last feature of password mode enables user to view
+ * the last input entered for few seconds before masking it.
+ * These functions allow to set this feature in password mode
+ * of entry widget and also allow to manipulate the duration
+ * for which the input has to be visible.
+ *
+ * @{
+ */
+
+/**
+ * Get the "show last" setting of password mode.
+ *
+ * This gets the "show last" setting of password mode which might be
+ * enabled or disabled.
+ *
+ * @return @c EINA_TRUE, if the "show last" setting is enabled,
+ * @c EINA_FALSE if it's disabled.
+ *
+ * @ingroup Password_last_show
+ */
+EAPI Eina_Bool elm_password_show_last_get(void);
+
+/**
+ * Set show last setting in password mode.
+ *
+ * This enables or disables show last setting of password mode.
+ *
+ * @param password_show_last If EINA_TRUE enables "show last" in password mode.
+ * @see elm_password_show_last_timeout_set()
+ * @ingroup Password_last_show
+ */
+EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
+
+/**
+ * Gets the timeout value in "show last" password mode.
+ *
+ * This gets the time out value for which the last input entered in password
+ * mode will be visible.
+ *
+ * @return The timeout value of "show last" password mode.
+ * @ingroup Password_last_show
+ */
+EAPI double elm_password_show_last_timeout_get(void);
+
+/**
+ * Set's the timeout value in "show last" password mode.
+ *
+ * This sets the time out value for which the last input entered in password
+ * mode will be visible.
+ *
+ * @param password_show_last_timeout The timeout value.
+ * @see elm_password_show_last_set()
+ * @ingroup Password_last_show
+ */
+EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
+
+/**
+ * @}
+ */
+
EAPI Eina_Bool elm_object_cursor_theme_search_enabled_get(const Evas_Object *obj);
/**
- * Get the configured cursor engine only usage
- *
- * This gets the globally configured exclusive usage of engine cursors.
- *
- * @return 1 if only engine cursors should be used
- * @ingroup Cursors
- */
-// XXX: need to review
-EAPI int elm_cursor_engine_only_get(void);
-
-/**
- * Set the configured cursor engine only usage
- *
- * This sets the globally configured exclusive usage of engine cursors.
- * It won't affect cursors set before changing this value.
- *
- * @param engine_only If 1 only engine cursors will be enabled, if 0 will
- * look for them on theme before.
- * @return EINA_TRUE if value is valid and set (0 or 1)
- * @ingroup Cursors
- */
-// XXX: need to review
-EAPI Eina_Bool elm_cursor_engine_only_set(int engine_only);
-
-/**
* @}
*/
return elm_widget_content_part_unset(obj, part);
}
-EAPI double
-elm_scale_get(void)
-{
- return _elm_config->scale;
-}
-
-EAPI void
-elm_scale_set(double scale)
-{
- if (_elm_config->scale == scale) return;
- _elm_config->scale = scale;
- _elm_rescale();
-}
-
-EAPI Eina_Bool
-elm_password_show_last_get(void)
-{
- return _elm_config->password_show_last;
-}
-
-EAPI void
-elm_password_show_last_set(Eina_Bool password_show_last)
-{
- if (_elm_config->password_show_last == password_show_last) return;
- _elm_config->password_show_last = password_show_last;
- edje_password_show_last_set(_elm_config->password_show_last);
-}
-
-EAPI double
-elm_password_show_last_timeout_get(void)
-{
- return _elm_config->password_show_last_timeout;
-}
-
-EAPI void
-elm_password_show_last_timeout_set(double password_show_last_timeout)
-{
- if (_elm_config->password_show_last_timeout == password_show_last_timeout) return;
- _elm_config->password_show_last_timeout = password_show_last_timeout;
- edje_password_show_last_timeout_set(_elm_config->password_show_last_timeout);
-}
-
EAPI void
elm_object_style_set(Evas_Object *obj,
const char *style)
+++ /dev/null
-/**
- * @defgroup Password_last_show Password show last
- *
- * Show last feature of password mode enables user to view
- * the last input entered for few seconds before masking it.
- * These functions allow to set this feature in password mode
- * of entry widget and also allow to manipulate the duration
- * for which the input has to be visible.
- *
- * @{
- */
-
-/**
- * Get the "show last" setting of password mode.
- *
- * This gets the "show last" setting of password mode which might be
- * enabled or disabled.
- *
- * @return @c EINA_TRUE, if the "show last" setting is enabled,
- * @c EINA_FALSE if it's disabled.
- *
- * @ingroup Password_last_show
- */
-EAPI Eina_Bool elm_password_show_last_get(void);
-
-/**
- * Set show last setting in password mode.
- *
- * This enables or disables show last setting of password mode.
- *
- * @param password_show_last If EINA_TRUE enables "show last" in password mode.
- * @see elm_password_show_last_timeout_set()
- * @ingroup Password_last_show
- */
-EAPI void elm_password_show_last_set(Eina_Bool password_show_last);
-
-/**
- * Gets the timeout value in "show last" password mode.
- *
- * This gets the time out value for which the last input entered in password
- * mode will be visible.
- *
- * @return The timeout value of "show last" password mode.
- * @ingroup Password_last_show
- */
-EAPI double elm_password_show_last_timeout_get(void);
-
-/**
- * Set's the timeout value in "show last" password mode.
- *
- * This sets the time out value for which the last input entered in password
- * mode will be visible.
- *
- * @param password_show_last_timeout The timeout value.
- * @see elm_password_show_last_set()
- * @ingroup Password_last_show
- */
-EAPI void elm_password_show_last_timeout_set(double password_show_last_timeout);
-
-/**
- * @}
- */
*/
/**
- * Get the global scaling factor
- *
- * This gets the globally configured scaling factor that is applied to all
- * objects.
- *
- * @return The scaling factor
- * @ingroup Scaling
- */
-EAPI double elm_scale_get(void);
-
-/**
- * Set the global scaling factor
- *
- * This sets the globally configured scaling factor that is applied to all
- * objects.
- *
- * @param scale The scaling factor to set
- * @ingroup Scaling
- */
-EAPI void elm_scale_set(double scale);
-
-/**
* Set the scaling factor for a given Elementary object
*
* @param obj The Elementary to operate on
ELM_CURSOR_GET_OR_RETURN(cur, obj, EINA_FALSE);
return cur->engine_only;
}
-
-EAPI int
-elm_cursor_engine_only_get(void)
-{
- return _elm_config->cursor_engine_only;
-}
-
-EAPI Eina_Bool
-elm_cursor_engine_only_set(int engine_only)
-{
- if ((engine_only < 0) || (engine_only > 1)) return EINA_FALSE;
- _elm_config->cursor_engine_only = engine_only;
- return EINA_TRUE;
-}
}
/**
- * Get the configured tooltip delay
- *
- * This gets the globally configured tooltip delay in seconds
- *
- * @return The tooltip delay
- * @ingroup Tooltips
- */
-EINA_DEPRECATED EAPI double
-elm_tooltip_delay_get(void)
-{
- return elm_config_tooltip_delay_get();
-}
-
-EAPI double elm_config_tooltip_delay_get(void)
-{
- return _elm_config->tooltip_delay;
-}
-
-/**
- * Set the configured tooltip delay
- *
- * This sets the globally configured delay to tooltip
- *
- * @param delay The delay to show the tooltip
- * @return EINA_TRUE if value is valid and setted
- * @ingroup Tooltips
- */
-EINA_DEPRECATED EAPI Eina_Bool
-elm_tooltip_delay_set(double delay)
-{
- return elm_config_tooltip_delay_set(delay);
-}
-
-EAPI Eina_Bool elm_config_tooltip_delay_set(double delay)
-{
- if (delay < 0.0) return EINA_FALSE;
- _elm_config->tooltip_delay = delay;
- return EINA_TRUE;
-}
-
-/**
* @brief Disable size restrictions on an object's tooltip
* @param obj The tooltip's anchor object
* @param disable If EINA_TRUE, size restrictions are disabled