Commit Graph

326 Commits

Author SHA1 Message Date
Daniel Juyung Seo 1fda3f02d2 elm test_check: Revised codes.
SVN revision: 69504
2012-03-19 07:27:49 +00:00
cnook 6468430ffa From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_layout

I have attached a patch for test_layout. Please review this and give
any feedbacks. Thanks.



SVN revision: 69501
2012-03-19 06:57:39 +00:00
Carsten Haitzler 83e0754a8b clean up toggle turds :)
SVN revision: 69478
2012-03-16 23:45:48 +00:00
Daniel Juyung Seo 329183045e elm test.c: Changed information text wrapping. Changed internal function name to be distinguished by other elementary API names.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 69295
2012-03-13 12:04:32 +00:00
ChunEon Park a1a5c67ae5 elementary/index - removed some codes should not be pushed in
SVN revision: 69103
2012-03-09 13:37:32 +00:00
ChunEon Park d951cb6136 elemenatry/colorselector - finally first implementation going on
Signed-Off-By: ShilpaOnkar Singh(shilpa.singh@samsung.com)



SVN revision: 69100
2012-03-09 13:04:00 +00:00
cnook 99d2eeb9f1 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_icon

I have attached a patch for test_icon. please review the patch and
give any feedbacks. Thanks.



SVN revision: 68950
2012-03-07 13:52:47 +00:00
cnook 6477874b2f From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_label

I have attached a patch for test_label. Please review the patch and
give any feedbacks. Thanks.



SVN revision: 68949
2012-03-07 13:50:37 +00:00
chanwook jung 2fe90bc997 From: chanwook jung <jchanwook@gmail.com>
Subject: [E-devel] [Patch] elm_genlist : Add tree effect APIs

I made a patch for Tree Effect in elm_genlist.
This feature shows the flip effect when expand/contract the expandable
list.

External APIs :
+EAPI void               elm_genlist_tree_effect_enabled_set(Evas_Object
*obj, Eina_Bool enabled);
- Set Genlist tree effect

+EAPI Eina_Bool          elm_genlist_tree_effect_enabled_get(const
Evas_Object *obj);
- Get Genlist tree effect status

You can test it. "Genlist Tree Effect".



SVN revision: 68934
2012-03-07 12:15:36 +00:00
ChunEon Park e958f8754e elementray/index - some test code(should not be commited yet) reverted
SVN revision: 68876
2012-03-07 06:08:31 +00:00
ChunEon Park 18e3c65c0e elementary/dayselector - New widget Elc_dayselector
Hi Raster,
Please find the modified patch after the suggested changes. 
[ APIs are provided for setting week_start, weekend_start & weekend_length.Default values are fetched
from elm_config instead of edc styles.] 
Please review the patch and push it to svn. 
Thanks,
Sumanth 

Signed-Off-By: Sumanth Krishna Mannam(sumanth.m@samsung.com)



SVN revision: 68868
2012-03-07 04:57:03 +00:00
Carsten Haitzler 7a5a301a63 rename a whole host of config-related functions to be elm_config_*
now. yes - no deprecation. no time to do that.



SVN revision: 68810
2012-03-06 12:04:25 +00:00
Tom Hacohen 737654ba04 Elm entry: Merge anchorview/anchorblock into entry.
And kill those damn widgets.

SVN revision: 68802
2012-03-06 10:09:13 +00:00
Rajeev Ranjan 9711e4c796 From: Rajeev Ranjan <rajeev.r@samsung.com>
Subject: [E-devel]  [Patch]  Elementary: New custom widget Popup

Hi All,
   Attached to the mail is the patch for a new custom elementary
widget  elm_popup for your review.

Change description:
New custom widget Popup added.

elm_popup is an enhancement over elm_notify widget with widely used
parts such as Title, Content and Action Buttons.
Items are supported as well and they are put inside the content area
which can have either an Evas Object/Set of items/Description text.



SVN revision: 68747
2012-03-05 23:51:56 +00:00
Daniel Juyung Seo 8977312e43 elm genlist: Added elm_genlist_item_flip_get/set APIs. Patch by
Hyoyoung Chang <hyoyoung@gmail.com>

On Wed, Feb 29, 2012 at 9:17 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Dear all.
>
> I made a patch to introduce new genlist item mode.
> Two public apis are added.
> +EAPI void elm_genlist_item_flip_set(Elm_Object_Item *it, Eina_Bool
flip);
> +EAPI Eina_Bool elm_genlist_item_flip_get(Elm_Object_Item *it);
>
> It provides on-the-flying item change. It works like that a new item
> added on existed item.
> In elementary test, you can test it.
> It's useful at adding widgets or show buttons in genlist item.
>
> Thanks.

On Mon, Mar 5, 2012 at 5:56 PM, Hyoyoung Chang <hyoyoung@gmail.com>
wrote:
> Hello, I modifed fliP_set api to use ecore_job.
> It resolved version of mouse_{move, up} bugs.
>

SVN revision: 68727
2012-03-05 15:03:12 +00:00
Carsten Haitzler 6e6c64f505 disable factory for elm release
SVN revision: 68714
2012-03-05 13:13:26 +00:00
Sumanth Krishna Mannam 14df28cdae From: Sumanth Krishna Mannam <sumanth.m@samsung.com>
Subject: [E-devel]  [Patch] Elementary : New widget Elm_datetime patch

Attached to the mail is the patch for new elementary widget elm_datetime.
Refer to the below EFL post history for more details. 

The datetime widget provides an option to display Date & time based on
current locale format and the user can edit them through dynamic Modules.
Dynamic modules can be based on 1. Content Popup/diskselector based
list   2. Elm_entry with ISE based input   3. Elm_Spinner based  etc.
Refer to the Screenshots:  <1.ctxpopup_diskselector_UI>
<2.entry_ise_UI>   <3.spinner_selection_UI>

Can someone review and push this patch to EFL repository?

Change description:
New widget Elm_datetime is added.
Datetime widget displays the Date &Time fields and provides a
customizable way to edit them.
The widget is implemented in a modular fashion for date/time field inputs.
Ctxpopup based input is proposed as the default selection module.
Localization support based on Libc is also supported.

Sign-Off By:  Sumanth M.V.K  <sumanth.m@samsug.com>



SVN revision: 68696
2012-03-05 11:07:05 +00:00
Jaehwan Kim d6a8be7f95 Add the ELM_TOOLBAR_SHRINK_EXPAND mode. The items be expanded according the size of the toolbar when it's set.
SVN revision: 68653
2012-03-04 09:52:20 +00:00
cnook c95f17acd7 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_focus

I have attached a patch which is for test_focus. Please review this
and give any feedbacks. Thanks.



SVN revision: 68626
2012-03-02 12:42:42 +00:00
cnook 350dbe0946 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_entry

I have attached a patch for test_entry. Please check this and give any
feedbacks. Thank you.



SVN revision: 68390
2012-02-24 07:41:38 +00:00
Aharon Hillel d22f3fbec5 elementary: Fixed naming of tooltip 2 test
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68320
2012-02-23 13:57:59 +00:00
Aharon Hillel ab3daf33ae elementary: Added infra for API testing in elementary_test
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68319
2012-02-23 13:57:56 +00:00
Aharon Hillel a88ec9a405 elementary: Fixed memory leak when using --test-win-only
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 68318
2012-02-23 13:57:54 +00:00
Carsten Haitzler d83ff51f71 test and fix up horizontal_item style for toolbar.
SVN revision: 68313
2012-02-23 08:22:24 +00:00
Hyoyoung Chang a9dcddd041 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add edit_mode feature (3/3)

As we discussed in 2011 May (
http://www.mail-archive.com/enlightenment-devel@lists.sourceforge.net/msg32498.html
).
I post edit_mode patch.

It almost made by Seunggyun Kim. I fixed some bugs and complaint to
current genlist.
Two public apis are introduced.
+EAPI void               elm_genlist_edit_mode_set(Evas_Object *obj,
Eina_Bool edit_mode);
+EAPI Eina_Bool          elm_genlist_edit_mode_get(const Evas_Object
*obj);
And one attribute is added in genlist item class
+   const char *edit_item_style;

It can used for editing and deleting in genlist.



SVN revision: 68309
2012-02-23 07:39:10 +00:00
cnook 1f7f39f66d From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary_test] test_box

Please review the attached patch and give any feedbacks. Thanks.



SVN revision: 68268
2012-02-22 12:33:25 +00:00
cnook 2a46f57065 From: cnook <kimcinoo@gmail.com>
To: EFL <enlightenment-devel@lists.sourceforge.net>

I have attached patch for elementary_test as following.

  - test_check: using elm_check_state_pointer_set();
  - test_clock: using elm_clock_interval_set();
    
Please review this. Thanks always.
    


SVN revision: 68151
2012-02-20 10:45:06 +00:00
Hyoyoung Chang 068985b187 From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] elm_genlist - add item_class management
functions

I make controversial apis for item class management.
As raster and other guys suggest, I simplify APIs and its behaviors.

First, Two public apis and two internal apis are introduced

+EAPI Elm_Genlist_Item_Class *
+elm_genlist_item_class_new(void)

+EAPI void
+elm_genlist_item_class_free(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_ref(Elm_Genlist_Item_Class *itc)

+void
+_elm_genlist_item_class_unref(Elm_Genlist_Item_Class *itc)

genlist item class is maintained by genlist in automatic manner.

And three fields are introduced in genlist item class.
+   int version;
+   unsigned int refcount;
+   Eina_Bool delete_me;

Normally a user add a elm_genlist_item_class by
elm_genlist_item_class_new().
Then its reference counter is automatic maintained.
If the user wanna to remove the elm_genlist_item_class, then call
elm_genlist_item_class_free()
After refcount reaches to 0, it will be removed.



SVN revision: 68147
2012-02-20 08:26:17 +00:00
Tom Hacohen 4787995f4b Elm pager: die pager, die! Use naviframe instead.
SVN revision: 68015
2012-02-16 09:26:30 +00:00
Carsten Haitzler f164ae2d16 add test for padding in table
SVN revision: 67997
2012-02-16 04:54:12 +00:00
Jihoon Kim 66f88f28da test_entry.c: add test code related to elm_entry_input_panel_enabled_set
SVN revision: 67729
2012-02-07 11:24:39 +00:00
Jiyoun Park c54c6c1ae9 Add new widget for extn socket and plug.
application can use ecore extn socket easyily 
by using elm_window_add with ELM_WIN_SOCKET_IMAGE style. 
And new widget Elm plug is similar with Elm image. 
it can show socket's image using connect API. 
I add test code also(test_win_socket/plug). 



SVN revision: 67245
2012-01-16 17:18:20 +00:00
Mike Blumenkrantz 2c71dea014 add printf for frame clicks in elm test
SVN revision: 67200
2012-01-14 03:37:35 +00:00
Daniel Juyung Seo 1ab70cc671 elm test.c: Fixed build warning.
test.c:215:21: warning: ‘t’ may be used uninitialized in this function

SVN revision: 67171
2012-01-13 05:28:09 +00:00
Gustavo Sverzut Barbieri 9b860dffdd genlist: one more bug, relative insertion of subitems.
relative insertion of sub items does not work either, add test case.



SVN revision: 66951
2012-01-07 02:02:02 +00:00
Gustavo Sverzut Barbieri ba72c6d81f show genlist's inserted sort is completely broken.
Sad, but it's unusable if you use it with subitems:

 * insert top-level item sorted mixes with children;

 * insert children item sorted screws the order

This is also true for groups, is holding my changes to enjoy :-(



SVN revision: 66947
2012-01-06 23:38:33 +00:00
Bruno Dilly 7677abd03a Elementary Web: add functions to set / get useragent
Patch by Steven Falken <btwotch@googlemail.com> with a
few changes.



SVN revision: 66938
2012-01-06 11:31:14 +00:00
Daniel Juyung Seo ba9cdbbf64 elm: Use EINA_TRUE/EINA_FALSE for Eina_Bool type.
SVN revision: 66895
2012-01-05 07:05:09 +00:00
Mike Blumenkrantz 5d75d2fbcc add autocollapse for info frame at top too :)
SVN revision: 66851
2012-01-04 05:26:37 +00:00
Mike Blumenkrantz f5e273178b slightly more working (but still broken) autoscrolling in test app
SVN revision: 66846
2012-01-04 04:59:18 +00:00
Mike Blumenkrantz b9e963c775 add collapsing frames and (broken) scrolling
SVN revision: 66845
2012-01-04 04:52:30 +00:00
Hyoyoung Chang 11e658ec2b From: Hyoyoung Chang <hyoyoung@gmail.com>
Subject: [E-devel] [patch] add copy&paste example to elementary_test
Date: Thu, 29 Dec 2011 18:08:48 +0900

Dear all,

It's a patch to add copy&paste example to elm test in misc section.
In this time, it contains only simple copying and paste, but i'll more extend.

Thank you


SVN revision: 66629
2011-12-29 12:03:42 +00:00
Aharon Hillel 9a11234f20 elementary: Added gesture Layer Momentum test (test_gesture_layer3)
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66424
2011-12-21 08:47:56 +00:00
Tom Hacohen c45ce564dc Elm test: Update tests to use the new self-closing textblock tags.
SVN revision: 66026
2011-12-08 12:39:18 +00:00
Cedric BAIL 4e33fe455c elementary: add elm_video/elm_player test.
SVN revision: 65847
2011-12-03 16:36:39 +00:00
Carsten Haitzler 5a26396eda evas_gl support back after evas 1.1 out.
SVN revision: 65842
2011-12-03 14:21:58 +00:00
Daniel Juyung Seo 049f9ce7ac elm: Updated documentations.
SVN revision: 65788
2011-12-02 00:11:06 +00:00
Daniel Juyung Seo 7307440546 elm bin/test.c: No horizontal bouncing for elm_test menu.
SVN revision: 65726
2011-11-30 17:48:22 +00:00
Daniel Juyung Seo f391a7d6bc elm: Removed trailing whitespaces.
SVN revision: 65725
2011-11-30 17:44:00 +00:00
Mike Blumenkrantz 0958bb17a7 only run one test
SVN revision: 65554
2011-11-24 03:22:32 +00:00
이고은 6824852f0c elementary: Add multibuttonentry widget
---------------------------------------------------

Dear Developers,

I added a new widget called “Multibuttonentry" which could be used as contact button in App
This widget allows a user to insert a text button.
text button is inserted by pressing the "Enter key"
If there is no space in the current row, the new button is entered in the next row. If the button is clicked, it will become focused.
And focused button can be removed by pressing the "backspace" key.
when items are added over 1 lines, if Multibuttonentry lost focus, it becase shrink mode (made it as 1 line)

Please review it's APIs and functionalities.

Thank you,
Goun

---------------------------------------------------

Widget was originally written by Hyunsil Park <hyunsil.park@samsung.com>.
It has been contributed to by the following people:
 * Jihoon Kim <jihoon48.kim@samsung.com>
 * WooHyun Jung <wh0705.jung@samsung.com>
 * deasung.kim <deasung.kim@samsung.com>
 * Myungjae Lee <mjae.lee@samsung.com>
 * Goun Lee <gouni.lee@samsung.com>
 * Mike McCormack <mj.mccormack@samsung.com>
 * Daniel Juyung Seo <juyung.seo@samsung.com>
 * Seunggyun Kim <sgyun.kim@samsung.com>
 * sanghoon80.cho <sanghoon80.cho@samsung.com>

Signed-off-by: 이고은 <gouni.lee@samsung.com>
Signed-off-by: Mike McCormack <mj.mccormack@samsung.com>

SVN revision: 65548
2011-11-24 01:06:26 +00:00
Mike Blumenkrantz d40045cceb match partial test words in elm_test
SVN revision: 65544
2011-11-23 23:14:12 +00:00
Mike Blumenkrantz ab7c84bc31 use strcasecmp for cmdline testing so I don't have to use caps randomly
SVN revision: 65488
2011-11-21 18:54:53 +00:00
Boris Faure 1112d30a41 elm: change elm_object_content_part_set/get/unset to elm_object_part_content_set/get/unset
SVN revision: 65349
2011-11-17 21:02:31 +00:00
ChunEon Park 236192cd9a elementary - modified content_set/get/unset part names to be simple names.
Previous part names are just the swallow part names
but in modified version, the part names chaned to simpler meaning names to use.

i.e for button

elm_object_content_part_set(button, "elm.swallow.icon", icon);
-> elm_object_content_part_set(button, "icon", icon);




SVN revision: 65295
2011-11-16 12:51:53 +00:00
Carsten Haitzler d4d6e79620 disable evas gl based stuff in elm as its not going into efl 1.1
SVN revision: 65004
2011-11-10 06:04:30 +00:00
Carsten Haitzler 75fdda0aa1 in wrong test category
SVN revision: 64984
2011-11-09 12:26:11 +00:00
Carsten Haitzler abd201eb18 rearrange tests into categories using frames and buttons.
SVN revision: 64983
2011-11-09 12:06:12 +00:00
Aharon Hillel 488650710c Elm glayer: Added "Gesture Layer 2" test.
This test tests all of the available gestures.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 64980
2011-11-09 10:46:04 +00:00
Carsten Haitzler 77803e07ed add short opt for --test-win-only
SVN revision: 64938
2011-11-08 07:58:20 +00:00
Bruno Dilly c4d3e5f243 Elementary Cursor Test: add layout tests
Looks like some stuff is broken regarding layout cursors.


SVN revision: 64617
2011-11-01 21:13:04 +00:00
ChunEon Park f3066c815f elemetary - notify, factory, frame, panel, mapbuf
applied content_set/get/unset. 

do it later for the remainder. 



SVN revision: 64502
2011-10-29 04:32:24 +00:00
Mike Blumenkrantz 82df90462a remove all use of elm_toggle_ api
SVN revision: 64207
2011-10-20 21:27:15 +00:00
Iván Briano 1107e0e543 People from Earth: Welcome Elm_Web
Started by glima as a thin wrapper around ewk_view to make webkit
work better integrated with Elementary, then grew up as a more complete
widget thanks to k-s' magic fingers, and now I screwed it up but it looks
like it works, so there..

Build WebKit-EFL, rebuild Elementary and enjoy elm_web.


SVN revision: 63676
2011-09-29 20:58:22 +00:00
Michael BOUCHAUD 1ea8c466df elementary: oups missing test add
SVN revision: 63307
2011-09-09 12:49:54 +00:00
Daniel Juyung Seo d59325d285 elm test_genlist.c: I introduce "Genlist Textblock" test case into
elementary_test. This will help test textblock with genlist. Enjoy it!


SVN revision: 63291
2011-09-08 10:21:04 +00:00
Daniel Juyung Seo 925715983a elm test.c: Removed wrong warnings. Fixed indentation and removed
trailing whitespaces.


SVN revision: 62929
2011-08-29 04:00:17 +00:00
Vincent Torri a1e841fcac change the way elm_main() must be declared (fix bug on Windows).
Instead of EAPI elm_main(***), it must be EAPI_MAIN elm_main(***) so that
it also work on Windows.

If someone knows sed a bit, can he also change all the examples ?



SVN revision: 62885
2011-08-27 07:54:49 +00:00
Carsten Haitzler 56462217ad dont create main test win at all if test win only mode.
SVN revision: 62851
2011-08-26 07:40:51 +00:00
Carsten Haitzler 7e6305542d dont make index active - oops. debugging.
SVN revision: 62819
2011-08-25 14:06:27 +00:00
Carsten Haitzler 62b4440c3c if you activate index without it being clicked, the indicator bit is
visible but empty - dont show this until someone actually clicks.



SVN revision: 62799
2011-08-25 10:20:47 +00:00
Jérémy Zurcher a0366f0ef1 From: Jérémy Zurcher <jeremy@asynk.ch>
Subject: [E-devel] patch : eina_prefix + elementary_test

please find attached a small patch for eina_prefix

it prevent segfault when for instance
no elm_app_compile_*_dir_set is called prior to elm_app_info_set

and another one for elementary/src/bin/test*.c which tends to replace
usage of PACKAGE_DATA_DIR with elm_app_data_dir_get



SVN revision: 62796
2011-08-25 10:01:59 +00:00
Daniel Juyung Seo 01a69df2da elm test.c: Enhance the document.
SVN revision: 62406
2011-08-12 18:00:29 +00:00
Jiyoun Park 2605c2c0d8 From: Jiyoun Park <jy0703.park@samsung.com>
Subject: RE: [E-devel] [Patch] Animation gif feature patch

animated image support in elm icon - from jy.



SVN revision: 62332
2011-08-11 06:05:05 +00:00
Mike Blumenkrantz cf033a8c7a more useless elm stuff: vertical toolbar orientation (by cedric's request) along with toolbar test 6 as a demo. still pretty buggy but I'm tired and don't know when/if I'll get around to fixing it up. play with the toolbar weight in the test to find more bugs!
SVN revision: 62171
2011-08-07 03:42:28 +00:00
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