Commit Graph

588 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 60214462de [elementary] Documenting the general, top-level
functions.



SVN revision: 60594
2011-06-22 14:51:55 +00:00
ChunEon Park 179eced103 elementary/transit - removed DEPRECATED APIs.
SVN revision: 60572
2011-06-22 05:37:24 +00:00
ChunEon Park fd3ae33eac elementary/animator - * DEPRECATED.
SVN revision: 60571
2011-06-22 05:32:50 +00:00
ChunEon Park 2b172f87be elementary/diskselector - fixed typos (lenght -> length)
SVN revision: 60570
2011-06-22 05:30:49 +00:00
Gustavo Lima Chaves 8c42e26ca5 [elementary] Let's gather our example texts together,
eh?



SVN revision: 60558
2011-06-21 18:14:26 +00:00
Rafael Antognolli be34baeb44 elementary/transit: improve current documentation.
Fix the description of some API, and add/change some content of the
detailed description for the entire group.



SVN revision: 60552
2011-06-21 14:28:40 +00:00
Jonas M. Gastal 03c7068c6d Elementary: Adding screenshots to examples.
SVN revision: 60534
2011-06-20 19:45:32 +00:00
Carsten Haitzler be21f7e4ea Upon reviewing the elm_glview, I've realized a few issues and mistakes that i've
made originally so I've made some changes/ updates to elm_glview

1.)  GL Resource Deletion in ELM_GLView

In order to delete GL resources, the current approach simply registered a
delete callback to the GLView object and handled resource deletion there.
Unfortunately, using the delete callback did not guarantee the glview context to be
current.  In order to guarantee that the current context was the glview context,
the make_current call needs to be called explicitly.  Since we were hiding all the
make current details in elm_glview, i've decided to add an API that registers a
delete callback function. I know that this may seem redundant since there is already
a delete callback that you can register with glview objects. Unfortunately, this is the
only option that we have apart from exposing make_current, which is something that
went again what we are trying to do with elm_glview.

Since adding delete callback alone seemed a little out of place, i've taken the liberty
to add other callback functions to make it seem consistent.

void elm_glview_init_func_set(Evas_Object *obj, Elm_GLView_Func func);
void elm_glview_del_func_set(Evas_Object *obj, Elm_GLView_Func func);
void elm_glview_resize_func_set(Evas_Object *obj, Elm_GLView_Func func);

resize callback can be controversial as well but I want to argue that adding this callback
makes the render function a lot cleaner.  To handle resize differently, the user in
render function needs to manually compare and see if the size has changed, and
then handle the cases.  Doing all of this internally once makes the developers life
a lot easier in my opinion.

these callback functions do make the render function a lot cleaner. You can check
out the updated test_glview.c or newly added test_glview_simple.

2.) Minor bug fixes/changes

elm_glview_scale_policy_set() was supposed to be elm_glview_resize_policy_set()
but it somehow evaded our reviews.  That has been fixed.

Also, in _glview_resize, after updating the surface, it was explicitly calling the
render function.  It is actually unnecessary here and calling it here will cause
problems if resize gets called before everything else is setup properly.  So that has
been commented out.

3.) test_glview & test_glview_simple

elementary_test case for glview has been updated to reflect the api changes.
when you run the elmentary_test, you need to make sure that you set
ELM_ENGINE=gl as glview currently only runs on gl backend.

test_glview runs the gears example.  For testing purposes I've included a simple
glview test case that renders a triangle and changing background color.

             


SVN revision: 60517
2011-06-20 10:55:02 +00:00
ChunEon Park 47c8be3464 hermet - just changed my email address.
SVN revision: 60477
2011-06-18 16:16:28 +00:00
Jonas M. Gastal d52c0cfdda Elementary: adding image for latex docs.
SVN revision: 60453
2011-06-17 14:45:19 +00:00
Carsten Haitzler e9f04a172e allow you to set and get table pack position/size in cells.
SVN revision: 60448
2011-06-17 11:36:08 +00:00
Carsten Haitzler c44f45485f big move forward. scrolled entry and entry merge into entry. entry now
can be scrollable or not. scrolled entry now just calls entry calls
and is marked as dperecated to be killed off in the future so no need
to document it etc. edje external also goes.



SVN revision: 60438
2011-06-17 09:44:31 +00:00
ChunEon Park 5e00fcb19c elementary - just updated AUTHORS
SVN revision: 60414
2011-06-17 00:17:02 +00:00
Iván Briano f6fcb0be9d Documentatation and example for the twins anchorblock and anchorview
SVN revision: 60411
2011-06-16 21:28:02 +00:00
Jonas M. Gastal 718cca963c Elementary: elm_animator documentation and example.
SVN revision: 60405
2011-06-16 18:13:03 +00:00
Rafael Antognolli c8e506d9ed elementary: add some examples and a better explanation to elm_bg.
The example code was copied from elementary_test, but now there are 3
pages (one for each example) explaining its usage.



SVN revision: 60394
2011-06-16 14:10:23 +00:00
Daniel Juyung Seo cf4f776b95 elm Elementary.h.in: Fixed documentation.
SVN revision: 60368
2011-06-16 00:59:22 +00:00
Jonas M. Gastal 0a19a833d1 Elementary: Actionslider example and accompaning documentation.
SVN revision: 60351
2011-06-15 14:22:11 +00:00
Jonas M. Gastal f7793072ce Elementary: actionslider documentation.
SVN revision: 60349
2011-06-15 14:13:58 +00:00
Tom Hacohen 9b3ec1000e Elm entry/scrolled_enry: Added *_entry_append API.
This is very useful when you want to feed an entry from a socket for example
and you don't want to wait until all the information is received

SVN revision: 60267
2011-06-13 11:07:43 +00:00
Daniel Juyung Seo e6dbf02e0e Elementary: Removed trailing whitespaces from c,h,am,ac,in.
I think there is no more whitespaces in elementary. So from now on
please check if your code is whitespace-free when you commit it. If so,
no one will suffer from removing whitespaces and merge conflict.


SVN revision: 60223
2011-06-11 07:36:37 +00:00
Daniel Juyung Seo d9bf79c0f7 Elementary glview: Added 'const' to the obj parameters in elm_xxx_get() APIs.
SVN revision: 59920
2011-06-03 17:48:45 +00:00
Sung W. Park 7e01afebe7 From: "Sung W. Park" <sungwoo@gmail.com>
Subject: Re: [E-devel] [RFC] ELM GLView

Elementary GLview wiedget giving simplified access to do opengl
drawing in a widget in elm so you pretty much do no work to set it up
and just provide a render function to draw the contents when it needs
drawing. Thanks to Sungwoo Park and Samsung



SVN revision: 59909
2011-06-03 07:09:25 +00:00
Jeonghyun Yun 732f99f2b7 From: Jeonghyun Yun <jh0506.yun@samsung.com>
Subject: [E-devel] [Patch] elm_gengrid - added new feature : gengrid
reorder mode

I added a new feature "reorder mode" of gengrid refer to genlist
reorder mode.

After set this reorder API, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reordered in gengrid.



SVN revision: 59892
2011-06-02 07:09:17 +00:00
Daniel Juyung Seo 205abde67d Elementary genlist: Fixed genlist reorder.
1. Added reorder APIs to Elementary.h.in header.
2. Fixed wrong declaration of moved callback.
3. Fixed warnings.

And I think 'moved' function needs to be changed to smartcallback.
This is not related to item class structure.


SVN revision: 59885
2011-06-02 04:41:04 +00:00
Seunggyun Kim 265c83e5a5 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist - added new feature : genlist
reorder mode


I introduce a new feature "reorder mode" of genlist.
Using this feature, user can reoder genlist items dynamically.

[API]
==================================================================
- EAPI Eina_Bool   elm_genlist_item_rename_mode_get(Elm_Genlist_Item *it)
Get the rename mode state of an item. This gets the rename mode state
of an item

- EAPI void   elm_genlist_reorder_mode_set(Evas_Object *obj, Eina_Bool reorder_mode)
Set genlist reorder mode. This enables the item is moved to another
item.
==================================================================

After set this reorder api, if user press an item (long press), the item can
be moved another position.
Then if the user releases the item, the item will be reodered in genlist.
When the user releases the holding item, Elm_Genlist_Item_Class.func.moved
callback is also called. 
If needed, the application can add some logic in that callback function.



SVN revision: 59883
2011-06-02 03:10:11 +00:00
Cedric BAIL e20bf4eba5 elementary: add elm_icon_thumb_set.
NOTE: it will only display thumbnail if you requested ethumb in your app.
See fileselector example for more information.


SVN revision: 59848
2011-05-31 16:16:01 +00:00
Michael BOUCHAUD c34c5c5a04 elementary: fix the prototype of elm_index_active_get
SVN revision: 59757
2011-05-27 17:33:40 +00:00
Michael BOUCHAUD 7c8c15abe2 elementary: I forgot the .h :p
SVN revision: 59756
2011-05-27 17:22:02 +00:00
Sangho Park 92060c1ed5 Elementary map: add APIs for setting min,max zoom level
SVN revision: 59704
2011-05-26 12:40:29 +00:00
Michael BOUCHAUD c89bde9986 elementary: thanks to the recent add of eina_inlist_sorted_insert add elm_genlist_item_sorted_insert
SVN revision: 59672
2011-05-25 14:58:39 +00:00
Carsten Haitzler 9bd346b9c6 and... flip now does interactive flipping.. AND page curl flips...
woooo!



SVN revision: 59662
2011-05-25 10:20:49 +00:00
Carsten Haitzler aed4148c70 flip now supports the beginnings of interactive mode. - drag to flip
it in a direction.



SVN revision: 59660
2011-05-25 06:06:48 +00:00
Sangho Park 1a547f902f Elementary map: split route & track (watchwolf's suggestion)
SVN revision: 59548
2011-05-20 05:55:15 +00:00
Michael BOUCHAUD 179252f378 elementary: add object_get to elm_image
SVN revision: 59543
2011-05-19 20:02:16 +00:00
Daniel Juyung Seo 46ee160b3f Elementary conform: Patch by Prince for virtual keypad support and
adding a new API.

1. Virtual Keypad Support.
2. New API "elm_conformant_content_area_get" added.
- Reviewed by Rasterman and I just fixed warnings.


SVN revision: 59528
2011-05-19 10:58:16 +00:00
Carsten Haitzler 72fca358dd elm grid obj++
SVN revision: 59483
2011-05-18 07:15:36 +00:00
Gustavo Lima Chaves 14a634d0a3 [elementary] We don't want a sentinel value in the set of real values.
SVN revision: 59388
2011-05-14 18:15:15 +00:00
Michael BOUCHAUD 874f8d098e elementary: add 2 method to slideshow item_nth_get and count_get
SVN revision: 59308
2011-05-10 09:06:51 +00:00
Daniel Juyung Seo d750e947dc Elementary: Moved doxy to header.
SVN revision: 59263
2011-05-08 05:44:18 +00:00
Daniel Juyung Seo f85948d76e Elementary genlist: Added "swipe" signal to doxygen.
SVN revision: 59256
2011-05-07 00:31:17 +00:00
Michael BOUCHAUD 9647cbcdd6 elementary: add item_sorted_insert in slideshow
SVN revision: 59239
2011-05-06 10:22:32 +00:00
Sangho Park 0a07dc8225 Elementary map:
> --bug of zoom
   > API change (double elm_map_zoom_get() -> int elm_map_zoom_get())


SVN revision: 59216
2011-05-05 15:15:43 +00:00
Sangho Park b4830b8e84 Elementary map: elm_map source patch
i removed all custom enum & url callback of elm_map.
(ELM_MAP_SOURCE_CUSTOM_1, ELM_MAP_SOURCE_CUSTOM_2, ..., _custom1_url_cb, _custom2_url_cb, ... etc)
instead of those, i made sources list.
changed APIs are almost internal APIs...
but some APIs were changed for intuitive usage of map source.
user can make map module instead of setting custom APIs.

another change is "elm_module -> eina_module".
the reason of this change, is that elm_module uses environment value (i.e getenv, setenv.. ELM_MODULES)
i don't want to have a environment value dependency.


SVN revision: 59184
2011-05-04 09:44:53 +00:00
Daniel Juyung Seo 04b491da11 Elementary: Changed homogenous to homogeneous.
Deprecated existing APIs but not removed them. They will be removed
sometime later or when elm 1.0 is released. And added new APIs.
I fixed box, table and toolbar. I will modify other codes in trunk soon.


SVN revision: 59160
2011-05-04 04:53:39 +00:00
Tom Hacohen 9466cbcea3 Elementary: Use an enum for selecting line-wrap method.
BREAKS API - discussed in ML before.

SVN revision: 59115
2011-05-02 10:56:16 +00:00
Daniel Juyung Seo 72f19bf5c1 Elementary layout: Removed 'const' from elm_layout_content_get() API.
This API callers can handle layout content. ex)
evas_object_del(content);


SVN revision: 59035
2011-04-29 12:33:36 +00:00
Daniel Juyung Seo 492f4af0a0 Elementary table: Fixed wrong API name. Patch by Lionel Orry
<lionel.orry@gmail.com>

From Lionel Orry:
Hi devs,

while working on the ffi-efl Ruby bindings for the EFL, I noticed a
wrong declaration in Elementary.h:
s/elm_table_homogeneous_get/elm_table_homogenous_get/.

The patch can be found here: http://pastie.org/1846490

To apply:

cd <path/to/elementary>
wget -O - http://pastie.org/pastes/1846490/download | patch -p0

Thanks in advance,
Lionel


SVN revision: 59033
2011-04-29 09:04:48 +00:00
Sangho Park 2bf6702d02 elm_map: add default wheel control for zoom in/out
SVN revision: 58985
2011-04-28 02:47:12 +00:00
Daniel Juyung Seo 2893d8692e Elementary: Removed trailing whitespaces.
SVN revision: 58944
2011-04-27 02:42:50 +00:00