Commit Graph

201 Commits

Author SHA1 Message Date
Carsten Haitzler 43f8bd98fe factory.... working on it. but up and kicking. it's a little unhappy
with the 102 million buttons i have in the scroller right now...  when
you scroll along, but... i'll work at it to make it work better.



SVN revision: 62130
2011-08-05 11:15:03 +00:00
Carsten Haitzler f44b26b3e1 we dont need no steenkine genscroller... i had an ephipany! we need
something entirely different...



SVN revision: 62123
2011-08-05 05:59:53 +00:00
ChunEon Park 696b5aa58d elementary/naviframe - added new widget.
This widget is for application's view manager such as elm_pager
But has optional functions more for users convenience. 
Not completed yet for decorations. but basic frame is completed. 

Need to have a review. 



SVN revision: 61313
2011-07-13 04:21:50 +00:00
Tom Hacohen 49b65bfc62 Elm test: Added a --test-win-only to not show the main list window.
This is a nice workaround if you want to use the shot module to take
pictures of the various tests, since the shot module doesn't behave nicely
with multiple windows atm.

SVN revision: 61246
2011-07-11 14:46:16 +00:00
Tom Hacohen 8d20563055 Elm gesture layer: Added a test for the gesture layer widget.
SVN revision: 61119
2011-07-07 14:41:10 +00:00
Tom Hacohen 8df2bb821d Elm frame: Fix the tests to use the new elm_object_text_set/get API.
SVN revision: 60806
2011-06-29 09:11:48 +00:00
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
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
Carsten Haitzler c1e12182b8 genscroller++. just stubs right now.
SVN revision: 60625
2011-06-23 08:52:51 +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
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 1269305a80 put 2 items in same cell or make them overlap test]
SVN revision: 60339
2011-06-15 10:07:59 +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
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
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
ChunEon Park f7a9123e4c elementary/transit - added one more sample
SVN revision: 59764
2011-05-28 03:39:14 +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
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 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 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
Daniel Juyung Seo 94cce60218 Elementary: Removed trailing whitespaces.
SVN revision: 59260
2011-05-07 08:37:47 +00:00
Carsten Haitzler a1cb0189c3 homogeneous table test.
SVN revision: 59159
2011-05-04 02:28:47 +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
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
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 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
Carsten Haitzler d5fc6b467b new test for testing focus on deleted.. and hidden widgets
SVN revision: 57897
2011-03-19 15:11:45 +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 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
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
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
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 1ed3e906c9 Add test for elm_bubble
Spots issues with corner.


SVN revision: 54465
2010-11-11 18:03:40 +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
Carsten Haitzler ba1745c1db get rid of carousel - empty junk we dont need.
SVN revision: 54354
2010-11-09 05:00:49 +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
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
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
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
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
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