summaryrefslogtreecommitdiff
path: root/legacy/elementary/src/lib/elm_theme.h
diff options
context:
space:
mode:
authorSanjeev BA <iamsanjeev@gmail.com>2012-02-14 08:50:49 +0000
committerSanjeev BA <iamsanjeev@gmail.com>2012-02-14 08:50:49 +0000
commit22518d5a24a4c5cbb6a908c2195be1ffce7bf9ec (patch)
tree2b97756c704f7823f3ea7af585b2dab04d549111 /legacy/elementary/src/lib/elm_theme.h
parent37a646a98e1a04fd57a53c00b700236a74394999 (diff)
Fix typos in documentation #10.
Signed-off-by: Sanjeev BA <iamsanjeev@gmail.com> SVN revision: 67913
Diffstat (limited to '')
-rw-r--r--legacy/elementary/src/lib/elm_theme.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/legacy/elementary/src/lib/elm_theme.h b/legacy/elementary/src/lib/elm_theme.h
index ccf4721..f5d8795 100644
--- a/legacy/elementary/src/lib/elm_theme.h
+++ b/legacy/elementary/src/lib/elm_theme.h
@@ -22,7 +22,7 @@
22 * by setting the @c ELM_THEME environment variable before running an 22 * by setting the @c ELM_THEME environment variable before running an
23 * application, or globally for all programs using the @c elementary_config 23 * application, or globally for all programs using the @c elementary_config
24 * utility. Applications can change the default theme using elm_theme_set(), 24 * utility. Applications can change the default theme using elm_theme_set(),
25 * but this can go against the user wishes, so it's not an adviced practice. 25 * but this can go against the user wishes, so it's not an advised practice.
26 * 26 *
27 * Ideally, applications should find everything they need in the already 27 * Ideally, applications should find everything they need in the already
28 * provided theme, but there may be occasions when that's not enough and 28 * provided theme, but there may be occasions when that's not enough and
@@ -49,7 +49,7 @@
49 * theme for the application and will probably clash with the end user 49 * theme for the application and will probably clash with the end user
50 * options, not to mention the risk of ending up with not matching styles 50 * options, not to mention the risk of ending up with not matching styles
51 * across the program. Unless there's a very special reason to use them, 51 * across the program. Unless there's a very special reason to use them,
52 * overlays should be avoided for the resons exposed before. 52 * overlays should be avoided for the reasons exposed before.
53 * 53 *
54 * All these theme lists are handled by ::Elm_Theme instances. Elementary 54 * All these theme lists are handled by ::Elm_Theme instances. Elementary
55 * keeps one default internally and every function that receives one of 55 * keeps one default internally and every function that receives one of
@@ -104,7 +104,7 @@ EAPI Elm_Theme *elm_theme_new(void);
104EAPI void elm_theme_free(Elm_Theme *th); 104EAPI void elm_theme_free(Elm_Theme *th);
105 105
106/** 106/**
107 * Copy the theme fom the source to the destination theme 107 * Copy the theme from the source to the destination theme
108 * 108 *
109 * @param th The source theme to copy from 109 * @param th The source theme to copy from
110 * @param thdst The destination theme to copy data to 110 * @param thdst The destination theme to copy data to
@@ -161,7 +161,7 @@ EAPI Elm_Theme *elm_theme_default_get(void);
161 * new styles, or changing system theme configuration is not possible. Do 161 * new styles, or changing system theme configuration is not possible. Do
162 * NOT use this instead of a proper system theme configuration. Use proper 162 * NOT use this instead of a proper system theme configuration. Use proper
163 * configuration files, profiles, environment variables etc. to set a theme 163 * configuration files, profiles, environment variables etc. to set a theme
164 * so that the theme can be altered by simple confiugration by a user. Using 164 * so that the theme can be altered by simple configuration by a user. Using
165 * this call to achieve that effect is abusing the API and will create lots 165 * this call to achieve that effect is abusing the API and will create lots
166 * of trouble. 166 * of trouble.
167 * 167 *
@@ -256,7 +256,7 @@ EAPI const char *elm_theme_get(Elm_Theme *th);
256 * 256 *
257 * A theme element can consist of a full or relative path to a .edj file, 257 * A theme element can consist of a full or relative path to a .edj file,
258 * or a name, without extension, for a theme to be searched in the known 258 * or a name, without extension, for a theme to be searched in the known
259 * theme paths for Elemementary. 259 * theme paths for Elementary.
260 * 260 *
261 * @see elm_theme_set() 261 * @see elm_theme_set()
262 * @see elm_theme_get() 262 * @see elm_theme_get()
@@ -264,7 +264,7 @@ EAPI const char *elm_theme_get(Elm_Theme *th);
264EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th); 264EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
265 265
266/** 266/**
267 * Return the full patrh for a theme element 267 * Return the full path for a theme element
268 * 268 *
269 * @param f The theme element name 269 * @param f The theme element name
270 * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not 270 * @param in_search_path Pointer to a boolean to indicate if item is in the search path or not
@@ -272,11 +272,11 @@ EAPI const Eina_List *elm_theme_list_get(const Elm_Theme *th);
272 * 272 *
273 * This returns a string you should free with free() on success, NULL on 273 * This returns a string you should free with free() on success, NULL on
274 * failure. This will search for the given theme element, and if it is a 274 * failure. This will search for the given theme element, and if it is a
275 * full or relative path element or a simple searchable name. The returned 275 * full or relative path element or a simple search-able name. The returned
276 * path is the full path to the file, if searched, and the file exists, or it 276 * path is the full path to the file, if searched, and the file exists, or it
277 * is simply the full path given in the element or a resolved path if 277 * is simply the full path given in the element or a resolved path if
278 * relative to home. The @p in_search_path boolean pointed to is set to 278 * relative to home. The @p in_search_path boolean pointed to is set to
279 * EINA_TRUE if the file was a searchable file andis in the search path, 279 * EINA_TRUE if the file was a search-able file and is in the search path,
280 * and EINA_FALSE otherwise. 280 * and EINA_FALSE otherwise.
281 */ 281 */
282EAPI char *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path); 282EAPI char *elm_theme_list_item_path_get(const char *f, Eina_Bool *in_search_path);
@@ -351,7 +351,7 @@ EAPI void elm_object_theme_set(Evas_Object *obj, Elm_Theme *th);
351 * Get the specific theme to be used 351 * Get the specific theme to be used
352 * 352 *
353 * @param obj The object to get the specific theme from 353 * @param obj The object to get the specific theme from
354 * @return The specifc theme set. 354 * @return The specific theme set.
355 * 355 *
356 * This will return a specific theme set, or NULL if no specific theme is 356 * This will return a specific theme set, or NULL if no specific theme is
357 * set on that object. It will not return inherited themes from parents, only 357 * set on that object. It will not return inherited themes from parents, only