elm: Fixed formatting.

SVN revision: 69700
devs/felipealmeida/promises
Daniel Juyung Seo 11 years ago
parent 9d2fb4b4b5
commit 7908a77ad8
  1. 12
      legacy/elementary/src/lib/elc_dayselector.h
  2. 4
      legacy/elementary/src/lib/elc_multibuttonentry.c
  3. 12
      legacy/elementary/src/lib/elc_multibuttonentry.h
  4. 2
      legacy/elementary/src/lib/elc_naviframe.c
  5. 4
      legacy/elementary/src/lib/elc_naviframe.h
  6. 2
      legacy/elementary/src/lib/elm_actionslider.h
  7. 2
      legacy/elementary/src/lib/elm_authors.h
  8. 7
      legacy/elementary/src/lib/elm_bg.c
  9. 2
      legacy/elementary/src/lib/elm_bubble.c
  10. 2
      legacy/elementary/src/lib/elm_bubble.h
  11. 2
      legacy/elementary/src/lib/elm_button.h
  12. 2
      legacy/elementary/src/lib/elm_calendar.h
  13. 2
      legacy/elementary/src/lib/elm_check.h
  14. 8
      legacy/elementary/src/lib/elm_colorselector.h
  15. 2
      legacy/elementary/src/lib/elm_config.c
  16. 16
      legacy/elementary/src/lib/elm_config.h
  17. 9
      legacy/elementary/src/lib/elm_entry.c
  18. 22
      legacy/elementary/src/lib/elm_entry.h
  19. 7
      legacy/elementary/src/lib/elm_flip.c
  20. 6
      legacy/elementary/src/lib/elm_flip.h
  21. 8
      legacy/elementary/src/lib/elm_genlist.h
  22. 6
      legacy/elementary/src/lib/elm_gesture_layer.c
  23. 22
      legacy/elementary/src/lib/elm_getting_started.h
  24. 28
      legacy/elementary/src/lib/elm_glview.h
  25. 27
      legacy/elementary/src/lib/elm_icon.c
  26. 4
      legacy/elementary/src/lib/elm_index.c
  27. 10
      legacy/elementary/src/lib/elm_index.h
  28. 18
      legacy/elementary/src/lib/elm_intro.h
  29. 47
      legacy/elementary/src/lib/elm_layout.c
  30. 5
      legacy/elementary/src/lib/elm_list.c
  31. 11
      legacy/elementary/src/lib/elm_menu.c
  32. 2
      legacy/elementary/src/lib/elm_menu.h
  33. 2
      legacy/elementary/src/lib/elm_object_item.h
  34. 20
      legacy/elementary/src/lib/elm_photo.c
  35. 2
      legacy/elementary/src/lib/elm_photo.h
  36. 2
      legacy/elementary/src/lib/elm_plug.h
  37. 6
      legacy/elementary/src/lib/elm_radio.h
  38. 6
      legacy/elementary/src/lib/elm_removed.h
  39. 2
      legacy/elementary/src/lib/elm_segment_control.h
  40. 6
      legacy/elementary/src/lib/elm_slider.c
  41. 5
      legacy/elementary/src/lib/elm_slideshow.c
  42. 6
      legacy/elementary/src/lib/elm_spinner.c
  43. 18
      legacy/elementary/src/lib/elm_spinner.h
  44. 47
      legacy/elementary/src/lib/elm_store.c
  45. 88
      legacy/elementary/src/lib/elm_store.h
  46. 9
      legacy/elementary/src/lib/elm_toolbar.c
  47. 2
      legacy/elementary/src/lib/elm_tooltip.h
  48. 35
      legacy/elementary/src/lib/elm_transit.c
  49. 10
      legacy/elementary/src/lib/elm_transit.h
  50. 18
      legacy/elementary/src/lib/elm_video.h
  51. 67
      legacy/elementary/src/lib/elm_web.c
  52. 2
      legacy/elementary/src/lib/elm_web.h
  53. 14
      legacy/elementary/src/lib/elm_widget.c
  54. 108
      legacy/elementary/src/lib/elm_win.c
  55. 10
      legacy/elementary/src/lib/elm_win.h
  56. 135
      legacy/elementary/src/lib/els_scroller.c
  57. 14
      legacy/elementary/src/lib/els_tooltip.c

@ -11,22 +11,22 @@
*
* The selection can be toggle by just clicking on the day.
*
* Dayselector also provides the functionality to check whether a day is
* Dayselector also provides the functionality to check whether a day is
* selected or not.
*
* First day of the week is taken from config settings by default. It can be
* First day of the week is taken from config settings by default. It can be
* altered by using the API elm_dayselector_week_start_set() API.
*
* APIs are provided for setting the duration of weekend
* APIs are provided for setting the duration of weekend
* elm_dayselector_weekend_start_set() and elm_dayselector_weekend_length_set()
* does this job.
*
* Two styles of weekdays and weekends are supported in Dayselector.
* Application can emit signals on individual check objects for setting the
* Application can emit signals on individual check objects for setting the
* weekday, weekend styles.
*
* Once the weekend start day or weekend length changes, all the weekday &
* weekend styles will be reset to default style. It's the application's
* Once the weekend start day or weekend length changes, all the weekday &
* weekend styles will be reset to default style. It's the application's
* responsibility to set the styles again by sending corresponding signals.
*
* Supported elm_object_item common APIs.

@ -1195,8 +1195,8 @@ _view_init(Evas_Object *obj)
if (size_str) button_min_height = (Evas_Coord)atoi(size_str);
wd->end_type = MULTIBUTTONENTRY_CLOSED_IMAGE;
evas_object_size_hint_min_set(wd->end,
button_min_width * _elm_config->scale,
evas_object_size_hint_min_set(wd->end,
button_min_width * _elm_config->scale,
button_min_height * _elm_config->scale);
elm_widget_sub_object_add(obj, wd->end);
}

@ -1,12 +1,12 @@
/**
* @defgroup Multibuttonentry Multibuttonentry
*
* A Multibuttonentry is a widget to allow a user enter text and manage it as a number
* of buttons. Each text button is inserted by pressing the "return" key.
* If there is no space in the current row, a new button is added to the next row.
* A Multibuttonentry is a widget to allow a user enter text and manage it as a number
* of buttons. Each text button is inserted by pressing the "return" key.
* If there is no space in the current row, a new button is added to the next row.
* When a text button is pressed, it will become focused.
* Backspace removes the focus.
* When the Multibuttonentry loses focus items longer than one line are shrunk
* When the Multibuttonentry loses focus items longer than one line are shrunk
* to one line.
*
* Typical use case of multibuttonentry is, composing emails/messages to a group
@ -54,7 +54,7 @@
*
* @param obj The parent object
* @param item_label The label corresponding to the added item.
* @param item_data data specific to this item.
* @param item_data data specific to this item.
* @param data data specific to the multibuttonentry.
*
* @return EINA_TRUE
@ -105,7 +105,7 @@ EAPI Eina_Bool elm_multibuttonentry_expanded_get(const Evas_Obj
*
* @param obj The multibuttonentry object
* @param expanded the value of expanded state.
* Set this to EINA_TRUE for expanded state.
* Set this to EINA_TRUE for expanded state.
* Set this to EINA_FALSE for single line state.
*
* @ingroup Multibuttonentry

@ -1000,7 +1000,7 @@ _item_style_set(Elm_Naviframe_Item *navi_it, const char *item_style)
if (navi_it->title_next_btn)
elm_object_signal_emit(VIEW(navi_it), "elm,state,next_btn,show", "elm");
// why does this forcibly enable title? isnt that separate to style?
// why does this forcibly enable title? isnt that separate to style?
// navi_it->title_visible = EINA_TRUE;
_sizing_eval(WIDGET(navi_it));

@ -14,14 +14,14 @@
* Since each item could keep the different styles, users could keep the
* same look & feel for the pages or different styles for the items in it's
* application.
*
*
* Default content parts of the naviframe that you can use content hooks for
* are:
* @li "default" - The main content of the current page
* @li "icon" - An icon in the title area of the current page
* @li "prev_btn" - A button of the current page to go to the previous page
* @li "next_btn" - A button of the current page to go to the next page
*
*
* Default text parts of the naviframe that you can use for are:
* @li "default" - Title label in the title area of the current page
* @li "subtitle" - Sub-title label in the title area of the current page

@ -36,7 +36,7 @@
* Supported elm_object common APIs.
* @li elm_object_part_text_set
* @li elm_object_part_text_get
*
*
* See an example of actionslider usage @ref actionslider_example_page "here"
* @{
*/

@ -55,7 +55,7 @@
* @author Hyunsil Park <hyunsil.park@samsung.com>
* @author Goun Lee <gouni.lee@samsung.com>
* @author Mikael Sans <sans.mikael@gmail.com>
*
*
* Please contact <enlightenment-devel@lists.sourceforge.net> to get in
* contact with the developers and maintainers.
*/

@ -8,9 +8,10 @@ struct _Widget_Data
Evas_Object *base, *rect, *img, *overlay;
const char *file, *group;
Elm_Bg_Option option;
struct {
Evas_Coord w, h;
} load_opts;
struct
{
Evas_Coord w, h;
} load_opts;
};
static const char *widtype = NULL;

@ -30,7 +30,7 @@ static const Evas_Smart_Cb_Description _signals[] =
{NULL, NULL}
};
static const char *corner_string[] =
static const char *corner_string[] =
{
"top_left",
"top_right",

@ -54,7 +54,7 @@
/**
* Defines the corner values for a bubble.
*
* The corner will be used to determine where the arrow of the
* The corner will be used to determine where the arrow of the
* bubble points to.
*/
typedef enum

@ -28,7 +28,7 @@
* continuous look across its options.
* @li hoversel_vertical_entry: Another internal for @ref Hoversel.
* @li naviframe: Internally used by @ref Naviframe for its back button.
* @li colorselector: Internally used by @ref Colorselector
* @li colorselector: Internally used by @ref Colorselector
* for its left and right buttons.
*
* Default content parts of the button widget that you can use for are:

@ -4,7 +4,7 @@
* This is a Calendar widget. Calender widget helps applications to flexibly
* display a calender with day of the week, day, year and month. Applications will be
* able to choose a specific date that will be reported in the smart_callbacks for
* the calendar widget. The APIs of calendar widget let the applications perform
* the calendar widget. The APIs of calendar widget let the applications perform
* other functions like,
* placing marks on specific dates
* Setting the bounds for the calendar (minimum and maximum years)

@ -44,7 +44,7 @@
* @li elm_object_signal_callback_del
*
* @ref tutorial_check should give you a firm grasp of how to use this widget.
*
*
* @{
*/

@ -94,7 +94,7 @@ EAPI void elm_colorselector_color_get(const Evas_Object *obj, int *r, int *g, in
*
* @param obj Colorselector object
* @param mode Elm_Colorselector_Mode
*
*
* Colorselector supports three modes palette only, selector only and both.
*
* @ingroup Colorselector
@ -106,7 +106,7 @@ EAPI void elm_colorselector_mode_set(Evas_Object *obj, Elm_Colorselector_Mode mo
*
* @param obj Colorselector object
* @return mode The current mode of colorselector
*
*
* @ingroup Colorselector
*/
EAPI Elm_Colorselector_Mode elm_colorselector_mode_get(const Evas_Object *obj);
@ -119,7 +119,7 @@ EAPI Elm_Colorselector_Mode elm_colorselector_mode_get(const Evas_Object *obj);
* @param g integer pointer for g-value of color
* @param b integer pointer for b-value of color
* @param a integer pointer for a-value of color
*
*
* @ingroup Colorselector
*/
EAPI void elm_colorselector_palette_item_color_get(const Elm_Object_Item *it, int *r, int *g, int *b, int *a);
@ -180,7 +180,7 @@ EAPI void elm_colorselector_palette_name_set(Evas_Object *obj, const char *palet
* @param obj The Colorselector object
* @return Name of palette
*
* Returns the currently set palette name using which colors will be
* Returns the currently set palette name using which colors will be
* saved/loaded in to config.
*
* @ingroup Colorselector

@ -1763,7 +1763,7 @@ elm_config_cache_font_cache_size_get(void)
return _elm_config->font_cache;
}
EAPI void
EAPI void
elm_config_cache_font_cache_size_set(int size)
{
if (_elm_config->font_cache == size) return;

@ -43,7 +43,7 @@ EAPI void elm_config_reload(void);
/**
* Flush all config settings then apply those settings to all applications
* using elementary on the current display.
*
*
* @ingroup Config
*/
EAPI void elm_config_all_flush(void);
@ -428,7 +428,7 @@ EAPI double elm_config_tooltip_delay_get(void);
/**
* Set the duration after which tooltip will be shown.
*
* @return EINA_TRUE if value is set.
* @return EINA_TRUE if value is set.
*/
EAPI void elm_config_tooltip_delay_set(double delay);
@ -494,7 +494,7 @@ EAPI void elm_config_scale_set(double scale);
* 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,
* @return @c EINA_TRUE, if the "show last" setting is enabled,
* @c EINA_FALSE if it's disabled.
*
* @ingroup Password_last_show
@ -880,7 +880,7 @@ EAPI Eina_Bool elm_config_focus_highlight_enabled_get(void);
* Set the enable status of the focus highlight
*
* @param enable Enable highlight if EINA_TRUE, disable otherwise
*
*
* Set whether to show or not the highlight on focused objects
*
* Note that it will take effect only to Elementary windows created after
@ -896,10 +896,10 @@ EAPI void elm_config_focus_highlight_enabled_set(Eina_Bool enabl
* Get the enable status of the highlight animation
*
* @return The focus highlight mode set
*
*
* Get whether the focus highlight, if enabled, will animate its switch from
* one object to the next
*
*
* @ingroup Focus
*/
EAPI Eina_Bool elm_config_focus_highlight_animate_get(void);
@ -908,10 +908,10 @@ EAPI Eina_Bool elm_config_focus_highlight_animate_get(void);
* Set the enable status of the highlight animation
*
* @param animate Enable animation if EINA_TRUE, disable otherwise
*
*
* Set whether the focus highlight, if enabled, will animate its switch from
* one object to the next
*
*
* Note that it will take effect only to Elementary windows created after
* this is called.
*

@ -53,11 +53,12 @@ struct _Widget_Data
Elm_Input_Panel_Return_Key_Type input_panel_return_key_type;
void *input_panel_imdata;
int input_panel_imdata_len;
struct {
struct
{
Evas_Object *hover_parent;
Evas_Object *pop, *hover;
const char *hover_style;
} anchor_hover;
} anchor_hover;
Eina_Bool changed : 1;
Eina_Bool single_line : 1;
Eina_Bool password : 1;
@ -1180,7 +1181,7 @@ _remove_item_tags(const char *str)
while (EINA_TRUE)
{
const char *temp = eina_strbuf_string_get(buf);
char *startTag = NULL;
char *endTag = NULL;
@ -1209,7 +1210,7 @@ _elm_entry_entry_paste(Evas_Object *obj, const char *entry)
{
Widget_Data *wd = elm_widget_data_get(obj);
char *str = NULL;
if (wd->cnp_mode == ELM_CNP_MODE_NO_IMAGE)
{
str = _remove_item_tags(entry);

@ -244,7 +244,7 @@
* @typedef Elm_Text_Format
*
* Text Format types.
*
*
* @see elm_entry_file_set()
*/
typedef enum
@ -258,7 +258,7 @@ typedef enum
* @typedef Elm_Wrap_Type
*
* Line wrapping types.
*
*
* @see elm_entry_line_wrap_set()
*/
typedef enum
@ -275,7 +275,7 @@ typedef enum
* @typedef Elm_Input_Panel_Layout
*
* Input panel (virtual keyboard) layout types.
*
*
* @see elm_entry_input_panel_layout_set()
*/
typedef enum
@ -299,7 +299,7 @@ typedef enum
* @typedef Elm_Input_Panel_Lang
*
* Input panel (virtual keyboard) language modes.
*
*
* @see elm_entry_input_panel_language_set()
*/
typedef enum
@ -313,7 +313,7 @@ typedef enum
* @typedef Elm_Autocapital_Type
*
* Autocapitalization Types.
*
*
* @see elm_entry_autocapital_type_set()
*/
typedef enum
@ -329,7 +329,7 @@ typedef enum
* @typedef Elm_Input_Panel_Return_Key_Type
*
* "Return" Key types on the input panel (virtual keyboard).
*
*
* @see elm_entry_input_panel_return_key_type_set()
*/
typedef enum
@ -972,7 +972,7 @@ EAPI void elm_entry_item_provider_remove(Evas_Object *obj, Elm_Ent
* Append the given callback to the list. This functions will be called
* whenever any text is inserted into the entry, with the text to be inserted
* as a parameter. The type of given text is always markup.
* The callback function is free to alter the text in any way it wants, but
* The callback function is free to alter the text in any way it wants, but
* it must remember to free the given pointer and update it.
* If the new text is to be discarded, the function can free it and set its
* text parameter to NULL. This will also prevent any following filters from
@ -1235,7 +1235,7 @@ EAPI void elm_entry_input_panel_hide(Evas_Object *obj);
/**
* Set the language mode of the input panel.
*
* This API can be used if you want to show the alphabet keyboard mode.
* This API can be used if you want to show the alphabet keyboard mode.
*
* @param obj The entry object
* @param lang language to be set to the input panel.
@ -1268,7 +1268,7 @@ EAPI void elm_entry_input_panel_imdata_set(Evas_Object *obj, c
/**
* Get the specific data of the current input panel.
*
* See @ref elm_entry_input_panel_imdata_set for more details.
* See @ref elm_entry_input_panel_imdata_set for more details.
*
* @param obj The entry object
* @param data The specific data to be got from the input panel
@ -1301,7 +1301,7 @@ EAPI Elm_Input_Panel_Return_Key_Type elm_entry_input_panel_return_key_type_get(c
*
* @param obj The entry object
* @param disabled The state to put in in: @c EINA_TRUE for
* disabled, @c EINA_FALSE for enabled
* disabled, @c EINA_FALSE for enabled
*/
EAPI void elm_entry_input_panel_return_key_disabled_set(Evas_Object *obj, Eina_Bool disabled);
@ -1326,7 +1326,7 @@ EAPI Eina_Bool elm_entry_input_panel_return_key_disabled_get(const
EAPI void elm_entry_input_panel_return_key_autoenabled_set(Evas_Object *obj, Eina_Bool enabled);
/**
* Reset the input method context of the entry if needed.
* Reset the input method context of the entry if needed.
*
* This can be necessary in the case where modifying the buffer would confuse on-going input method behavior
* @param obj The entry object

@ -30,9 +30,10 @@ struct _Widget_Data
Elm_Flip_Mode mode;
Evas_Object *clip;
Evas_Object *event[4];
struct {
Evas_Object *content, *clip;
} front, back;
struct
{
Evas_Object *content, *clip;
} front, back;
Ecore_Job *job;
Evas_Coord down_x, down_y, x, y, ox, oy, w, h;
Elm_Flip_Interaction intmode;

@ -19,14 +19,14 @@
* "animate,done" - when a flip animation is finished
*
* Default content parts of the flip widget that you can use for are:
* @li "front" - A front content of the flip
* @li "back" - A back content of the flip
* @li "front" - A front content of the flip
* @li "back" - A back content of the flip
*
* Supported elm_object common APIs.
* @li elm_object_part_content_set
* @li elm_object_part_content_get
* @li elm_object_part_content_unset
*
*
* @ref tutorial_flip show how to use most of the API.
*
* @{

@ -504,7 +504,7 @@ EAPI Eina_Bool elm_genlist_multi_select_get(const Evas_Objec
* fixed (restricted to a minimum of) to the list width when calculating its
* size in order to allow the height to be calculated based on it. This allows,
* for instance, text block to wrap lines if the Edje part is configured with
* "text.min: 0 1".
* "text.min: 0 1".
* @note ELM_LIST_COMPRESS will make list resize slower as it will have to
* recalculate every item height again whenever the list width
* changes!
@ -897,7 +897,7 @@ EAPI void elm_genlist_item_show(Elm_Object_Item *it, El
* @ref Elm_Genlist_Item_Scrollto_Type
*
* This causes genlist to jump to the given item @p it and show it (by
* animatedly scrolling), if it is not fully visible.
* animatedly scrolling), if it is not fully visible.
* This may use animation and take a some time to do so.
*
* @see elm_genlist_item_show()
@ -943,7 +943,7 @@ EAPI void elm_genlist_item_item_class_update(Elm_Object
*
* @param it The genlist item
*
* This returns the Genlist_Item_Class for the given item. It can be used to
* This returns the Genlist_Item_Class for the given item. It can be used to
* examine the function pointers and item_style.
*
* @ingroup Genlist
@ -1659,7 +1659,7 @@ EAPI void elm_genlist_reorder_mode_set(Evas_Object *obj
EAPI Eina_Bool elm_genlist_reorder_mode_get(const Evas_Object *obj);
/**
* Get the Item's Type
* Get the Item's Type
*
* @param it The genlist item
* @return The item type.

@ -1570,9 +1570,9 @@ _n_long_tap_test(Evas_Object *obj, Pointer_Event *pe,
* @ingroup Elm_Gesture_Layer
*/
static void
_set_momentum(Elm_Gesture_Momentum_Info *momentum,
_set_momentum(Elm_Gesture_Momentum_Info *momentum,
Evas_Coord xx1, Evas_Coord yy1,
Evas_Coord xx2, Evas_Coord yy2,
Evas_Coord xx2, Evas_Coord yy2,
unsigned int t1x, unsigned int t1y, unsigned int t2)
{
Evas_Coord velx = 0, vely = 0, vel;
@ -2791,7 +2791,7 @@ _get_rotate_properties(Rotate_Type *st,
&st->info.x, &st->info.y) / 2;
*angle = get_angle(xx1, yy1, xx2, yy2);
if (angle == &st->info.angle)
{ /* Fingers are moving, compute momentum */
unsigned int tm_start =

@ -39,11 +39,11 @@
* @verbatim
* AUTOMAKE_OPTIONS = 1.4 foreign
* MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.h.in configure depcomp install-sh missing
*
*
* INCLUDES = -I$(top_srcdir)
*
*
* bin_PROGRAMS = myapp
*
*
* myapp_SOURCES = main.c
* myapp_LDADD = @ELEMENTARY_LIBS@
* myapp_CFLAGS = @ELEMENTARY_CFLAGS@
@ -136,24 +136,24 @@
*
* @code
* #include <Elementary.h>
*
*
* static void
* on_done(void *data, Evas_Object *obj, void *event_info)
* {
* // quit the mainloop (elm_run function will return)
* elm_exit();
* }
*
*
* EAPI_MAIN int
* elm_main(int argc, char **argv)
* {
* Evas_Object *win, *box, *lab, *btn;
*
*
* // new window - do the usual and give it a name (hello) and title (Hello)
* win = elm_win_util_standard_add("hello", "Hello");
* // when the user clicks "close" on a window there is a request to delete
* evas_object_smart_callback_add(win, "delete,request", on_done, NULL);
*
*
* // add a box object - default is vertical. a box holds children in a row,
* // either horizontally or vertically. nothing more.
* box = elm_box_add(win);
@ -163,7 +163,7 @@
* // size as well as gets resized if window is resized)
* elm_win_resize_object_add(win, box);
* evas_object_show(box);
*
*
* // add a label widget, set the text and put it in the pad frame
* lab = elm_label_add(win);
* // set default text of the label
@ -171,7 +171,7 @@
* // pack the label at the end of the box
* elm_box_pack_end(box, lab);
* evas_object_show(lab);
*
*
* // add an ok button
* btn = elm_button_add(win);
* // set default text of button to "OK"
@ -181,10 +181,10 @@
* evas_object_show(btn);
* // call on_done when button is clicked
* evas_object_smart_callback_add(btn, "clicked", on_done, NULL);
*
*
* // now we are done, show the window
* evas_object_show(win);
*
*
* // run the mainloop and process events and callbacks
* elm_run();
* elm_shutdown();

@ -16,7 +16,7 @@ typedef void (*Elm_GLView_Func_Cb)(Evas_Object *obj);
typedef enum _Elm_GLView_Mode
{
ELM_GLVIEW_NONE = 0,
ELM_GLVIEW_NONE = 0,
ELM_GLVIEW_ALPHA = (1<<1), /**< Alpha channel enabled rendering mode */
ELM_GLVIEW_DEPTH = (1<<2), /**< Depth buffer enabled rendering mode */
ELM_GLVIEW_STENCIL = (1<<3), /**< Stencil buffer enabled rendering mode */
@ -24,7 +24,7 @@ typedef enum _Elm_GLView_Mode
} Elm_GLView_Mode;
/**
* Defines a policy for the glview resizing.
* Defines a policy for the glview resizing.
*
* The resizing policy tells glview what to do with the underlying
* surface when resize happens. ELM_GLVIEW_RESIZE_POLICY_RECREATE
@ -42,12 +42,12 @@ typedef enum
} Elm_GLView_Resize_Policy;
/**
* Defines a policy for gl rendering.
* Defines a policy for gl rendering.
*
* The rendering policy tells glview where to run the gl rendering code.
* ELM_GLVIEW_RENDER_POLICY_ON_DEMAND tells glview to call the rendering
* calls on demand, which means that the rendering code gets called
* only when it is visible.
* only when it is visible.
*
* @note Default is ELM_GLVIEW_RENDER_POLICY_ON_DEMAND
*/
@ -113,7 +113,7 @@ EAPI Evas_GL_API *elm_glview_gl_api_get(const Evas_Object *obj);
*
* Direct is a hint for the elm_glview to render directly to the window
* given that the right conditions are met. Otherwise it falls back
* to rendering to an offscreen buffer before it gets composited to the
* to rendering to an offscreen buffer before it gets composited to the
* window.
*
* @ingroup GLView
@ -126,10 +126,10 @@ EAPI Eina_Bool elm_glview_mode_set(Evas_Object *obj, Elm_GLView_Mode mode);
* @param obj The glview object.
* @param policy The scaling policy.
*
* By default, the resize policy is set to ELM_GLVIEW_RESIZE_POLICY_RECREATE.
* When resize is called it destroys the previous surface and recreates the
* newly specified size. If the policy is set to
* ELM_GLVIEW_RESIZE_POLICY_SCALE, however, glview only scales the image
* By default, the resize policy is set to ELM_GLVIEW_RESIZE_POLICY_RECREATE.
* When resize is called it destroys the previous surface and recreates the
* newly specified size. If the policy is set to
* ELM_GLVIEW_RESIZE_POLICY_SCALE, however, glview only scales the image
* object and not the underlying GL Surface.
*
* @ingroup GLView
@ -143,7 +143,7 @@ EAPI Eina_Bool elm_glview_resize_policy_set(Evas_Object *obj, Elm_GLView_Resi
* @param policy The render policy.
*
* By default, the render policy is set to ELM_GLVIEW_RENDER_POLICY_ON_DEMAND.
* This policy is set such that during the render loop, glview is only
* This policy is set such that during the render loop, glview is only
* redrawn if it needs to be redrawn. (i.e. when it is visible) If the policy
* is set to ELM_GLVIEWW_RENDER_POLICY_ALWAYS, it redraws regardless of
* whether it is visible or needs redrawing.
@ -158,7 +158,7 @@ EAPI Eina_Bool elm_glview_render_policy_set(Evas_Object *obj, Elm_GLView_Rend
* @param obj The glview object.
* @param func The init function to be registered.
*
* The registered init function gets called once during the render loop.
* The registered init function gets called once 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
* for initialization GL calls.
@ -188,7 +188,7 @@ 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 gets called during the render loop.
* 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 happens.
@ -201,9 +201,9 @@ EAPI void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func_C
* Set the render function that runs in the main loop.
*
* The render function gets called in the main loop but whether it runs
* depends on the rendering policy and whether elm_glview_changed_set()
* depends on the rendering policy and whether elm_glview_changed_set()
* gets called.
*
*
* @param obj The glview object.
* @param func The render function to be registered.
*

@ -17,27 +17,30 @@ struct _Widget_Data
Elm_Icon_Lookup_Order lookup_order;
#ifdef HAVE_ELEMENTARY_ETHUMB
struct {
struct {
const char *path;
const char *key;
} file, thumb;
struct
{
struct
{
const char *path;
const char *key;
} file, thumb;
Ecore_Event_Handler *eeh;
Ecore_Event_Handler *eeh;
Ethumb_Thumb_Format format;
Ethumb_Thumb_Format format;
Ethumb_Client_Async *request;
Ethumb_Client_Async *request;
Eina_Bool retry : 1;
} thumb;
Eina_Bool retry : 1;
} thumb;
#endif
#ifdef ELM_EFREET
struct {
struct
{
int requested_size;
Eina_Bool use : 1;
} freedesktop;
} freedesktop;
#endif
int in_eval;
Eina_Bool scale_up : 1;

@ -662,7 +662,7 @@ elm_index_autohide_disabled_set(Evas_Object *obj, Eina_Bool disabled)
else
edje_object_signal_emit(wd->base, "elm,state,inactive", "elm");
//FIXME: Should be update indicator based on the indicator visiblility
//FIXME: Should be update indicator based on the indicator visiblility
}
EAPI Eina_Bool
@ -701,7 +701,7 @@ elm_index_item_selected_set(Elm_Object_Item *it, Eina_Bool selected)
Widget_Data *wd = elm_widget_data_get(WIDGET(it));
if (!wd) return;
//FIXME: Should be update indicator based on the autohidden status & indicator visiblility
//FIXME: Should be update indicator based on the autohidden status & indicator visiblility
if (selected)
{

@ -148,7 +148,7 @@ EAPI Elm_Object_Item *elm_index_selected_item_get(const Evas_Object *obj, i
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is selected.
* @param data The item data to set for the index's item
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
@ -168,7 +168,7 @@ EAPI Elm_Object_Item *elm_index_item_append(Evas_Object *obj, const char *l
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is selected.
* @param data The item data to set for the index's item
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
@ -189,7 +189,7 @@ EAPI Elm_Object_Item *elm_index_item_prepend(Evas_Object *obj, const char *
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is clicked.
* @param data The item data to set for the index's item
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
@ -213,7 +213,7 @@ EAPI Elm_Object_Item *elm_index_item_insert_after(Evas_Object *obj, Elm_Obj
* @param letter Letter under which the item should be indexed
* @param func The function to call when the item is clicked.
* @param data The item data to set for the index's item
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
@ -251,7 +251,7 @@ EAPI Elm_Object_Item *elm_index_item_insert_before(Evas_Object *obj, Elm_Ob
* because all references to it will be lost. If this function is
* not provided (@c NULL is given), index items will be @b
* duplicated, if @p cmp_func returns @c 0.
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index

@ -3,29 +3,29 @@
* @image html elementary.png
* @version 0.8.0
* @date 2008-2012
*
*
* @section intro What is Elementary?
*
*
* This is a VERY SIMPLE toolkit. It is not meant for writing extensive desktop
* applications (yet). Small simple ones with simple needs.
*
*
* It is meant to make the programmers work almost brainless but give them lots
* of flexibility.
*
*
* @li @ref Start - Go here to quickly get started with writing Apps
*
*
* @section organization Organization
*
*
* One can divide Elementary into three main groups:
* @li @ref infralist - These are modules that deal with Elementary as a whole.
* @li @ref widgetslist - These are the widgets you'll compose your UI out of.
* @li @ref containerslist - These are the containers which hold the widgets.
*
*
* @section license License
*
*
* LGPL v2 (see COPYING in the base of Elementary's source). This applies to
* all files in the source tree.
*
*
* @section ack Acknowledgements
* There is a lot that goes into making a widget set, and they don't happen out of
* nothing. It's like trying to make everyone everywhere happy, regardless of age,

@ -19,27 +19,32 @@ struct _Subinfo
{
const char *part;
Evas_Object *obj;
enum {
SWALLOW,
BOX_APPEND,
BOX_PREPEND,
BOX_INSERT_BEFORE,
BOX_INSERT_AT,
TABLE_PACK,
TEXT
} type;
union {
union {
const Evas_Object *reference;
unsigned int pos;
} box;
struct {
unsigned short col, row, colspan, rowspan;
} table;
struct {
const char *text;
} text;
} p;
enum
{
SWALLOW,
BOX_APPEND,
BOX_PREPEND,
BOX_INSERT_BEFORE,
BOX_INSERT_AT,
TABLE_PACK,
TEXT
} type;
union
{
union
{
const Evas_Object *reference;
unsigned int pos;
} box;
struct
{
unsigned short col, row, colspan, rowspan;
} table;
struct
{
const char *text;
} text;
} p;
};
struct _Part_Cursor

@ -18,9 +18,10 @@ struct _Widget_Data
Elm_Object_Select_Mode select_mode;
int walking;
int movements;
struct {
struct
{
Evas_Coord x, y;
} history[SWIPE_MOVES];
} history[SWIPE_MOVES];
Eina_Bool scr_minw : 1;
Eina_Bool scr_minh : 1;
Eina_Bool swipe : 1;

@ -14,11 +14,12 @@ struct _Elm_Menu_Item
Evas_Smart_Cb func;
unsigned int idx;
struct {
Evas_Object *hv, *bx, *location;
Eina_List *items;
Eina_Bool open : 1;
} submenu;
struct
{
Evas_Object *hv, *bx, *location;
Eina_List *items;
Eina_Bool open : 1;
} submenu;
Eina_Bool separator : 1;
Eina_Bool selected : 1;

@ -24,7 +24,7 @@
* @li elm_object_item_part_content_set
* @li elm_object_item_part_content_get
* @li elm_object_item_disabled_set
* @li elm_object_item_disabled_get
* @li elm_object_item_disabled_get
*
* @see @ref tutorial_menu
* @{

@ -448,7 +448,7 @@ EAPI Eina_Bool elm_object_item_cursor_engine_only_get(const E
*
* A smart callback function must have the Elm_Object_Item_Smart_Cb prototype
* definition. The first parameter (@p data) in this definition will be a user
* specific data. The second parameter @p it is a handle to the object item on
* specific data. The second parameter @p it is a handle to the object item on
* which event occurred. The third parameter, @p event_info, is a pointer to
* data which is totally dependent on the elementary object item's
* implementation and semantic for the given event.

@ -14,19 +14,21 @@ struct _Widget_Data
Ecore_Timer *longtimer;
#ifdef HAVE_ELEMENTARY_ETHUMB
struct {
int id;
struct
{
int id;
struct {
const char *path;
const char *key;
} file, thumb;
struct
{
const char *path;
const char *key;
} file, thumb;
Ethumb_Exists *exists;
Ethumb_Exists *exists;
Ecore_Event_Handler *eeh;
Ecore_Event_Handler *eeh;
Ethumb_Thumb_Format format;
Ethumb_Thumb_Format format;
Eina_Bool retry : 1;
} thumb;

@ -8,7 +8,7 @@
*
* "clicked" - This is called when a user has clicked the photo
* "drag,start" - dragging the image out of the photo object
* "drag,end" - Drop the dragged item
* "drag,end" - Drop the dragged item
*
* @{
*/

@ -1,7 +1,7 @@
/**
* @defgroup Plug Plug
*
* An object that allows one to show an image which other process created.
* An object that allows one to show an image which other process created.
* It can be used anywhere like any other elementary widget.
*
*/

@ -9,13 +9,13 @@
*
* A radio object contains an indicator, an optional Label and an optional
* icon object. While it's possible to have a group of only one radio they,
* are normally used in groups of 2 or more.
* are normally used in groups of 2 or more.
*
* elm_radio objects are grouped in a slightly different, compared to other
* UI toolkits. There is no seperate group name/id to remember or manage.
* The members represent the group, there are the group. To make a group,
* use elm_radio_group_add() and pass existing radio object and the new radio
* object.
* use elm_radio_group_add() and pass existing radio object and the new radio
* object.
*
* The radio object(s) will select from one of a set
* of integer values, so any value they are configuring needs to be mapped to

@ -340,7 +340,7 @@ EINA_DEPRECATED EAPI void elm_scroll_bounce_friction_all_set(double fric
* @param friction the page scroll friction
*
* @see elm_thumbscroll_page_scroll_friction_get()
* @deprecated Use elm_scroll_page_scroll_friction_set() and
* @deprecated Use elm_scroll_page_scroll_friction_set() and
* elm_config_all_flush()
* @ingroup Scrolling
*/
@ -5591,7 +5591,7 @@ EINA_DEPRECATED EAPI Eina_Bool elm_index_active_get(const Evas_Objec
* @param letter Letter under which the item should be indexed
* @param item The item data to set for the index's item
* @param relative The index item to be the predecessor of this new one
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index
@ -5615,7 +5615,7 @@ EINA_DEPRECATED EAPI Elm_Object_Item *elm_index_item_append_relative(Evas_O
* @param letter Letter under which the item should be indexed
* @param item The item data to set for the index's item
* @param relative The index item to be the successor of this new one
* @return A handle to the item added or @c NULL, on errors
* @return A handle to the item added or @c NULL, on errors
*
* Despite the most common usage of the @p letter argument is for
* single char strings, one could use arbitrary strings as index