Commit Graph

943 Commits

Author SHA1 Message Date
Tom Hacohen f0b79d1347 Elm toggle: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60803
2011-06-29 08:57:43 +00:00
Tom Hacohen 36be2846c9 Elm button: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60800
2011-06-29 07:11:54 +00:00
Mike McCormack 0295f4d56e elementary: elm_label_label_ -> elm_object_text
Clear deprecated warnings.

Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 60798
2011-06-29 06:41:31 +00:00
Daniel Juyung Seo a4705d7d9d elm test_map: Fixed 'unused parameter' warnings.
SVN revision: 60746
2011-06-28 07:02:37 +00:00
Jonathan Atton d47854c49f elm: add elm_route: widget to display a route on elm_map. Currently the widget use lines, in the futur it will use edje
SVN revision: 60703
2011-06-26 17:36:18 +00:00
Cedric BAIL 452e2d379f elementary: use Eio when available for fileselector.
SVN revision: 60692
2011-06-25 23:39:43 +00:00
Jonathan Atton 4717eea85d elm: do not include config.h
SVN revision: 60687
2011-06-25 17:48:55 +00:00
Jonathan Atton 6b88bee7e5 elm_map: use emap
SVN revision: 60684
2011-06-25 14:30:10 +00:00
Carsten Haitzler c1e12182b8 genscroller++. just stubs right now.
SVN revision: 60625
2011-06-23 08:52:51 +00:00
ChunEon Park 2b172f87be elementary/diskselector - fixed typos (lenght -> length)
SVN revision: 60570
2011-06-22 05:30:49 +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
Vincent Torri 41566eda22 Elementary : use binary mode for fopen()
SVN revision: 60462
2011-06-17 21:41:17 +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
Carsten Haitzler 4d150c4644 warn--
SVN revision: 60432
2011-06-17 09:06:09 +00:00
Carsten Haitzler ad5dff0d1d quick 3d test for people to know what the perspective and rotate
params do



SVN revision: 60424
2011-06-17 06:58:35 +00:00
Carsten Haitzler 1269305a80 put 2 items in same cell or make them overlap test]
SVN revision: 60339
2011-06-15 10:07:59 +00:00
Daniel Juyung Seo 4cc3d06442 elm genlist: Fixed indentation.
SVN revision: 60323
2011-06-15 04:58:14 +00:00
Daniel Juyung Seo 5b30088911 Elm: Use 'canvas' API and structure rather than 'output' API and
structure.

'canvas' and 'output' are same. So we need to deprecate one of them
later(may be evas 2.0 or so.) After I discuss this with raster, I've
got to use 'canvas' not 'output'. So I fixed elementary codes.


SVN revision: 60268
2011-06-13 11:26:08 +00:00
Boris Faure cb70c3fe3d remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Carsten Haitzler af679f1cc7 hmm conflict not merged right. fix.
SVN revision: 60177
2011-06-10 07:08:34 +00:00
Carsten Haitzler 1e9bdf652b box may be deleted when win is deleted - so dont assume box is around.
SVN revision: 60176
2011-06-10 06:46:04 +00:00
Carsten Haitzler 1e062e2b30 use width for height mode in genlist 4
SVN revision: 60175
2011-06-10 06:18:56 +00:00
Mike McCormack 88b6d94a8e elementary_test: Avoid a double free in box transition
*** glibc detected *** elementary_test: double free or corruption (fasttop): 0x096aa5d0 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xd08591]
/lib/tls/i686/cmov/libc.so.6(+0x6cde8)[0xd09de8]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0xd0cecd]
/usr/local/lib/libevas.so.1(evas_object_smart_callback_call+0x146)[0x37d4f6]
/usr/local/lib/libelementary-ver-pre-svn-09.so.0(+0xcf984)[0x287984]
/usr/local/lib/libecore_evas.so.1(+0x11457)[0x612457]
/usr/local/lib/libecore.so.1(_ecore_event_call+0x389)[0xe93399]
/usr/local/lib/libecore.so.1(+0xca05)[0xe97a05]

my prefix: /usr/local
elm test data in /usr/local/share/elementary
==18230== Invalid read of size 4
==18230==    at 0x80582D6: _win_del (test_box.c:203)
==18230==    by 0x42684F5: evas_object_smart_callback_call (evas_object_smart.c:409)
==18230==    by 0x4112983: _elm_win_delete_request (elm_win.c:624)
==18230==    by 0x4338456: _ecore_evas_x_event_window_delete_request (ecore_evas_x.c:1065)
==18230==    by 0x4307398: _ecore_event_call (ecore_events.c:641)
==18230==    by 0x430BA04: _ecore_main_gsource_dispatch (ecore_main.c:553)

SVN revision: 60174
2011-06-10 06:03:52 +00:00
Carsten Haitzler b01978ac93 forgot to make window of smoothing configurable. fix minor macro
oopsie too.



SVN revision: 60165
2011-06-10 05:07:21 +00:00
Daniel Juyung Seo 7adc76b94e Elm config.c: Fixed thumb scroll option.
SVN revision: 60154
2011-06-10 02:19:36 +00:00
Daniel Juyung Seo 5f1d8a6201 Elementary test_genlist.c: Added evas_object_event_propagate_set() for check object. And changed parameter 0 to EINA_FALSE for Eina_Bool type.
SVN revision: 60093
2011-06-08 16:58:08 +00:00
Carsten Haitzler be54fd5b8e improve layout of font cfg pane in elm config
SVN revision: 60021
2011-06-07 05:35:23 +00:00
Daniel Juyung Seo 6206f5f4a4 Elementary genlist: Code refactoring.
SVN revision: 59942
2011-06-04 01:52:08 +00:00
Daniel Juyung Seo 91bc4fa79f Elementary test_glview.c: Fixed formatting.
SVN revision: 59922
2011-06-03 18:31:12 +00:00
Daniel Juyung Seo 8e91672a42 Elementary: Removed trailing whitespaces.
Keep removing trailing whitespaces :)


SVN revision: 59919
2011-06-03 17:44:24 +00:00
Daniel Juyung Seo c5a6a93ae9 Elementary: Changed build order to alphabetical order.
SVN revision: 59918
2011-06-03 17:43:04 +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
Carsten Haitzler a02679b95f dont need to show actuallyu returning objects - genlist will do that
for u when it gets them.



SVN revision: 59891
2011-06-02 07:07:22 +00:00
Carsten Haitzler 22b5529635 fix elm config - table layout fixes in evas broke usage in elm.
SVN revision: 59889
2011-06-02 06:15:51 +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
Daniel Juyung Seo 665b5f07c6 Elementary: Fixed trailing whitespaces.
It looks like flip is not changed frequently now. I will check
whitespace and indentation from time to time. If this is not good,
please check codes before commit. Thanks.


SVN revision: 59884
2011-06-02 04:24:58 +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
Vincent Torri 7484430229 link elementary_testql lib against eio when needed
SVN revision: 59832
2011-05-31 06:16:12 +00:00
Carsten Haitzler 284ee2b43b fix disk selector to handle intl trext properly. was bad to begin with.
SVN revision: 59831
2011-05-31 05:24:58 +00:00
Daniel Juyung Seo 9d24a639c6 Elementary test_transit.c: Fixed warnings.
SVN revision: 59795
2011-05-30 02:11:21 +00:00
ChunEon Park f7a9123e4c elementary/transit - added one more sample
SVN revision: 59764
2011-05-28 03:39:14 +00:00
Michael BOUCHAUD 6fb74e4853 elementary: fix more warning
SVN revision: 59735
2011-05-27 14:30:36 +00:00
Carsten Haitzler 57fbce9787 lets warning-- shall we?
SVN revision: 59731
2011-05-27 10:44:21 +00:00
ChunEon Park 9141279b52 elementary / transit - updated sample code
SVN revision: 59719
2011-05-27 02:00:46 +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
Carsten Haitzler b11b798344 dont set padding of 1000 pls. :)
SVN revision: 59700
2011-05-26 09:27:30 +00:00
Carsten Haitzler 322b55133d elm box -> use padding!
SVN revision: 59699
2011-05-26 09:22:43 +00:00
Carsten Haitzler 9e20ab8925 add last test case - lots of rows/cols
SVN revision: 59697
2011-05-26 08:49:57 +00:00
Carsten Haitzler ea4ac075fb add test4 for table
SVN revision: 59696
2011-05-26 08:45:20 +00:00
Daniel Juyung Seo 9005f95c62 Elementary: Removed trailing whitespaces except for some files that
raster is heavily working on recently.


SVN revision: 59683
2011-05-26 00:39:12 +00:00
Michael BOUCHAUD bff85e95bd elementary: add eio test with a genlist
SVN revision: 59675
2011-05-25 19:08:38 +00:00
Carsten Haitzler 66b0ee3cd3 add table test case.
SVN revision: 59664
2011-05-25 11:44:10 +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
Carsten Haitzler bf18aa110e fix page to properly show front and back objects.
SVN revision: 59649
2011-05-24 11:11:10 +00:00
Carsten Haitzler db4dae275e fix odd # of slices in x and y axis
SVN revision: 59639
2011-05-24 07:49:11 +00:00
Carsten Haitzler 91561e60a6 and avoid the gl engine perspective stuff
SVN revision: 59636
2011-05-24 05:58:44 +00:00
Carsten Haitzler 0ec1786593 and reduce the amount of calculating we do. we did way too much.
SVN revision: 59635
2011-05-24 05:27:11 +00:00
Carsten Haitzler bca08faf1b dont re-create proxy objects for map if we can avoid it.
SVN revision: 59629
2011-05-23 16:02:37 +00:00
Carsten Haitzler d5fc7633fb fix out of bounds check.
SVN revision: 59628
2011-05-23 13:12:35 +00:00
Carsten Haitzler 65c5ee4e18 and now it animates the "snap to position" either continuing the turn,
or snaps back to its orig posn.



SVN revision: 59623
2011-05-23 12:22:59 +00:00
Carsten Haitzler 228003ed04 and allow flipping in 4 directions! woots!
SVN revision: 59621
2011-05-23 11:22:41 +00:00
Boris Faure 954dc1d645 elementary: make test flipselector more natural
SVN revision: 59617
2011-05-23 10:03:13 +00:00
Carsten Haitzler 8791c3a409 and flip now does shading nicely. rather hacky, but works well.
SVN revision: 59606
2011-05-23 04:28:33 +00:00
Carsten Haitzler 6180b94884 start on light src shading
SVN revision: 59574
2011-05-22 05:28:33 +00:00
Carsten Haitzler 4b708d9155 improve flip some more.
SVN revision: 59573
2011-05-22 04:02:17 +00:00
Carsten Haitzler cf6d98a064 much better flip
SVN revision: 59572
2011-05-22 02:24:54 +00:00
Daniel Juyung Seo 1822602e24 Elementary test_flip_page.c: Removed trailing whitespaces. Spank raster!
SVN revision: 59571
2011-05-22 02:16:01 +00:00
Sangho Park 0203bfdb0e Elementary Map: --warns (-Wshadow)
SVN revision: 59562
2011-05-21 08:59:19 +00:00
Carsten Haitzler 3c83656d70 move test code further down out of the way.
SVN revision: 59558
2011-05-21 01:38:51 +00:00
Carsten Haitzler 16ecf697ff clean up flip code a bit. working on an eventual clean bit of code +
algorithm.



SVN revision: 59557
2011-05-21 01:38:02 +00:00
Sangho Park 1a547f902f Elementary map: split route & track (watchwolf's suggestion)
SVN revision: 59548
2011-05-20 05:55:15 +00:00
Daniel Juyung Seo 694d5bff78 Elementary test_flip_page.c: Fixed warnings.
SVN revision: 59545
2011-05-20 00:46:09 +00:00
Daniel Juyung Seo c94f5ac6a6 Elementary: Removed trailing whitespaces.
/me spanks raster. Raster has begun to like whitespaces recently.


SVN revision: 59544
2011-05-20 00:43:05 +00:00
Carsten Haitzler 79470ac11f and make sure smooht is off!
SVN revision: 59538
2011-05-19 13:07:50 +00:00
Carsten Haitzler fed6752372 add page curl test. right now its code in test. will eventually become
widget when refined. right nhow its a test that has been kikcing proxy
around so its in svn.



SVN revision: 59537
2011-05-19 13:03:48 +00:00
Carsten Haitzler 72fca358dd elm grid obj++
SVN revision: 59483
2011-05-18 07:15:36 +00:00
Bruno Dilly 4b5bf38db6 Elementary calendar: fix min_max_year_set function
Properly support negative value for max year.
In this case, it shouldn't try to set the selected time
to year -1.


SVN revision: 59390
2011-05-14 19:47:54 +00:00
Daniel Juyung Seo 94cce60218 Elementary: Removed trailing whitespaces.
SVN revision: 59260
2011-05-07 08:37:47 +00:00
Sangho Park 2c7fc83f40 Elementary map:
> fix ZOOM_AUTO_FILL, FIT bug
  > fix wheel bug  when paused is set


SVN revision: 59257
2011-05-07 06:32:34 +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
Vincent Torri 33e734bb7a fix undef ref on Mac OS X. Patch by Dave Ray
SVN revision: 59199
2011-05-05 08:28:16 +00:00
Sangho Park 2afcbf5d44 Elementary map: remove warnings of test_map
SVN revision: 59198
2011-05-05 07:42:12 +00:00
Sangho Park cb2a485477 Elementary map: add elm_menu to test_map
SVN revision: 59193
2011-05-04 15:01:07 +00:00
Cedric BAIL b795bd3985 elementary: fix aspect ratio of thumbnail.
SVN revision: 59192
2011-05-04 14:11:12 +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
Carsten Haitzler 7aec7b6cd9 oops test resize there. remove.
SVN revision: 59170
2011-05-04 06:30:05 +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
Carsten Haitzler a1cb0189c3 homogeneous table test.
SVN revision: 59159
2011-05-04 02:28:47 +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
Cedric BAIL 8a93d10cb0 elementary: fix segv when exiting elementary_config.
SVN revision: 59110
2011-05-02 10:11:38 +00:00
Daniel Juyung Seo a66af23825 Elementary map: Fixed warning.
SVN revision: 59036
2011-04-29 12:37:31 +00:00
Sangho Park 524096648e Elementary map: change evas_object_line (route) to evas_object_polygon
SVN revision: 59016
2011-04-28 16:52:52 +00:00
Daniel Juyung Seo 4f9e54e674 Elementary test.c: Fixed doxygen typo.
SVN revision: 59011
2011-04-28 15:45:32 +00:00
Daniel Juyung Seo 297d4b4bb4 Elementary: Fixed formatting.
Removed trailing white spaces. Fixed indentation.


SVN revision: 59007
2011-04-28 15:10:25 +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 71fe32df77 Elementary test_thumb.c: Fixed formatting.
SVN revision: 58983
2011-04-28 02:05:08 +00:00
Carsten Haitzler a45f22567d back to 2000 items in test.
SVN revision: 58952
2011-04-27 10:18:08 +00:00
Carsten Haitzler 071c5747bf fix genlist processing items in idle time... idle entere instead :)
SVN revision: 58951
2011-04-27 10:17:26 +00:00
Sangho Park cfc655445f elementary: sort Makefile.am for compiling sequence
SVN revision: 58947
2011-04-27 06:20:23 +00:00
Daniel Juyung Seo 2c0b0050e5 Elementary test_map.c: Fixed formatting.
Fixed indentation. Put a space between if/for and (. Removed unnecessary blank lines.


SVN revision: 58937
2011-04-26 16:19:58 +00:00
Carsten Haitzler 858a6567be elm config also do it. need to actually USe the prefix stuiff.. no
more package_data_dir use int he code.. needs to go.



SVN revision: 58864
2011-04-24 09:52:31 +00:00
Carsten Haitzler 6bb5c38ea6 and now actuallty start using and supporting per-app prefix finding.
SVN revision: 58863
2011-04-24 09:51:48 +00:00
Daniel Juyung Seo 5229aed40b Elementary genlist: Added genlist mode feature.
I introduce a new concept to genlist.
I named it "genlist mode" after I discussed it with raster.
Using this feature, one can activate/deactivate any mode(effect) to an item.
The mode is defined in genlist item edc.

You can watch a sample video on youtube.
http://www.youtube.com/watch?v=ZPbwpzwwiS8
I created two sample mode: Slide and Rotate.

[Feature Description]
 - One can activate a specific mode to an item.
 - One item is activated at one time while others are deactivated.
 - Genlist handles deactivating other items when one item is activated.
 - There are two different view: before activated, after activated.
 - Genlist creates the second view when the first view is activated. Usually the first view is animated.
 - Genlist destroys the second view when the item finishes deactivating.
 - Creating/Destroying the second view on the fly gives performance enhancement because there is no reason to hold all objects in two views all the time.
 - Mode is defined in genlist edc so one can easily add it more.
 - Mode edc style is separated from normal genlist styles. One can combine any genlist style with mode edc style.

[API]
 - EAPI void elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
   Activate/Deactivate a mode to an item.
 - EAPI const char *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated mode name.
 - EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated item.
      
[Structure]
 - Elm_Genlist_Item 
   Added const char *mode_item_style;
	     
[Usage]
 - Set mode style name to genlist item class.
   itc.mode_item_style = "mode";
 - Activated mode to an item whenever you want.
   elm_genlist_item_mode_set(it, "slide", EINA_TRUE);


SVN revision: 58791
2011-04-21 11:47:36 +00:00
Sangho Park 6bc4670615 - add rotate feature
- pinch zoom improvement


SVN revision: 58784
2011-04-21 08:55:02 +00:00
Daniel Juyung Seo a7a234a3e3 Elementary test_actionslider.c: Fixed wrong variable names.
Magnet slider(ms) is an old name of actionslider. So I changed ms to as.


SVN revision: 58764
2011-04-20 17:20:15 +00:00
Daniel Juyung Seo b1c1993845 Elementary: Removed trailing whitespaces.
SVN revision: 58754
2011-04-20 14:16:51 +00:00
Sangho Park fe580b2fdb This is a patch for elm_map name(address) feature.
I added some APIs for name to elm_map.c and added some test code to test_map.c

I used nominatim OSM service. (http://http://nominatim.openstreetmap.org/)
as i felt, it's response time was very good to use.


SVN revision: 58703
2011-04-18 06:42:47 +00:00
Daniel Juyung Seo 7023c0006d Elementary bin: Use EINA_TRUE/EINA_FALSE for Eina_Bool parameters.
SVN revision: 58688
2011-04-15 11:44:05 +00:00
Carsten Haitzler 59f8230bb5 kbd input/fcosu works on inlined wins. wootsors
SVN revision: 58664
2011-04-14 12:47:16 +00:00
Daniel Juyung Seo 3d99ec3932 Elementary: Removed trailing white spaces.
SVN revision: 58661
2011-04-14 11:43:43 +00:00
Carsten Haitzler 315dc93196 mm.... new widget options/modes for win... u can put a window..
INLINED in another window. :) it's an image object. have fun!



SVN revision: 58657
2011-04-14 10:48:43 +00:00
Daniel Juyung Seo aff74489cc Elementary: Applied "clicked" signal name change for gengrid/list/genlist.
SVN revision: 58596
2011-04-12 17:29:59 +00:00
ChunEon Park 2b735983c4 elementary/transit - updated test_transit for the chain transit
SVN revision: 58576
2011-04-12 05:49:47 +00:00
Christopher Michael 2b431b610a ELM: Fix 'whitespace following trailing backslash'
SVN revision: 58500
2011-04-08 23:14:52 +00:00
Daniel Juyung Seo 64ff85f610 Elementary src/bin: Removed all trailing whitespaces.
SVN revision: 58491
2011-04-08 14:30:48 +00:00
Carsten Haitzler dccd5aa4c6 spank! wanings--
SVN revision: 58483
2011-04-08 08:42:32 +00:00
Daniel Juyung Seo d61cf35694 Elementary map: Route patch. Patch by Sangho Park <gouache95@gmail.com>
Mail from Sangho Park.
I added some APIs for route to elm_map.c
There are some route services provided by Open Street Map (yours, open
route service, monav...)
I just added 'yours' url callback and will add ors, monav.
And added some test code to test_map.c


SVN revision: 58474
2011-04-08 06:14:10 +00:00
Carsten Haitzler c4b8b91834 wrn--
SVN revision: 58470
2011-04-08 05:53:37 +00:00
Daniel Juyung Seo 4204583f81 Elementary segment_control: Introduced new widget by Govindaraju and Prince.
Segment Control Widget is a horizontal control made of multiple segment items
together, each segment item is set to equal size, functioning similar to
discrete two state button. Only one segment item can be at selected state.


SVN revision: 58461
2011-04-07 16:44:54 +00:00
cnook 4959de1e63 From: cnook <kimcinoo@gmail.com>
Subject: Re: [E-devel] [Patch] Display more than 3 items

This is Shinwoo Kim, learned that I could contribute to EFL! :)
I'm pleased to inform you that the patch for the "elm_diskselector".

Until now, the "elm_diskselector" only display 3 items at once,
if you accept this patch, the "elm_diskselector" can display more than 3
items.

For this feature, "elm_diskselector_display_item_num_set(Evas_Object *obj,
int num)" is added.
I would like to know more about your opinion about this feature. Thanks.



SVN revision: 58405
2011-04-07 04:54:55 +00:00
Daniel Juyung Seo ed5cfa443c Elementary test_list.c: Fixed formatting.
Use ecrustify and remove trailing whitespaces.


SVN revision: 58369
2011-04-06 01:10:19 +00:00
ChunEon Park 4aabc33b1c Elementary/transit - void * -> Elm_Transit_Effect.
made the interface clear.



SVN revision: 58311
2011-04-04 04:48:51 +00:00
Daniel Juyung Seo d6f2e4c45f Elementary test_genlist.c: Removed trailing white spaces.
SVN revision: 58164
2011-03-29 00:51:56 +00:00
ChunEon Park dca970917a elementary/test_transit.c - removed white spaces
SVN revision: 58140
2011-03-28 01:34:06 +00:00
ChunEon Park a6bfb1c929 elementary/transit - fixed to repeat times provide infinite times actually.
SVN revision: 58137
2011-03-28 01:23:38 +00:00
Carsten Haitzler d5fc6b467b new test for testing focus on deleted.. and hidden widgets
SVN revision: 57897
2011-03-19 15:11:45 +00:00
Christopher Michael 65041c6675 Patch from Jihoon Kim:
Fix typo in Elm API (rename elm_cache_flush_enmabled_get to
elm_cache_flush_enabled_get).



SVN revision: 57835
2011-03-18 00:20:29 +00:00
Carsten Haitzler 8eb8454ac6 also add my libs to this bin.
SVN revision: 57649
2011-03-10 03:22:38 +00:00
Carsten Haitzler 1ecd1b09e0 DSO... ok link everything elm lib links and be done with it so we
donly have to do this in one place... and we do need a svn evas
(1.0.999+)



SVN revision: 57617
2011-03-09 09:44:22 +00:00
Carsten Haitzler 608fe3ca55 be DSO pedantic.
SVN revision: 57616
2011-03-09 09:18:31 +00:00
Carsten Haitzler d88db5cd6e better DSO link fix. mor full-bodied. :)
SVN revision: 57571
2011-03-08 11:21:55 +00:00
Daniel Juyung Seo 929e09c02f Elementary test_notify.c: Removed redundant line.
SVN revision: 57456
2011-03-01 13:48:42 +00:00
Cedric BAIL e23f202de0 elementary: still fixing DSO...
SVN revision: 57429
2011-02-28 16:33:59 +00:00
Cedric BAIL 05745b6f1e elementary: fix another DSO build issue.
SVN revision: 57420
2011-02-28 15:45:13 +00:00
Cedric BAIL f7a2301e90 elementary: fix DSO build error.
SVN revision: 57414
2011-02-28 14:49:20 +00:00
Daniel Juyung Seo 0469574523 Elementary test.c: Fixed some comments.
SVN revision: 57402
2011-02-28 00:14:11 +00:00
Tom Hacohen 57934d16f1 Elementary test-bubble: Modified the test to include a 'no-icon' style.
This exposes an issue introduced in a patch I'll revert in a moment.

SVN revision: 57243
2011-02-22 16:33:18 +00:00
Daniel Juyung Seo beb4105d96 Elementary test_genlist.c: Added display only property to Group Index.
This compresses Group Index's height and disables touch events.


SVN revision: 57221
2011-02-21 16:31:32 +00:00
Daniel Juyung Seo cc6e4113c5 Elementary test_genlist.c: Fixed indentation.
SVN revision: 57215
2011-02-21 15:46:23 +00:00
Daniel Juyung Seo 84145a320e Elementary test: Fixed window name and window title name.
Unified window name like "genlist2", "genlist-group".
Unified window title name like "Genlist 2", "Genlist Group".


SVN revision: 57214
2011-02-21 15:33:40 +00:00
Daniel Juyung Seo 06d93733d7 Elementary toolbar test: Fixed window name and window title name.
SVN revision: 57180
2011-02-20 03:33:32 +00:00
Christopher Michael 95ae8f0624 add __UNUSED__ for data paramater as it's not used.
SVN revision: 57070
2011-02-15 21:29:44 +00:00
Tom Hacohen 7594fa1f61 Elementary: Removed a temp change wasn't meant to be pushed.
SVN revision: 57046
2011-02-15 12:40:30 +00:00
Tom Hacohen 59b7281d65 Elementary translation: Updated POTFILES.in
SVN revision: 57045
2011-02-15 12:32:39 +00:00
sangho park ce03c84077 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map_marker_remove test code

Dear all,

This is a patch for elm_map_marker_remove test code.
I added one button for marker_remove to test_map.c



SVN revision: 57044
2011-02-15 10:28:39 +00:00
Tom Hacohen f087a24563 Elementary test: Added a toggle to switch between UI-mirroring modes. On the fly ui-mirroring is not yet implemented so only new windows will comply (i.e change the toggle and then click on an item from the list).
SVN revision: 56811
2011-02-08 14:13:07 +00:00
Christopher Michael ffa89bd79f Path variable no longer needed here.
SVN revision: 56747
2011-02-06 09:00:52 +00:00
Sebastian Dransfeld 522779e13c elm_icon does grok this
SVN revision: 56736
2011-02-05 20:14:24 +00:00
Tom Hacohen a22d8668a5 Elementary text-ctxpopup: Enabled scrolling for the last ctxpopup test so it'll also work on small screens. Patch by ChunEon Park (Hermet).
SVN revision: 56669
2011-02-03 08:23:19 +00:00
Carsten Haitzler 329ab2ac38 thanks capn' igloo - trying to repro your enna cpu usage case, but
can't. its a matter of simply some element re-rendering that is hidden
- rendering into a mapped buffer. i disable the animation in the
layout (layout2) and no cpu usage. that's my bet.



SVN revision: 56204
2011-01-17 10:47:12 +00:00
Carsten Haitzler fa651b4b34 warning--
SVN revision: 56188
2011-01-16 08:16:45 +00:00
ChunEon Park 8d17a71e5b From: ChunEon Park <chuneon.park@samsung.com>
Subject: RE: [E-devel] [PATCH] elm_transit

modified some test sample codes for looking better. 



SVN revision: 56126
2011-01-15 08:09:42 +00:00
Carsten Haitzler 305ee514a6 warnings--
SVN revision: 56049
2011-01-11 09:58:34 +00:00
Carsten Haitzler c2d396e11a add in proper declaration of elm_transit_add with void as a param -
and fix from ChunEon Park <chuneon.park@samsung.com> for it tin test
app.



SVN revision: 56040
2011-01-11 05:58:07 +00:00
sangho park 4502370c80 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map downloading progress info & bug fix

I added one new signal, one new API and fixed seg fault bug.

- signal : "download" (this signal is called when map_tile is
downloaded)
- API : elm_map_utils_downloading_status_get(const Evas_Object *obj, int
*try_num, int *finish_num)
- seg fault : if user select custom map provider, seg fault occurs,
because
there is no url_cb in the custom map provider

you can check download progress using these signal & API.
the example is in "test_map.c".



SVN revision: 56039
2011-01-11 05:48:28 +00:00
ChunEon Park b34d8f7e0e From: ChunEon Park <chuneon.park@samsung.com>
Subject: [PATCH] elc_ctxpopup

Here code is for the ctxpopup. 

Since the functionalities of ctxpopup are somewhat different, 
I'm trying to overwrite the ctxpopup code entirely first. 

The main reason is, 
Original ctxpopup could determine it's size and position by itself.
Of course, upstreamed version supports this. But it can not be reduced
it's
size
And it supposes the arrow position to center of box edje. 

Basically, 
This version calculates it's box size first then find available space
from
the it's position. 
The origin position of the box is not expected, it finds the available
positions. 
But if there is not enough space to be shown, then it finds a best
direction
to be shown again.
In this case, it reduces it's size also as to be shown entirely. 
Since the ctxpopup supports scroller, the reduced box could show the all
items also. 
(The point is ctxpopup should know the size of total items...)

I'm not sure the upstreamed version could cover the above scenario, 
If then, I need to modify it first.

(fixed some minor formatting issue too)



SVN revision: 56021
2011-01-10 08:59:40 +00:00
Carsten Haitzler 91ec4bb1da make genlist use different icon for end for testing.
SVN revision: 56019
2011-01-10 06:46:59 +00:00
ChunEon Park ef41b5aff1 From: ChunEon Park <chuneon.park@samsung.com>
Subject: Re: [E-devel] [PATCH] elm_transit

Here is a very small patch for elm_transit 

Removed an unnecessary parameter. 



SVN revision: 56016
2011-01-10 05:34:58 +00:00
Jihoon Kim a9b51873bd From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] Change the second parameter type of
elm_slidershow_timeout_set

Most of APIs related to timeout_set / get uses double type as parameter,
but elm_slidershow uses integer type.

For uniformity, the second parameter type of elm_slideshow_timeout_set
is changed into double type.



SVN revision: 56015
2011-01-10 05:27:15 +00:00
ChunEon Park 7a3aa60910 From: ChunEon Park <chuneon.park@samsung.com>
Even it looks somewhat alien elm, 

I hope EFL supports basic effect by using c and edc.

In some cases, it is useful for app developers. 
They want to use effects easily and quickly as Other F/W does
providing. 

Here is patch again.

Added two lines for elm_transit_duration_set exception handling. 

I guess there are possibilities still to add/modify some functions to
the
transit. 
So, currently the exception cases does not defined yet. 

But I will try patches soon as perfect things.

Please consider about transit.  

And..  if this transit is acceptable, 
How about deprecate elm_animator as soon as possible? 



SVN revision: 55966
2011-01-07 06:23:20 +00:00
Seunggyun Kim 73b7fe6228 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel]  [Patch] Group index support

I added group index feature.
This feature support to show item indicates group index.
I attached capture images showing group index.
As you can see attached png images, Group index item includes same group
items.

The group index is shown until every items that have same group index
are scrolled. so group index realize/unrealize is not excuteded in
_item_block_position function.
instead of the function, group index is controlled in _pan_calculate
function.

"Genlist Group" and "Genlist Group Tree" menu is added in
elementary_test. you can test group index operations in elementary_test.

This patch is not support elm_genlist_item_insert_before/after
operation of group index. We are now considering the operations in group index.,

This patch assumes that the previous 2 patches are already applied to upstream.
'[E-devel] [Patch] Tree support for elm_genlist_item_prepend() API.'
'[E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs',
So this patch does not include the changes of the previous patch.

I separated this patch.

- 004.elm_genlist.c.patch.txt
    Patch for src/lib/elm_genlist.c
- 005.test_genlist.c.patch.txt
    Patch for src/bin/test_genlist.c 
- 006.genlist.patch.txt
    Patch for data/theme/default.edc
            
And you have to add attached group_index.png file into 'data/themes'
'group_index.png' file is group index background image. 


Daniel Juyung Seo help make test code and refactoring group index code.



SVN revision: 55925
2011-01-06 05:13:11 +00:00
Daniel Juyung Seo bbc823a1eb From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel]  [Patch] elm_actionslider feature patch for
elementary.

This patch is for elementary elm_actionslider.
Mr. Sumanth created this patch. I reviewed it and fixed some.

This patch includes below features.
- Indicator label Set/Get APIs.
- _del_hook fix for wd->drag_button_base.
- Added magnet disable feature. _drag_button_up_cb fix for no magnet
handling. If magnet position is set to ELM_ACTIONSLIDER_NONE, it disables
magnetic. Added a test case to elementary_test.



SVN revision: 55872
2011-01-05 07:49:11 +00:00
Daniel Juyung Seo 2c441b83a7 From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs

I added tree feature support to
elm_genlist_item_insert_before/after() APIs.

This patch assumes that the previous patch, '[E-devel] [Patch] Tree
support
for elm_genlist_item_prepend() API.', is already applied to upstream.
So this patch does not include the changes of the previous patch.

This patch includes API break. I added parent parameter.
To support genlist group index feature, it should have a parent
parameter
like elm_genlist_item_append/prepend() do.
Raster already agreed to this API break.
I or my co-worker will introduce genlist group index feature today.
But for the reviewer's convenience, I separated this patch.

- 001.elm_genlist.patch.txt
   Patch for src/lib/elm_genlist.c
- 002.elm_genlist.patch.txt
   Patch for src/lib/Elementary.h.in, src/bin/test_genlist.c
- 003.elm_genlist.patch.txt
   Due to API break, I changes other EFL libraries and applications on SVN. 



SVN revision: 55869
2011-01-05 06:03:43 +00:00
ChunEon Park f290c3a805 From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elm_tansit

001_elm_transit.c. : fixed elementary_test resizing / zoom effect bug. 



SVN revision: 55861
2011-01-05 05:17:18 +00:00
Mike Blumenkrantz 794e816d56 add -lm to elm_test thanks to quaker66
SVN revision: 55855
2011-01-04 20:07:10 +00:00
Christopher Michael 61cb33c4be Add UNUSED where needed.
Fix formatting.



SVN revision: 55785
2010-12-31 01:10:55 +00:00
Carsten Haitzler 12add1f6ef make flush config have a master boolean enable/disable
SVN revision: 55744
2010-12-24 16:02:30 +00:00
Carsten Haitzler 2696d9a740 Rajeev Ranjan(in India) made a patch for elm_button.
Reasons for this patch are as follows. 

1. Clicked signal is emitted from button when mouse release region
coincides
with button region and there has not been any drag outside the region
during
pressed state. (theme change)

2. Unpressed signal is emitted from button every time we press on
button and
unpress it irrespective of whether we unpress in button's region or
outside.
(theme change)

3. The unsetting of maximum size hint has been removed from _sizing_eval
function as there is a possibility that some application may set this
hint
and if we unset it then this information set by application will be
lost.

4. Modification in test code for button to show the difference between
clicked and unpressed signal emission from this widget. Added a
scroller in
the heirarchy to show the effect of hold on clicked signal emission.



SVN revision: 55687
2010-12-21 09:32:50 +00:00
sangho park 6f63c7bf30 From: sangho park <gouache95@gmail.com>
Subject: [E-devel] [Patch] elm_map module patch

This is a patch for elm_map module.
when app developers or companies want to use specific license map (i.e
google map), module is needed.

- add new map provider for module "ELM_MAP_SOURCE_MODULE".
- add test_map module.
- add test code for module provider.
- add my name to AUTHORS.



SVN revision: 55684
2010-12-21 09:14:47 +00:00
Carsten Haitzler 032c5c94de make pager resizable for tests.
SVN revision: 55648
2010-12-20 06:02:53 +00:00
ChunEon Park c28e1674ac From: ChunEon Park <chuneon.park@samsung.com>
003_elm_transit.diff.txt (made all effect context APIs private. But
expose
each one façade API to use easy.) 



SVN revision: 55579
2010-12-16 07:53:42 +00:00
ChunEon Park 7d29c9eece From: ChunEon Park <chuneon.park@samsung.com>
001_elm_transit.diff.txt (modified few test cases to make look better)



SVN revision: 55576
2010-12-16 07:35:10 +00:00
Carsten Haitzler 82af7aa39b for edje cache stuff in config ui - reduce range. ranges were too big for
reasonable values. :)



SVN revision: 55552
2010-12-14 10:53:24 +00:00
Gustavo Lima Chaves 19f5f9fc00 New Fileselector mode: GRID.
SVN revision: 55448
2010-12-10 13:01:51 +00:00
Gustavo Lima Chaves 65744977a6 Typo--.
SVN revision: 55446
2010-12-10 13:01:31 +00:00
Otávio Pontes 7bb748c809 Fixing problems in disabled slider
SVN revision: 55420
2010-12-09 15:59:20 +00:00
Otávio Pontes 5c3d084fd6 Changing size hints in color selector and action slider tests.
SVN revision: 55419
2010-12-09 15:59:17 +00:00
Tiago Rezende Campos Falcao f3b2aaffa3 Replace focus_jump by focus_cycle in disabled_set
elm_widget_disabled_set was calling focus_jump and it broke the focus tree.
Now, using focus_cycle to pass focus to next object.

Added test to disable focused button in test_focus.

SVN revision: 55408
2010-12-09 13:07:39 +00:00
Carsten Haitzler 87450102d8 make test for entry in flip.
SVN revision: 55393
2010-12-09 08:36:24 +00:00
Carsten Haitzler 7438cd8802 multi-touch has a rotate button for testing.
SVN revision: 55368
2010-12-08 03:37:33 +00:00
Gustavo Lima Chaves 68437b969b Indenting and removing bogus code blocks.
SVN revision: 55364
2010-12-07 19:18:14 +00:00
Gustavo Lima Chaves 6461dbad0b Typo, old typo.
SVN revision: 55363
2010-12-07 19:18:05 +00:00
Jihoon Kim 44cf2f3382 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_slider patch for disable state

elm_slider does not support disable state, so I make this patch.

Please review it and upload in svn if it is ok.

(nb - also fixed vertical slider sizing in defaul theme and changed
jihoons changes to slider test to make the vertical sliders in a
horizontal box so they dont get silly long windows)



SVN revision: 55340
2010-12-07 05:15:05 +00:00
Gustavo Lima Chaves eae9d6b81c Indenting.
SVN revision: 55329
2010-12-06 12:46:16 +00:00
Gustavo Lima Chaves e2b7c27106 New Elementary Config. App. options tab: Scrolling.
Also introducing config. API to set/query those values.



SVN revision: 55328
2010-12-06 12:46:10 +00:00
Gustavo Lima Chaves b63bf2450e Just indenting this file.
SVN revision: 55327
2010-12-06 12:46:02 +00:00
Gustavo Lima Chaves acea6344eb Better handling of mouse wheel events for sliders.
SVN revision: 55323
2010-12-06 12:45:33 +00:00
Gustavo Lima Chaves d300d91cee Misusing API.
SVN revision: 55322
2010-12-06 12:45:26 +00:00
Gustavo Lima Chaves 2b354249df Typos, damn typos.
SVN revision: 55321
2010-12-06 12:45:18 +00:00
Gustavo Lima Chaves 13dcb67737 Redundant semicolons here.
SVN revision: 55320
2010-12-06 12:45:11 +00:00
hyoyoung.chang 3cf111500d From: hyoyoung.chang@samsung.com
As we talked last week, I made a version of adding external image in
elm_entry. It seeks a local file if prefix is 'file://' then it loads image and adds it. If image file can't be loaded, adding
wft emoticon.

patch in with minor fix for path and an added actual test case in elm
entry test.




SVN revision: 55134
2010-12-02 08:25:36 +00:00
Carsten Haitzler f8b8439868 magnet->action (slider)
SVN revision: 55116
2010-12-01 09:54:20 +00:00
Carsten Haitzler ea1672a331 hoverlist -> ctxpopup - as its not just a list really. it is a popup
of arbitrary content. list is one of them.



SVN revision: 55112
2010-12-01 06:52:46 +00:00
Bruno Dilly ad9b687305 Remove unused var on test_focus
SVN revision: 55096
2010-11-30 18:51:16 +00:00
Tiago Rezende Campos Falcao 670ca32f20 Event Callback
SVN revision: 55061
2010-11-29 13:56:30 +00:00
Gustavo Lima Chaves a26f941960 Account for list unselection (elm profiles).
Sorry, my bad, discomfitor.



SVN revision: 55059
2010-11-29 13:15:20 +00:00
Mike Blumenkrantz 1164a8ab20 come on people, if it can return null then you can't just blindly throw it into strcmp and watch it segv.
SVN revision: 55032
2010-11-27 07:32:30 +00:00
helen 99e8296fc2 Making elementary compile when safety check is disabled
Removing warnings from Elementary if Eina is with safety checks disabled

SVN revision: 55012
2010-11-26 13:35:33 +00:00
Gustavo Lima Chaves 76e4e00504 Elm photocam now back to life.
Now whoever broke fileselector, please fix it!!



SVN revision: 54971
2010-11-25 06:27:42 +00:00
Gustavo Lima Chaves f4218d5fda Indenting this little monster.
SVN revision: 54923
2010-11-24 08:22:41 +00:00
Gustavo Lima Chaves a5ac9cd68f "Set to all" actions on font dialog, elm config app.
You may now set a common font overlay for all text classes available.



SVN revision: 54857
2010-11-23 08:30:55 +00:00
Gustavo Lima Chaves c4d899c419 More font sizes.
SVN revision: 54852
2010-11-23 06:40:15 +00:00
Gustavo Lima Chaves bbeb7cfcc5 Elm caching settings exposed, part II.
Edje caching primitives exposed in Elm, too, now, and stored at
config. Also, there's now a poller running for all Elm apps doing
cache flushing. All these things have configurable values, of course.

Testing config version bumping too, it should work.



SVN revision: 54851
2010-11-23 06:10:58 +00:00
Davide Andreoli a6f53d0fb9 Improve Fileselector test: all API are exposed in the test now(is_save, folder_only, expandable, path_get), add a separator too.
SVN revision: 54844
2010-11-22 23:17:56 +00:00
Bruno Dilly ddf7900931 Fix bubble test window title
SVN revision: 54810
2010-11-22 18:57:51 +00:00
Gustavo Lima Chaves 4633eb92d8 Elm caching settings exposed, part I.
Now working on exposing edje caching too, and having a cache dumping
poller.  Patch also replaces some focus_overalay object functions,
too.



SVN revision: 54770
2010-11-22 06:56:06 +00:00
Gustavo Lima Chaves e7dfbf2315 Better sizes here.
SVN revision: 54769
2010-11-22 06:55:54 +00:00
Carsten Haitzler e175185eaa make store "./store" to make it.. well.. better.
SVN revision: 54741
2010-11-20 11:14:23 +00:00
Carsten Haitzler 63fd838ebe move store to an actual lib file - elementray.h too and check for
pthread support due to locks. (vtorri - windows way of doing this?)



SVN revision: 54740
2010-11-20 11:12:15 +00:00
Carsten Haitzler 01e71a2649 well... many things - genlist, when it is processign quue, or u
add.del items will try and stick to viewing an acnhor item. it also
handles wrapping text properly now if style has such a thing - a test
style with that is there too (message style) for now - found isasue in
edje with textblock styles - doesnt change on state change. but anyway
- re-wrapping text works.. and it progressively processes the genlist
blocks to re-calc sizes etc. etc. so you dont block and so-on. i5ts
not too shabby. as for that - store has a generic struct type reader
now and is being tested... and get rid of unused var.



SVN revision: 54738
2010-11-20 08:43:43 +00:00
Carsten Haitzler 3b5e9a43b0 ummm fix warnings. merge with my start on generic data -> parts in
item mapping.



SVN revision: 54684
2010-11-18 11:10:58 +00:00
Gustavo Lima Chaves f9172244ac Elementary welcomes text classes support.
I'm now populating the default theme with text classes, just commit
with one for now. There can be tweakings at Elm config app's UI fonts
page, I know, but that will come later (editable preview field, font
hinting/fallback, blablabla).

WARNING: for users testing elm config, an old "rm -rf
~/.elementary/config" might be needed here, after this commit.



SVN revision: 54681
2010-11-18 10:01:24 +00:00
Gustavo Lima Chaves ceff604deb Elm config app sizing change (matching Elm test's size) and cosmetic
fixes.



SVN revision: 54677
2010-11-18 10:00:26 +00:00
Gustavo Sverzut Barbieri 32e95a47bb allow fetch to be executed from main thread as well.
SVN revision: 54676
2010-11-18 09:54:51 +00:00
Gustavo Sverzut Barbieri 2ea364ff68 make core independent of filesystem.
idea is to make it extensible for other backends without bloating the
core too much.



SVN revision: 54675
2010-11-18 09:33:39 +00:00
Gustavo Sverzut Barbieri 1360f85163 who else agrees that raster should use more eina utilities? :-)
SVN revision: 54670
2010-11-18 08:13:05 +00:00
Carsten Haitzler b3ce84eb7d beginnings of a "store abstraction" ... data storage <-> genlist etc.
to make life easier for app devs.



SVN revision: 54664
2010-11-18 02:54:12 +00:00
Bruno Dilly a69cc68c57 Add elm_genlist_item_item_class_update
1. elm_genlist_item_item_class_update() API
It is required to change an item's item class on run-time.
Applications want to change a certain item's style and callbacks
dynamically.
This looks ok because changing one item's style does not affect performance,
And this API uses elm_genlist_item_update internally.
API name follows elementary naming conventions.
I've also added test code to elementary_test, Genlist 7.

2. constant to macro.
I replaced 2 constants for max_item_per_block and longpress_timeout to
macros.
This could be used in other places of the code.

3. duplicated assignment.
In elm_genlist_item_append, it->before = 0 is written in if and else.
I put this statement out of if().

4. fix doxygen typo
I fixed elm_genlist_compress_mode_set doxygen.

By: Daniel Juyung Seo <juyung.seo@samsung.com>



SVN revision: 54639
2010-11-17 17:15:28 +00:00
Bruno Dilly 43b579e6a9 Move cursors from default theme to test file
They're used only on test cursor3, shouldn't be on
default.edc


SVN revision: 54631
2010-11-17 16:16:46 +00:00
Lucas De Marchi 020605f4a1 Don't forget the QUICKLAUNCH guards
Compiling this code with CFLAGS="-ffunction-sections -fdata-sections"
and LDFLAGS="-Wl,--as-needed -Wl,--gc-sections -Wl,--print-gc-sections"
was giving me the following messages:

/usr/bin/ld: Removing unused section '.text._on_key_down' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.my_show' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.rodata' in file 'elementary_testql-test_focus.o'
/usr/bin/ld: Removing unused section '.text.test_focus' in file 'elementary_testql-test_focus.o'

The issue was the missing guards.



SVN revision: 54600
2010-11-16 18:36:47 +00:00
Bruno Dilly 61c137691d respect 80 cols on elm_config, plz
SVN revision: 54520
2010-11-12 18:24:59 +00:00
Bruno Dilly 891468eee9 Use pager instead of flip + table on elm_config
Avoid the mess of table pack / unpack and back / front flip sets
Pager is an widget much more appropriated for our needs.
And we will have the exactly same look when pager flip style is
fixed.


SVN revision: 54519
2010-11-12 18:24:14 +00:00
Tiago Rezende Campos Falcao 3e95426ab7 Flip effect to Pager
Did we still need the flip?

SVN revision: 54497
2010-11-12 12:28:56 +00:00
Tiago Rezende Campos Falcao 9d3f490265 Adding styles options to pager test.
Can now remove the pager slide test?

SVN revision: 54496
2010-11-12 12:28:53 +00:00
Carsten Haitzler 0584726101 fix focus revert -> reverting should revert only to widgets that say
they CAN be focused :) see conform 2 test. focuse the entry in the
pager then dlete the pager page (pop). before focus vanished. now it
goes back to the top entry as you'd expect.



SVN revision: 54486
2010-11-12 04:16:24 +00:00
Bruno Dilly bad1264722 Emit clicked on elm_bubble
Closes ticket #441


SVN revision: 54467
2010-11-11 18:04:45 +00:00
Bruno Dilly 1ed3e906c9 Add test for elm_bubble
Spots issues with corner.


SVN revision: 54465
2010-11-11 18:03:40 +00:00
Tiago Rezende Campos Falcao 38e5245d20 Transit Effect: blend and wipe behavior
This effects must do the evas_object_{show, hide} at the end of the
effect

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54431
2010-11-10 18:06:28 +00:00
Tiago Rezende Campos Falcao 677b123e32 test_transit.c - activate effects when click
Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54429
2010-11-10 18:06:20 +00:00
Tiago Rezende Campos Falcao bd9873ef22 Elm_Transit: Following the style of efl
ELM_FX is now ELM_TRANSIT_EFFECT

Curve style like in edje

Changing names:
CURVE_IN -> TWEEN_DECELERATE
CURVE_OUT -> TWEEN_ACCELERATE
CURVE_IN_OUT -> TWEEN_SINUSOIDAL
Curve_Style -> Tween_Mode

Now, the calculation is done like in edje.

Changing function of type function() to function(void)
Elm_Transit: Changing calloc(1, to ELM_NEW

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54417
2010-11-10 18:05:45 +00:00
Tiago Rezende Campos Falcao e691fe9d16 Fix elm_transit_{auto_reverse_set, repeat_times_set}
Now, if you set a negative number to repeat, it will repeat infinite
times.

Author: Helen Fornazier <helen.fornazier@profusion.mobi>

SVN revision: 54416
2010-11-10 18:05:42 +00:00
Bruno Dilly 8922b61b38 Add horizontal mode to gengrid test 2
SVN revision: 54409
2010-11-10 18:03:56 +00:00
Bruno Dilly 0ddded2f0e Rename elm_flippicker to elm_flipselector
"Do you come from the land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take cover."
  - Men at Work

commit msg suggested by glima  =D
%hua


SVN revision: 54407
2010-11-10 13:43:34 +00:00
Bruno Dilly 741d4b8878 Rename elm_diskpicker to elm_diskselector
Men at work. Sorry for the inconvenience.


SVN revision: 54406
2010-11-10 13:28:32 +00:00
Bruno Dilly 98ad22406b Rename elm_colorpicker to elm_colorselector
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.

colorpicker, diskpicker and flippicker should follow
fileselector name.


SVN revision: 54405
2010-11-10 13:14:50 +00:00
Bruno Dilly 7ee0a5d64e Unpacking objects from holder table on elm config
Avoid packing object already packed when flipping



SVN revision: 54402
2010-11-10 12:11:28 +00:00
Bruno Dilly 715dbba805 This small patch allows to get a smart callback when the scrollers in an
elm_list or in an elm_genlist fire the edge,{top,bottom,left,right}
signals, backporting them to the list object.

The new smart callbacks called are:
 · "scroll,edge,top" - the list is scrolled until the top edge
 · "scroll,edge,bottom" - the list is scrolled until the bottom edge
 · "scroll,edge,left" - the list is scrolled until the left edge
 · "scroll,edge,right" - the list is scrolled until the right edge

SVN revision: 3



SVN revision: 54393
2010-11-10 02:48:59 +00:00
Bruno Dilly 37a717a578 Change diskpicker items functions names
elm_diskpicker_item_prev/next ->
elm_diskpicker_item_prev_get/next_get

elm_diskpicker_item_selected_set(it) ->
elm_diskpicker_item_selected_set(it, bool selected)

elm_diskpicker_item_selected_get(obj) ->
elm_diskpicker_selected_item_get(obj)

Added bool elm_diskpicker_item_selected_get(it)
      item elm_diskpicker_first_item_get
      item elm_diskpicker_last_item_get



SVN revision: 54379
2010-11-09 20:27:32 +00:00
Bruno Dilly 9d43ab9489 Change flippicker items functions names
elm_flippicker_item_prev/next -> elm_flippicker_item_prev_get/next_get
elm_flippicker_item_selected_set(it) ->
   elm_flippicker_item_selected_set(it, bool selected)

Added bool elm_flippicker_item_selected_get(it)



SVN revision: 54377
2010-11-09 20:26:47 +00:00
Bruno Dilly 8cbad3de66 Fix flippicker item selection
SVN revision: 54376
2010-11-09 20:26:22 +00:00
Bruno Dilly 1537411088 Add test for flippicker select / get items functions
It spots a bug on item selection



SVN revision: 54375
2010-11-09 20:25:57 +00:00
Sebastian Dransfeld e3afcd4d8f Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Carsten Haitzler ba1745c1db get rid of carousel - empty junk we dont need.
SVN revision: 54354
2010-11-09 05:00:49 +00:00
Carsten Haitzler 957db2c37e back to 2000 items in test.
SVN revision: 54216
2010-11-06 06:19:05 +00:00
Carsten Haitzler a43c1d9ed1 improve genlist item realize/nrealize by almost 2x. (4.7->2.7 sec for
processing of a genlist queue of 20,000 items). added genlist item
cache to do this. yay!. also wil improve runtime scrolling -
realiz/unrealize will be also equivalently faster, so less add/del
overhead for the edje objects in gnelist itself. the icons that apps
swallow in still get deleted and created. this is another matter for
anothr day. ant be solved inside of genlist itself. probably need an
unrealize callback per item and a way to steal your icons back from
the item.



SVN revision: 54214
2010-11-06 06:02:22 +00:00
Bruno Dilly 8538a6fe3f Adding a no select mode to toolbar.
In no select mode, toolbar items don't stay selected after click.


SVN revision: 54189
2010-11-05 18:23:15 +00:00
Bruno Dilly 53aba73f94 Loading icon image from files if absolute path is provided
By: Otavio Pontes <otavio@profusion.mobi>


SVN revision: 54188
2010-11-05 18:22:42 +00:00
Gustavo Lima Chaves 24b7f9bcaa Accomodating for scrolled entry changes at elm config app's profile page.
NB: there is no sane way of restraining the min/max size of an elm
widget right now.  This is why the scrolled entry is now (hopefully
not for toooo long) with half the size of a box, not 60px in height
anymore.



SVN revision: 54151
2010-11-04 13:51:09 +00:00
Bruno Dilly 81b68b08a9 Remove elm_notepad
Notepad had a big issue: users couldn't access the entry, so notepad
was something near to an useless widget.

We needed to choose between wrap all entry functions or add these file
save / load and autosave features to entries.

As discussed on the emails list, we decided to go with the second
option, so we won't have an extra widget with lots of wrap functions.

Notepad was internally just an elm_entry with a scroll, so using
a scrolled entry with a file set will do the job.

I've added a test called Entry Notepad that looks like the removed
Notepad test. But we will see the improvements - you can clear the entry
or whatever you want, because the entry is the object you are creating.

If you were using elm_notepad before, just s/notepad/scrolled_entry
and almost everything should work fine. Another change was the function
file_save(obj, file, format), is now just file_save(obj), and the
file and format used are defined by file_set().

At last, some getters were added.



SVN revision: 54145
2010-11-04 11:56:15 +00:00
Carsten Haitzler 320e743304 test case for conform+focus. seems to work here.
SVN revision: 54116
2010-11-03 08:24:56 +00:00
Gustavo Lima Chaves e5ddc241f4 New elm config app's option: engine setting.
SVN revision: 54082
2010-11-01 21:10:14 +00:00
Leandro Pereira ad3df2ce77 [Elementary] Cleanups as suggested by clang static analyzer.
SVN revision: 54077
2010-11-01 18:11:18 +00:00
Bruno Dilly ab792e1e8f elm clean up
SVN revision: 54076
2010-11-01 12:44:30 +00:00
Carsten Haitzler 32c2779ac4 mapbuf -> hide/show content absolutely if mapbuf is hidden/shown and
add test.



SVN revision: 54014
2010-10-30 04:01:09 +00:00
Bruno Dilly 78c083a530 Adding in test_toolbar one example of multiple state items.
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54010
2010-10-29 18:58:54 +00:00
Gustavo Lima Chaves 1817b42e26 Ahh, the trailing whitespaces...
SVN revision: 54001
2010-10-29 17:32:06 +00:00
Gustavo Lima Chaves 5113b69035 Elementary profiles managing revamped. Most importantly:
Changes in Elementary Config application's UI now *persist*.
Not doing right now, but should be simple:
- profile deletion
- profile addition



SVN revision: 53977
2010-10-28 20:57:44 +00:00
Iván Briano ab3b494248 I wonder how I managed to remove those before committing.
SVN revision: 53972
2010-10-28 17:46:47 +00:00
Iván Briano babe15679b Little titlebar pre-made layout goes in.
This comes from a contributed widget from Samsung that was basically reproducing the code of elm_layout, so instead it was turned into a simple pre-made layout (could get more love, but once again I'm no artist).
In order to make its use simpler, previous commits introduced the signal hooks for elm_layout, text_set and some macros to make it easier to set icon/end and text for layouts like this one.

Also uglified a bit the test for Layout in order to show it working, but I intend to get it fixed again soon. Unless discomfitor wants to practice his Edje skills with it... just saying.


SVN revision: 53971
2010-10-28 17:23:53 +00:00
Carsten Haitzler ef82b1451c 1. need calls return runtime failure if elm doesnt have the feature.
2. elm config dont use desktops if no efreet.



SVN revision: 53945
2010-10-28 04:13:09 +00:00
Tiago Rezende Campos Falcao 9bd54d59d6 Elm_Transit
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

Transit is designed to set the various effects for the Evas_Object
such like translation, rotation, etc. For using Effects, Create
transit and insert effects which are interesting.

Once effects are inserted into transit, transit will manage those
effects (ex: deleting).

SVN revision: 53927
2010-10-27 17:02:02 +00:00
Iván Briano 51856aac90 Adding text_set/get to elm_layout.
SVN revision: 53925
2010-10-27 16:58:35 +00:00
Tiago Rezende Campos Falcao 116cd3c6dc Setters/Getters fix 1.
Setters can't receive const pointers.
All setter need corresponding getter.

In this patch, i adjust getter in: Bg, Box, Icon, Image, Win and Main.

SVN revision: 53917
2010-10-27 14:38:37 +00:00
Bruno Dilly 473d8bfc3f Add a new shrink mode to elm_toolbar: SHRINK_HIDE
And fix the docs related to shrink mode:
SHRINK_HIDE -> hide excess items
SHRINK_NONE -> set toolbar minimun size to fit all the items



SVN revision: 53895
2010-10-26 10:30:45 +00:00
Bruno Dilly 01d04e55e0 Change toolbar API for consistency with other widgets
BIG FAT WARNING: lots of changes on toolbar API

Trying to get a lib with easy to use API, I'm changing toolbar API
to be consistent with genlist / gengrid widgets and to be more concise.

Functions select_next, select_first, select_last, unselect, unselect_all
get all are gone.
You can do this calling a combination of the others functions.

This commit changes toolbar to use inlist, and previous items can be
get.

So now we have:
Elm_Toolbar_Item *elm_toolbar_first_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_last_item_get(const Evas_Object *obj)
Elm_Toolbar_Item *elm_toolbar_item_next_get(const Elm_Toolbar_Item *it)
Elm_Toolbar_Item *elm_toolbar_item_prev_get(const Elm_Toolbar_Item *it)
Eina_Bool elm_toolbar_item_selected_get(const Elm_Toolbar_Item)
void elm_toolbar_item_selected_set(Elm_Toolbar_Item *item, Eina_Bool selected)
Elm_Toolbar_Item *elm_toolbar_selected_item_get(const Evas_Object *obj)

With these functions you can iterate over the items list getting /
selecting the item you need.

Another big change is that elm_toolbar_item_add is gone. Now you can
insert items in the position you want, with the functions append,
prepend, insert after, insert before (a relative item).

If you don't like any changes or have a case of use for something
that should be different, please ping me.

At last, includes ELM_TOOLBAR_ITEM_CHECK_OR_RETURN on EAPI that
receives items.



SVN revision: 53894
2010-10-26 10:29:24 +00:00
Gustavo Lima Chaves 1a0fae3aa9 Little changes at elm profile functios + some new free()-ing helpers.
SVN revision: 53878
2010-10-25 17:36:07 +00:00
Leandro Pereira 5ecd61282a elementary-config: Fix toolbar.
SVN revision: 53875
2010-10-25 16:17:24 +00:00
Gustavo Lima Chaves b02dd546a4 Profile selection at Elementary config app.
New heading for persistent profile changes/editions.



SVN revision: 53868
2010-10-25 13:08:19 +00:00
Iván Briano 7d2afc8104 Adding a Transition Layout example in elementary_test
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 53865
2010-10-25 12:48:51 +00:00
Tiago Rezende Campos Falcao 4672a51b0c Remove tests == 0 and != 0
SVN revision: 53787
2010-10-22 21:41:27 +00:00
Tiago Rezende Campos Falcao 1a93e760bd Coccinelle
SVN revision: 53786
2010-10-22 21:41:22 +00:00
Bruno Dilly 1f1b687c24 Remove dead assignments
SVN revision: 53782
2010-10-22 20:11:31 +00:00
Rafael Fonseca 61a5564850 Use profile configuration on fileselectors.
The profile now defines the default value for expand and inwin modes. The
fileselectors tests were changed to reflect that.

Note that the default for desktops is expand mode enabled and inwin disabled
and for mobiles is the opposite.



SVN revision: 53728
2010-10-21 18:40:49 +00:00
Bruno Dilly 7cc73d7568 Remove unused vars from test_toolbar
SVN revision: 53724
2010-10-21 18:12:21 +00:00
Rafael Fonseca cc40bf3f53 Actually add toolbar tests to elementary_test.
Oops, forgot to commit this file in the previous patch =/.



SVN revision: 53722
2010-10-21 17:37:10 +00:00
Rafael Fonseca ba4d8b532d Add tests to elementary_test to exercise toolbar's shrink modes.
Now that toolbar has 3 shrink modes I've added one test for each one. The first
one shows the menu mode which is responsible for adding a More button when the
toolbar size is not large enough to hold all items. The second one is scroll
mode in which the items can be scrolled when the length is not enough. The last
one, none mode, does nothing.



SVN revision: 53718
2010-10-21 15:37:02 +00:00
Carsten Haitzler e05bdd09d7 aaah fix non quicklaunch mode too.
SVN revision: 53703
2010-10-21 04:05:35 +00:00
Leandro Pereira 5174660ea7 [Elementary] Use elm_icon_standard_set() on Elm_Menu items.
This breaks the API *and* the ABI, but this should be consistent with
Elm_Toolbar.  We'll probably need a tweak here and there, but I really
think Elm_Menu should be rewritten.

SVN revision: 53694
2010-10-20 21:30:00 +00:00
Bruno Dilly 9f05acb169 Split tootip test in 2
Avoid multiple windows and the visual pain it was.



SVN revision: 53685
2010-10-20 17:41:31 +00:00
Bruno Dilly 3970b9f9d3 Add carousel to carousel test =P
But it's not working anyway.



SVN revision: 53684
2010-10-20 17:41:03 +00:00
Tiago Rezende Campos Falcao fff738fbe8 Removing more warnings
Using: -Werror -W -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat
-Wformat-security -Wmissing-format-attribute -Wpointer-arith
-Wreturn-type -Wundef -Wwrite-strings

SVN revision: 53683
2010-10-20 17:15:14 +00:00
Gustavo Lima Chaves 547283c23a Re-indenting and taking off trailing whitespaces.
SVN revision: 53679
2010-10-20 16:51:13 +00:00
Carsten Haitzler 35e9272f4d quicklaunch works again. yes - it's semi-broken. but it works.
SVN revision: 53669
2010-10-20 14:12:17 +00:00
Gustavo Lima Chaves a8ac37368d New widget: Hoverlist.
This is one more widget whose idea came from Samsung Electronics.  Its
first name was "context popup". There was no common agreement on a
name for it, so... Trator mode, for now (using hoversel as a pattern).
If you have a better name suggestion for it, just change it -- but
soon, due to releasing plans (in a mailbox near in a jiffy).

While for hoversels you populate slots with thingies to later choose
one of them, which will hover up for you, with hoverlists you get a
single hovering list. It will smartly place this -- unique -- list
onto a fitting place inside its parent widget view. Just call
evas_object_show() on it, anytime you want (like for notifies).



SVN revision: 53644
2010-10-19 20:21:53 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Bruno Dilly 0121df333c Clean test_map, test_multi and test_photocam files
Remove commented lines, extra lines and spaces.


SVN revision: 53638
2010-10-19 18:26:28 +00:00
Bruno Dilly 4ea66676b3 Fix some Wextra complains on elm bin
SVN revision: 53636
2010-10-19 18:25:22 +00:00
Tiago Rezende Campos Falcao 6e9551b087 Review Elm_fileselector_button.
Removed the selected_{get,set} because is the same of path_{get,set}.

Now it uses elm_button like hoversel.

SVN revision: 53622
2010-10-19 14:17:14 +00:00
Tiago Rezende Campos Falcao 75120e2617 Removed unused variables
SVN revision: 53619
2010-10-19 14:17:06 +00:00
Daniel Juyung Seo a72a57c801 Fix a typo in title
Patch by: Daniel Juyung Seo <seojuyung2@gmail.com>



SVN revision: 53593
2010-10-19 11:02:55 +00:00
Bruno Dilly 4c76631b4b Elementary Magnetslider, a new switcher with "magnet" property
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53503
2010-10-17 01:44:57 +00:00
Leandro Pereira 0a32d8c87c [Elementary] Code cleanup of test_list.c on previous commit was wrong.
SVN revision: 53475
2010-10-15 22:52:27 +00:00
Leandro Pereira c245c6483f [Elementary] Code cleanups, as suggested by clang static analyzer.
SVN revision: 53472
2010-10-15 21:26:11 +00:00
Lucas De Marchi d52377931c swipe event for the elm_list
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53442
2010-10-15 11:25:02 +00:00
Lucas De Marchi 4261676ee0 swipe event for the elm_genlist
By: ceolin <flavio.ceolin@profusion.mobi>



SVN revision: 53441
2010-10-15 11:24:46 +00:00
Leandro Pereira c563ef2370 [Elementary] Make it possible to lookup icons from Freedesktop in Elm_Icon.
With these changes, Elm_Icon will also look up icons from the chosen
Freedesktop (fd.o) icon theme.  Since this might incur in some performance
penalties if you're sure only theme icons will be used, icon lookup order
may be specified with the elm_icon_order_lookup_set() function call; using
the lookup parameter as follows:

 - ELM_ICON_ORDER_FDO_THEME (default) will look up first fd.o, then the theme;
 - ELM_ICON_ORDER_THEME_FDO will look up first the theme, then fd.o;
 - ELM_ICON_ORDER_FDO will look up only fd.o; and
 - ELM_ICON_ORDER_THEME (old behaviour) will lookup only from the theme.

Elm_Icon will also try to use a different resolution image if the widget is
resized and the image source is fd.o.

fd.o support requires Efreet, but it should work nicely (falling back to the
old behaviour) if it isn't available.

SVN revision: 53433
2010-10-14 22:21:43 +00:00
Tiago Rezende Campos Falcao cafc4b9e19 Removing unused variables
SVN revision: 53421
2010-10-14 17:58:01 +00:00