elm: Removed trailing whitespaces.

SVN revision: 65725
This commit is contained in:
Daniel Juyung Seo 2011-11-30 17:44:00 +00:00
parent 3fd427b0d3
commit f391a7d6bc
7 changed files with 67 additions and 67 deletions

View File

@ -291,11 +291,11 @@ my_win_main(char *autorun, Eina_Bool test_win_only)
evas_object_size_hint_align_set(tbx, EVAS_HINT_FILL, 0.0);
elm_object_content_set(sc, tbx);
evas_object_show(tbx);
add_tests:
tests = NULL;
#define ADD_TEST(icon_, cat_, name_, cb_) elm_test_add(&tests, icon_, cat_, name_, cb_)
//------------------------------//
ADD_TEST(NULL, "Window / Background", "Bg Plain", test_bg_plain);
ADD_TEST(NULL, "Window / Background", "Bg Image", test_bg_image);
@ -305,7 +305,7 @@ add_tests:
ADD_TEST(NULL, "Window / Background", "Inwin", test_inwin);
ADD_TEST(NULL, "Window / Background", "Inwin 2", test_inwin2);
ADD_TEST(NULL, "Window / Background", "Window Inline", test_win_inline);
//------------------------------//
ADD_TEST(NULL, "Images", "Icon Transparent", test_icon);
ADD_TEST(NULL, "Images", "Icon Animation", test_icon_animated);
@ -313,7 +313,7 @@ add_tests:
ADD_TEST(NULL, "Images", "Photo", test_photo);
ADD_TEST(NULL, "Images", "Thumb", test_thumb);
ADD_TEST(NULL, "Images", "Slideshow", test_slideshow);
//------------------------------//
ADD_TEST(NULL, "Containers", "Box Vert", test_box_vert);
ADD_TEST(NULL, "Containers", "Box Vert 2", test_box_vert2);
@ -327,7 +327,7 @@ add_tests:
ADD_TEST(NULL, "Containers", "Table 6", test_table6);
ADD_TEST(NULL, "Containers", "Layout", test_layout);
ADD_TEST(NULL, "Containers", "Grid", test_grid);
//------------------------------//
ADD_TEST(NULL, "Entries", "Entry", test_entry);
ADD_TEST(NULL, "Entries", "Entry Scrolled", test_entry_scrolled);
@ -336,10 +336,10 @@ add_tests:
ADD_TEST(NULL, "Entries", "Entry 5", test_entry5);
ADD_TEST(NULL, "Entries", "Entry Notepad", test_entry_notepad);
ADD_TEST(NULL, "Entries", "Multibuttonentry", test_multibuttonentry);
//------------------------------//
ADD_TEST(NULL, "Buttons", "Buttons", test_button);
//------------------------------//
ADD_TEST(NULL, "Effects", "Transit", test_transit);
ADD_TEST(NULL, "Effects", "Transit 2", test_transit2);
@ -356,7 +356,7 @@ add_tests:
ADD_TEST(NULL, "Effects", "Flip Interactive", test_flip4);
ADD_TEST(NULL, "Effects", "Flip Page", test_flip_page);
ADD_TEST(NULL, "Effects", "Animation", test_anim);
//------------------------------//
ADD_TEST(NULL, "Toolbars", "Toolbar", test_toolbar);
ADD_TEST(NULL, "Toolbars", "Toolbar 2", test_toolbar2);
@ -364,7 +364,7 @@ add_tests:
ADD_TEST(NULL, "Toolbars", "Toolbar 4", test_toolbar4);
ADD_TEST(NULL, "Toolbars", "Toolbar 5", test_toolbar5);
ADD_TEST(NULL, "Toolbars", "Toolbar 6", test_toolbar6);
//------------------------------//
ADD_TEST(NULL, "Lists", "List", test_list);
ADD_TEST(NULL, "Lists", "List - Horizontal", test_list_horizontal);
@ -390,22 +390,22 @@ add_tests:
ADD_TEST(NULL, "Lists", "GenGrid", test_gengrid);
ADD_TEST(NULL, "Lists", "GenGrid 2", test_gengrid2);
ADD_TEST(NULL, "Lists", "GenGrid Group", test_gengrid3);
//------------------------------//
ADD_TEST(NULL, "General", "Scaling", test_scaling);
ADD_TEST(NULL, "General", "Scaling 2", test_scaling2);
//------------------------------//
//// disabled for efl 1.1
//// disabled for efl 1.1
// ADD_TEST(NULL, "3D", "GLViewSimple", test_glview_simple);
// ADD_TEST(NULL, "3D", "GLView", test_glview);
ADD_TEST(NULL, "3D", "Evas Map 3D", test_3d);
//------------------------------//
#ifdef HAVE_ELEMENTARY_WEB
ADD_TEST(NULL, "Web", "Web", test_web);
#endif
//------------------------------//
ADD_TEST(NULL, "Input", "Gesture Layer", test_gesture_layer);
ADD_TEST(NULL, "Input", "Gesture Layer 2", test_gesture_layer2);
@ -431,7 +431,7 @@ add_tests:
ADD_TEST(NULL, "Cursors", "Cursor 2", test_cursor2);
ADD_TEST(NULL, "Cursors", "Cursor 3", test_cursor3);
ADD_TEST(NULL, "Cursors", "Cursor Layout", test_cursor4);
//------------------------------//
ADD_TEST(NULL, "Scroller", "Scroller", test_scroller);
ADD_TEST(NULL, "Scroller", "Scroller 2", test_scroller2);
@ -463,17 +463,17 @@ add_tests:
ADD_TEST(NULL, "Times & Dates", "Calendar 2", test_calendar2);
ADD_TEST(NULL, "Times & Dates", "Clock", test_clock);
ADD_TEST(NULL, "Times & Dates", "Clock 2", test_clock2);
//------------------------------//
ADD_TEST(NULL, "Text", "Anchorview", test_anchorview);
ADD_TEST(NULL, "Text", "Anchorblock", test_anchorblock);
ADD_TEST(NULL, "Text", "Label", test_label);
//------------------------------//
ADD_TEST(NULL, "Stored Surface Buffer", "Launcher", test_launcher);
ADD_TEST(NULL, "Stored Surface Buffer", "Launcher 2", test_launcher2);
ADD_TEST(NULL, "Stored Surface Buffer", "Launcher 3", test_launcher3);
//------------------------------//
ADD_TEST(NULL, "Focus", "Focus", test_focus);
ADD_TEST(NULL, "Focus", "Focus 2", test_focus2);
@ -490,15 +490,15 @@ add_tests:
//------------------------------//
ADD_TEST(NULL, "Dividers", "Panel", test_panel);
ADD_TEST(NULL, "Dividers", "Panes", test_panes);
//------------------------------//
ADD_TEST(NULL, "Standardization", "Conformant", test_conformant);
ADD_TEST(NULL, "Standardization", "Conformant 2", test_conformant2);
//------------------------------//
ADD_TEST(NULL, "Helpers", "Store", test_store);
ADD_TEST(NULL, "Helpers", "Factory", test_factory);
//------------------------------//
ADD_TEST(NULL, "Micellaneous", "Weather", test_weather);
ADD_TEST(NULL, "Micellaneous", "Icon Desktops", test_icon_desktops);
@ -525,7 +525,7 @@ add_tests:
if (tests)
{
const char *pcat = NULL;
EINA_LIST_FREE(tests, t)
{
if ((!pcat) || (strcmp(pcat, t->category)))
@ -537,7 +537,7 @@ add_tests:
evas_object_size_hint_fill_set(cfr, EVAS_HINT_FILL, 0.0);
elm_box_pack_end(tbx, cfr);
evas_object_show(cfr);
tbx2 = elm_box_add(win);
elm_box_layout_set(tbx2, evas_object_box_layout_flow_horizontal, NULL, NULL);
evas_object_size_hint_weight_set(tbx2, EVAS_HINT_EXPAND, 0.0);
@ -552,7 +552,7 @@ add_tests:
if (t->icon)
{
char buf[PATH_MAX];
ic = elm_icon_add(win);
snprintf(buf, sizeof(buf), "%s/images/%s", elm_app_data_dir_get(), t->icon);
elm_icon_file_set(ic, buf, NULL);

View File

@ -45,7 +45,7 @@ test_check(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
elm_box_pack_end(bx, ck);
evas_object_show(ck);
evas_object_show(ic);
ck0 = ck;
ic = elm_icon_add(win);
@ -58,9 +58,9 @@ test_check(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
elm_box_pack_end(bx, ck);
evas_object_show(ck);
evas_object_show(ic);
evas_object_smart_callback_add(ck, "changed", changed_cb, ck0);
ck = elm_check_add(win);
elm_object_text_set(ck, "Label Only");
elm_box_pack_end(bx, ck);

View File

@ -272,7 +272,7 @@ my_pager_push(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED
void
_hide_finished(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
{
//To prevent the window size become zero.
//To prevent the window size become zero.
Pginfo *info = data;
if (elm_pager_content_top_get(info->pager)) return;
elm_win_resize_object_del(info->win, info->pager);

View File

@ -144,7 +144,7 @@ _tt_item_icon3(void *data __UNUSED__,
{
int w, h, sw, sh;
Evas_Object *ic = elm_icon_add(tt);
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "%s/images/insanely_huge_test_image.jpg", elm_app_data_dir_get());
elm_icon_file_set(ic, buf, NULL);

View File

@ -3979,7 +3979,7 @@ extern "C" {
* background with elm_bg_add(), as well as setting the window title to
* @p title. The window type created is of type ELM_WIN_BASIC, with NULL
* as the parent widget.
*
*
* @return The created object, or NULL on failure
*
* @see elm_win_add()
@ -4706,7 +4706,7 @@ extern "C" {
* packing into any container object. It works just like an image, but has
* some properties useful to a background, like setting it to tiled,
* centered, scaled or stretched.
*
*
* Default contents parts of the bg widget that you can use for are:
* @li "overlay" - overlay of the bg
*
@ -5310,7 +5310,7 @@ extern "C" {
* @param anim @c EINA_TRUE if the object do animation job,
* @c EINA_FALSE otherwise. Default is @c EINA_FALSE.
*
* Since the default animation mode is set to EINA_FALSE,
* Since the default animation mode is set to EINA_FALSE,
* the icon is shown without animation.
* This might be desirable when the application developer wants to show
* a snapshot of the animated icon.
@ -7634,14 +7634,14 @@ extern "C" {
*
* This widget is deprecated. Please use elm_check_add() instead using the
* toggle style like:
*
*
* @code
* obj = elm_check_add(parent);
* elm_object_style_set(obj, "toggle");
* elm_object_part_text_set(obj, "on", "ON");
* elm_object_part_text_set(obj, "off", "OFF");
* @endcode
*
*
* Signals that you can add callbacks for are:
* @li "changed" - Whenever the toggle value has been changed. Is not called
* until the toggle is released by the cursor (assuming it
@ -7652,7 +7652,7 @@ extern "C" {
*
* Default text parts of the toggle widget that you can use for are:
* @li "elm.text" - Label of the toggle
*
*
* @ref tutorial_toggle show how to use a toggle.
* @{
*/
@ -8145,7 +8145,7 @@ extern "C" {
* modified (added, deleted, selected or unselected) of child items
* on a gengrid.
*
* If an item changes (internal (boolean) state, label or content
* If an item changes (internal (boolean) state, label or content
* changes), then use elm_gengrid_item_update() to have gengrid
* update the item with the new state. A gengrid will re-"realize"
* the item, thus calling the functions in the
@ -9874,9 +9874,9 @@ extern "C" {
*
* Only one object can be added to the @c SWALLOW part (but you still can
* have many @c SWALLOW parts and one object on each of them). Use the @c
* elm_object_content_set/get/unset functions to set, retrieve and unset
* objects as content of the @c SWALLOW. After being set to this part, the
* object size, position, visibility, clipping and other description
* elm_object_content_set/get/unset functions to set, retrieve and unset
* objects as content of the @c SWALLOW. After being set to this part, the
* object size, position, visibility, clipping and other description
* properties will be totally controlled by the description of the given part
* (inside the Edje theme file).
*
@ -12532,7 +12532,7 @@ extern "C" {
*
* Default text parts of the button widget that you can use for are:
* @li NULL - Label of the bubble
*
*
* For an example of using a buble see @ref bubble_01_example_page "this".
*
* @{
@ -12601,7 +12601,7 @@ extern "C" {
* @param content The given content of the bubble
*
* This function sets the content shown on the middle of the bubble.
*
*
* @deprecated use elm_object_content_set() instead
*
*/
@ -15095,7 +15095,7 @@ extern "C" {
*
* @note The icon image set by this function can be changed by
* elm_toolbar_item_icon_set().
*
*
* @ingroup Toolbar
*/
EAPI Eina_Bool elm_toolbar_item_icon_memfile_set(Elm_Object_Item *it, const void *img, size_t size, const char *format, const char *key) EINA_ARG_NONNULL(1);
@ -15891,11 +15891,11 @@ extern "C" {
* @li "clicked" - the user clicked the empty space in the menu to dismiss.
*
* Default contents parts of the menu items that you can use for are:
* @li "default" - A main content of the menu item
* @li "default" - A main content of the menu item
*
* Default text parts of the menu items that you can use for are:
* @li "default" - label in the menu item
*
*
* @see @ref tutorial_menu
* @{
*/
@ -16083,7 +16083,7 @@ extern "C" {
* @return The enabled/disabled state of the item
*
* @see elm_menu_item_disabled_set()
* @deprecated Use elm_object_item_disabled_get() instead
* @deprecated Use elm_object_item_disabled_get() instead
*/
EINA_DEPRECATED EAPI Eina_Bool elm_menu_item_disabled_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
/**
@ -16130,7 +16130,7 @@ extern "C" {
* @return The data associated with @p item or NULL if none was set.
*
* This is the data set with elm_menu_add() or elm_menu_item_data_set().
*
*
* @deprecated Use elm_object_item_data_get() instead
*/
EINA_DEPRECATED EAPI void *elm_menu_item_data_get(const Elm_Object_Item *it) EINA_ARG_NONNULL(1);
@ -17456,7 +17456,7 @@ extern "C" {
* Default contents parts of the slider widget that you can use for are:
* @li "icon" - A icon of the slider
* @li "end" - A end part content of the slider
*
*
* Default text parts of the silder widget that you can use for are:
* @li "default" - Label of the silder
* Here is an example on its usage:
@ -17623,7 +17623,7 @@ extern "C" {
* @see elm_slider_end_unset()
*
*
* @deprecated use elm_object_part_content_get() instead
* @deprecated use elm_object_part_content_get() instead
* instead.
*
* @ingroup Slider
@ -18606,7 +18606,7 @@ extern "C" {
* enable always select with elm_genlist_always_select_mode_set().
* This means that, even if selected, every click will make the selected
* callbacks be called.
*
*
* @see elm_genlist_always_select_mode_get()
*
* @ingroup Genlist
@ -18993,12 +18993,12 @@ extern "C" {
* Get the mode item style of items in the genlist
* @param obj The genlist object
* @return The mode item style string, or NULL if none is specified
*
*
* This is a constant string and simply defines the name of the
* style that will be used for mode animations. It can be
* @c NULL if you don't plan to use Genlist mode. See
* elm_genlist_item_mode_set() for more info.
*
*
* @ingroup Genlist
*/
EAPI const char *elm_genlist_mode_item_style_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
@ -19006,12 +19006,12 @@ extern "C" {
* Set the mode item style of items in the genlist
* @param obj The genlist object
* @param style The mode item style string, or NULL if none is desired
*
*
* This is a constant string and simply defines the name of the
* style that will be used for mode animations. It can be
* @c NULL if you don't plan to use Genlist mode. See
* elm_genlist_item_mode_set() for more info.
*
*
* @ingroup Genlist
*/
EAPI void elm_genlist_mode_item_style_set(Evas_Object *obj, const char *style) EINA_ARG_NONNULL(1);
@ -19535,7 +19535,7 @@ extern "C" {
* Second parts argument is used for globbing to match '*', '?', and '.'
* It can be used at updating multi fields.
*
* Use elm_genlist_realized_items_update() to update an item's all
* Use elm_genlist_realized_items_update() to update an item's all
* property.
*
* @see elm_genlist_item_update()
@ -19994,7 +19994,7 @@ extern "C" {
* @return The icon object
*
* @deprecated use elm_object_part_content_get() instead.
*
*
*/
EINA_DEPRECATED EAPI Evas_Object *elm_check_icon_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
/**
@ -21243,7 +21243,7 @@ extern "C" {
*
* Default contents parts of the progressbar widget that you can use for are:
* @li "icon" - A icon of the progressbar
*
*
* Here is an example on its usage:
* @li @ref progressbar_example
*/
@ -24048,7 +24048,7 @@ extern "C" {
* Return the content object which is set for this widget.
*
* @see elm_panel_content_set()
*
*
* @deprecated use elm_object_content_get() instead
*
*/
@ -24122,7 +24122,7 @@ extern "C" {
*
* If panes is displayed vertically, left content will be displayed at
* top.
*
*
* Here is an example on its usage:
* @li @ref panes_example
*/
@ -24805,7 +24805,7 @@ extern "C" {
* @li "default" - A content of the mapbuf
*
* To enable map, elm_mapbuf_enabled_set() should be used.
*
*
* See how to use this widget in this example:
* @ref mapbuf_example
*/
@ -25012,7 +25012,7 @@ extern "C" {
* To set/get the label of the flipselector item, you can use
* elm_object_item_text_set/get APIs.
* Once the text is set, a previously set one will be deleted.
*
*
* Here is an example on its usage:
* @li @ref flipselector_example
*/
@ -26662,7 +26662,7 @@ extern "C" {
*
* Default contents parts of the naviframe items that you can use for are:
* @li "icon" - A icon in the title area
*
*
* Default text parts of the naviframe items that you can use for are:
* @li "default" - Title label in the title area
*
@ -26802,7 +26802,7 @@ extern "C" {
* dissapear from the first item.
*
* @see elm_ctxpopup_item_append()
*
*
* @deprecated use elm_object_item_part_content_set() instead
*
*/
@ -26841,7 +26841,7 @@ extern "C" {
*
* @warning Ctxpopup can't hold both a item list and a content at the same
* time. When a content is set, any previous items will be removed.
*
*
* @deprecated use elm_object_content_set() instead
*
*/
@ -28321,10 +28321,10 @@ extern "C" {
* "prev,clicked" - the user clicked the prev button.
* "rewind,clicked" - the user clicked the rewind button.
* "stop,clicked" - the user clicked the stop button.
*
*
* Default contents parts of the player widget that you can use for are:
* @li "video" - A video of the player
*
*
*/
/**

View File

@ -740,7 +740,7 @@ _del_hook(Evas_Object *obj)
free(wd);
}
//FIXME: lost the content size when theme hook is called.
//FIXME: lost the content size when theme hook is called.
static void
_theme_hook(Evas_Object *obj)
{

View File

@ -1628,7 +1628,7 @@ EAPI Evas_Object *
elm_win_util_standard_add(const char *name, const char *title)
{
Evas_Object *win, *bg;
win = elm_win_add(NULL, name, ELM_WIN_BASIC);
if (!win) return NULL;
elm_win_title_set(win, title);