forked from enlightenment/efl
Typo fixes.
Signed-off-by: Sanjeev BA <eflelev8@gmail.com> SVN revision: 69001
This commit is contained in:
parent
d8322c51d1
commit
b9b069e6c7
|
@ -4,7 +4,7 @@
|
|||
* @image html img/widget/dayselector/preview-00.png
|
||||
* @image latex img/widget/dayselector/preview-00.eps
|
||||
*
|
||||
* @brief <b>Dayselector widet:</b>
|
||||
* @brief <b>Dayselector widget:</b>
|
||||
*
|
||||
*"elm_dayselector" is a day selection widget. It displays all seven days of
|
||||
* the week and allows the user to select multiple days.
|
||||
|
@ -52,7 +52,7 @@
|
|||
*
|
||||
* The widget emits the following signals:
|
||||
* @li "dayselector,changed" - when the user changes the state of a day.
|
||||
* @li "language,changed" - the program's launguage changed
|
||||
* @li "language,changed" - the program's language changed
|
||||
*
|
||||
* Available styles for dayselector are:
|
||||
* @li default
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* Following figures shows the textual layouts of popup in which Title Area and
|
||||
* Action area area are optional ones.
|
||||
* Action area can have upto 3 buttons handled using elm_object common APIs
|
||||
* Action area can have up to 3 buttons handled using elm_object common APIs
|
||||
* mentioned below. If user wants to have more than 3 buttons then these buttons
|
||||
* can be put inside the items of a list as content.
|
||||
* User needs to handle the clicked signal of these action buttons if required.
|
||||
|
@ -248,7 +248,7 @@ EAPI double elm_popup_timeout_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
|
|||
* @param allow EINA_TRUE Events are passed to lower objects, else not
|
||||
*
|
||||
* Enabling allow event will remove the Blocked event area and events will
|
||||
* pass to the lowever layer objects otherwise they are blocked.
|
||||
* pass to the lower layer objects otherwise they are blocked.
|
||||
*
|
||||
* @ingroup Popup
|
||||
* @see elm_popup_allow_events_get()
|
||||
|
|
|
@ -107,7 +107,7 @@ EAPI void elm_bg_file_get(const Evas_Object *obj, const
|
|||
* This sets how the background widget will display its image. This
|
||||
* will only work if the elm_bg_file_set() was previously called with
|
||||
* an image file on @a obj. The image can be display tiled, scaled,
|
||||
* centered or streched.
|
||||
* centered or stretched.
|
||||
*
|
||||
* @see elm_bg_option_get()
|
||||
*
|
||||
|
|
|
@ -63,7 +63,7 @@ typedef struct _Elm_Calendar_Mark Elm_Calendar_Mark; /**< Item handle for a c
|
|||
* to display month and year.
|
||||
*
|
||||
* @param stime Struct representing time.
|
||||
* @return String represeting time that will be set to calendar's text.
|
||||
* @return String representing time that will be set to calendar's text.
|
||||
*
|
||||
* @see elm_calendar_format_function_set()
|
||||
*/
|
||||
|
|
|
@ -100,7 +100,7 @@ EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, in
|
|||
/**
|
||||
* Set the palette item's color.
|
||||
*
|
||||
* @param item The color paltte item.
|
||||
* @param item The color palette item.
|
||||
* @param r r-value of color
|
||||
* @param g g-value of color
|
||||
* @param b b-value of color
|
||||
|
|
|
@ -48,8 +48,8 @@ struct _Elm_Gen_Item_Class
|
|||
unsigned int refcount; /**< Set it to 0 if you use your own const class, or its managed for you by class ref/unref calls */
|
||||
Eina_Bool delete_me : 1; /**< Leave this alone - set it to 0 if you have a const class of your own */
|
||||
const char *item_style; /**< Name of the visual style to use for this item. If you don't know use "default" */
|
||||
const char *mode_item_style; /**< Style used if item is set to a specific mode. @see elm_genlist_item_mode_set() or NULL if you don't care. currenly it's used only in genlist. */
|
||||
const char *edit_item_style; /**< Style to use when in edit mode, or NULL if you don't care. currenly it's used only in genlist. */
|
||||
const char *mode_item_style; /**< Style used if item is set to a specific mode. @see elm_genlist_item_mode_set() or NULL if you don't care. currently it's used only in genlist. */
|
||||
const char *edit_item_style; /**< Style to use when in edit mode, or NULL if you don't care. currently it's used only in genlist. */
|
||||
struct {
|
||||
Elm_Gen_Item_Text_Get_Cb text_get; /**< Text fetching class function for gengrid/list item classes.*/
|
||||
Elm_Gen_Item_Content_Get_Cb content_get; /**< Content fetching class function for gengrid/list item classes. */
|
||||
|
|
|
@ -31,7 +31,7 @@ struct _GLData
|
|||
static float red = 1.0;
|
||||
|
||||
//--------------------------------//
|
||||
// a helper funtion to load shaders from a shader source
|
||||
// a helper function to load shaders from a shader source
|
||||
static GLuint
|
||||
load_shader( GLData *gld, GLenum type, const char *shader_src )
|
||||
{
|
||||
|
@ -281,10 +281,10 @@ elm_main(int argc, char **argv)
|
|||
// buffering.
|
||||
elm_glview_mode_set(gl, ELM_GLVIEW_ALPHA | ELM_GLVIEW_DEPTH);
|
||||
// resize policy tells glview what to do with the surface when it
|
||||
// reisizes. ELM_GLVIEW_RESIZE_POLICY_RECREATE will tell it to
|
||||
// resizes. ELM_GLVIEW_RESIZE_POLICY_RECREATE will tell it to
|
||||
// destroy the current surface and recreate it to the new size
|
||||
elm_glview_resize_policy_set(gl, ELM_GLVIEW_RESIZE_POLICY_RECREATE);
|
||||
// render poicy tells glview how it would like glview to render
|
||||
// render policy tells glview how it would like glview to render
|
||||
// gl code. ELM_GLVIEW_RENDER_POLICY_ON_DEMAND will have the gl
|
||||
// calls called in the pixel_get callback, which only gets called
|
||||
// if the object is visible, hence ON_DEMAND. ALWAYS mode renders
|
||||
|
@ -489,7 +489,7 @@ EAPI Eina_Bool elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Rend
|
|||
* @param func The init function to be registered.
|
||||
*
|
||||
* The registered init function gets called once during the render loop.
|
||||
* This function allows glview to hide all the redering context/surface
|
||||
* This function allows glview to hide all the rendering context/surface
|
||||
* details and have the user just call GL calls that they desire
|
||||
* for initialization GL calls.
|
||||
*
|
||||
|
@ -504,9 +504,9 @@ EAPI void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func_Cb
|
|||
* @param func The delete function to be registered.
|
||||
*
|
||||
* The registered del function gets called when GLView object is deleted.
|
||||
* This function allows glview to hide all the redering context/surface
|
||||
* This function allows glview to hide all the rendering context/surface
|
||||
* details and have the user just call GL calls that they desire
|
||||
* when delete happends.
|
||||
* when delete happens.
|
||||
*
|
||||
* @ingroup GLView
|
||||
*/
|
||||
|
@ -518,10 +518,10 @@ EAPI void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func_Cb f
|
|||
* @param obj The glview object.
|
||||
* @param func The resize function to be registered.
|
||||
*
|
||||
* The resize function getes called during the render loop.
|
||||
* This function allows glview to hide all the redering context/surface
|
||||
* The resize function gets called during the render loop.
|
||||
* This function allows glview to hide all the rendering context/surface
|
||||
* details and have the user just call GL calls that they desire
|
||||
* when resize happends.
|
||||
* when resize happens.
|
||||
*
|
||||
* @ingroup GLView
|
||||
*/
|
||||
|
|
|
@ -411,7 +411,7 @@ EAPI void elm_map_canvas_to_region_convert(const Evas_Object *o
|
|||
* @param lon The longitude to convert.
|
||||
* @param lat The latitude to convert.
|
||||
* @param x A pointer to horizontal coordinate.
|
||||
* @param y A pointer to vertical coordinatet.
|
||||
* @param y A pointer to vertical coordinate.
|
||||
*
|
||||
* This gets canvas x, y coordinates from longitude and latitude. The canvas
|
||||
* coordinates mean x, y coordinate from current viewport.
|
||||
|
@ -1025,7 +1025,7 @@ EAPI int elm_map_overlay_class_zoom_max_get(const Elm_Map_Over
|
|||
* @param obj The map object to add a new overlay.
|
||||
* @return The created overlay or @c NULL upon failure.
|
||||
*
|
||||
* A bubble will not be displayed before geogrphic coordinates are set or
|
||||
* A bubble will not be displayed before geographic coordinates are set or
|
||||
* any other overlays are followed.
|
||||
*
|
||||
* This overlay has a bubble style layout and icon or content can not
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
* never blocks waiting on IO (though normally this should be the users
|
||||
* job - if using genlist, to ensure all data genlist needs is in memory at
|
||||
* the time it needs it, and if it isn't to queue and defer a fetch and let
|
||||
* genlist know later when its ready. Store actualyl does this and implements
|
||||
* the infrastrucutre of this, leaving the actual fetch and convert up to
|
||||
* genlist know later when its ready. Store actually does this and implements
|
||||
* the infrastructure of this, leaving the actual fetch and convert up to
|
||||
* functions provided by the user).
|
||||
*
|
||||
* It is possible for store to run inline without a thread, but this is
|
||||
|
@ -28,7 +28,7 @@
|
|||
* returns EINA_TRUE and also provides a "sort id" which is a string
|
||||
* store uses to figure out sorting. This string could be the filename, or
|
||||
* some data based on its contents. The strings are sorted alphabetically
|
||||
* like any normal ascii strings, with case being important. As this listing
|
||||
* like any normal ASCII strings, with case being important. As this listing
|
||||
* function runs in a thread, it can do blocking IO and parsing without
|
||||
* hurting the fluidity of the main loop and GUI. The list function also
|
||||
* returns information on how to map fields in the source file to elements
|
||||
|
@ -39,7 +39,7 @@
|
|||
* content needed for the genlist item).
|
||||
*
|
||||
* Store then uses this sort id to build (over time) a sorted list of items
|
||||
* that then map 1:1 to genlist items. When these items are visibile and
|
||||
* that then map 1:1 to genlist items. When these items are visible and
|
||||
* need content, Store calls the fetch function per item, which is responsible
|
||||
* for fetching the data from the given item and returning data to store
|
||||
* so it can map this to some item content. This function also runs in a
|
||||
|
@ -55,14 +55,14 @@
|
|||
*/
|
||||
|
||||
typedef struct _Elm_Store Elm_Store; /**< A store object */
|
||||
typedef struct _Elm_Store_Item Elm_Store_Item; /**< A handle of a sotre item passed to store fetch/unfetch functions */
|
||||
typedef struct _Elm_Store_Item Elm_Store_Item; /**< A handle of a store item passed to store fetch/unfetch functions */
|
||||
typedef struct _Elm_Store_Item_Info Elm_Store_Item_Info; /**< Basic information about a store item - always cast into a specific type like Elm_Store_Item_Info_Filesystem */
|
||||
typedef struct _Elm_Store_Item_Info_Filesystem Elm_Store_Item_Info_Filesystem; /**< Filesystem specific information about a store item */
|
||||
typedef struct _Elm_Store_Item_Mapping Elm_Store_Item_Mapping; /**< A basic way of telling Store how to take your return data (string, or something else from your struct) and convert it into something genlist can use */
|
||||
typedef struct _Elm_Store_Item_Mapping_Empty Elm_Store_Item_Mapping_Empty; /**< An empty piece of mapping information. Useful for String labels as they get used directly */
|
||||
typedef struct _Elm_Store_Item_Mapping_Icon Elm_Store_Item_Mapping_Icon; /***< The data being mapped at the given address is an icon, so use these properties for finding it */
|
||||
typedef struct _Elm_Store_Item_Mapping_Photo Elm_Store_Item_Mapping_Photo; /**< The data is a photo, so use these parameters to find it */
|
||||
typedef struct _Elm_Store_Item_Mapping_Custom Elm_Store_Item_Mapping_Custom; /**> The item needs a custom mappign which means calling a function and returning a string from it, as opposed to a static lookup. It should not be allocated, and should live in a buffer in memory that survives the return of this function if its a label, or an allocated icon object if its an icon needed etc. */
|
||||
typedef struct _Elm_Store_Item_Mapping_Custom Elm_Store_Item_Mapping_Custom; /**> The item needs a custom mapping which means calling a function and returning a string from it, as opposed to a static lookup. It should not be allocated, and should live in a buffer in memory that survives the return of this function if its a label, or an allocated icon object if its an icon needed etc. */
|
||||
|
||||
typedef Eina_Bool (*Elm_Store_Item_List_Cb)(void *data, Elm_Store_Item_Info *info); /**< Function to call for listing an item */
|
||||
typedef void (*Elm_Store_Item_Fetch_Cb)(void *data, Elm_Store_Item *sti); /**< Function to call to fetch item data */
|
||||
|
@ -84,7 +84,7 @@ struct _Elm_Store_Item_Mapping_Icon
|
|||
{
|
||||
int w, h; /**< The desired icon size in addition to the file path returned from the mapping */
|
||||
Elm_Icon_Lookup_Order lookup_order; /**< The order in which to find the icon */
|
||||
Eina_Bool standard_name : 1; /**< Use a standard name to find it (EINA_TRUE) ornot */
|
||||
Eina_Bool standard_name : 1; /**< Use a standard name to find it (EINA_TRUE) or not */
|
||||
Eina_Bool no_scale : 1; /**< EINA_TRUE is you don't want the icon scaled */
|
||||
Eina_Bool smooth : 1; /**< EINA_TRUE if icon is to be smooth scaled */
|
||||
Eina_Bool scale_up : 1; /**< EINA_TRUE if scaling up is allowed */
|
||||
|
@ -93,7 +93,7 @@ struct _Elm_Store_Item_Mapping_Icon
|
|||
|
||||
struct _Elm_Store_Item_Mapping_Empty
|
||||
{
|
||||
Eina_Bool dummy; /**< dumnmy entry - set to anything you like */
|
||||
Eina_Bool dummy; /**< dummy entry - set to anything you like */
|
||||
};
|
||||
|
||||
struct _Elm_Store_Item_Mapping_Photo
|
||||
|
@ -110,7 +110,7 @@ struct _Elm_Store_Item_Mapping
|
|||
{
|
||||
Elm_Store_Item_Mapping_Type type; /**< what kind of mapping is this */
|
||||
const char *part; /**< what part name in the genlist item is this filling in */
|
||||
int offset; /**< offset in memory (in bytes) relative to base of structture for item data where the data for the mapping lives */
|
||||
int offset; /**< offset in memory (in bytes) relative to base of structure for item data where the data for the mapping lives */
|
||||
union
|
||||
{
|
||||
Elm_Store_Item_Mapping_Empty empty;
|
||||
|
@ -170,7 +170,7 @@ EAPI void elm_store_free(Elm_Store *st);
|
|||
* need a new directory scanned, create a new store.
|
||||
*
|
||||
* @param st The store to modify
|
||||
* @param dir A string giving hte path to the directory to scan
|
||||
* @param dir A string giving the path to the directory to scan
|
||||
*/
|
||||
EAPI void elm_store_filesystem_directory_set(Elm_Store *st, const char *dir);
|
||||
|
||||
|
@ -213,7 +213,7 @@ EAPI void elm_store_target_genlist_set(Elm_Store *st, Evas_Ob
|
|||
/**
|
||||
* Set the maximum number of items that are not visible to keep cached
|
||||
*
|
||||
* Store may keep some items around for cachng purposes that cannot be seen,
|
||||
* Store may keep some items around for caching purposes that cannot be seen,
|
||||
* so this controls the maximum number. The default is 128, but may change
|
||||
* at any point in time in the future.
|
||||
*
|
||||
|
@ -255,7 +255,7 @@ EAPI void elm_store_list_func_set(Elm_Store *st, Elm_Store_It
|
|||
* from a thread (unless elm_store_fetch_thread_set() disables this). The
|
||||
* fetch function is to read data from the source and fill a structure
|
||||
* allocated for this item with fields and then rely on the mapping setup
|
||||
* to tell Store how to take a field inthe structure and apply it to a
|
||||
* to tell Store how to take a field in the structure and apply it to a
|
||||
* genlist item.
|
||||
*
|
||||
* @param st The store to set the function of
|
||||
|
@ -268,7 +268,7 @@ EAPI void elm_store_fetch_func_set(Elm_Store *st, Elm_Store_I
|
|||
* Set the function used to free the structure allocated for the item
|
||||
*
|
||||
* This function is called per item when it is not needed in memory anymore
|
||||
* and should free the structure allocaed in and filled in the function set
|
||||
* and should free the structure allocated in and filled in the function set
|
||||
* by elm_store_fetch_func_set().
|
||||
*
|
||||
* @param st The store to set the function of
|
||||
|
@ -313,7 +313,7 @@ EAPI void elm_store_sorted_set(Elm_Store *st, Eina_Bool sorte
|
|||
* Get the sorted flag as set by elm_store_sorted_set().
|
||||
*
|
||||
* @param st The store to query
|
||||
* @return EINA_TRUE if sorted, EINA_FALE if not.
|
||||
* @return EINA_TRUE if sorted, EINA_FALSE if not.
|
||||
*/
|
||||
EAPI Eina_Bool elm_store_sorted_get(const Elm_Store *st);
|
||||
|
||||
|
@ -341,7 +341,7 @@ EAPI void elm_store_item_data_set(Elm_Store_Item *sti, void *
|
|||
EAPI void *elm_store_item_data_get(Elm_Store_Item *sti);
|
||||
|
||||
/**
|
||||
* Fetch the sotre than a store item belongs to
|
||||
* Fetch the store than a store item belongs to
|
||||
*
|
||||
* This fetches the store object that owns the store item.
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue