Commit Graph

191 Commits

Author SHA1 Message Date
Tom Hacohen 4787995f4b Elm pager: die pager, die! Use naviframe instead.
SVN revision: 68015
2012-02-16 09:26:30 +00:00
Tom Hacohen c9f55529ad Elm naviframe: Fix naviframe a little and add item default style set/get
1. items_get is no longer completely broken
2. default style set/get is used as a replacement for the style NULL

SVN revision: 67989
2012-02-15 16:27:34 +00:00
ChunEon Park fcc6192848 elementary - modified item_del_pre_hook function prototype.
Now it returns the bool value to free the widget item.

Some widget items(i,e genlist) should not be deleted directly when elm_object_item_del is called.
So, if the pre_hook function returns EINA_FALSE, then the widget item will not be deleted.



SVN revision: 67565
2012-01-27 11:56:14 +00:00
ChunEon Park 9e9c1ddbc9 elementray/naviframe - sorry. my fault.
SVN revision: 67071
2012-01-11 11:53:20 +00:00
ChunEon Park 2c0d0bb02a elementary/naviframe - pre-declare function prototype.
SVN revision: 67070
2012-01-11 11:52:54 +00:00
ChunEon Park 85b0916724 elementary/naviframe - my fault. it shouldn't be committed.
SVN revision: 67069
2012-01-11 11:50:49 +00:00
ChunEon Park 90ad944dc6 elementary/naviframe - satisfied focus_next_hook
SVN revision: 67068
2012-01-11 11:48:45 +00:00
ChunEon Park cd756952bb elementary/naviframe - modified to use elm_layout instead of edje_object.
SVN revision: 67067
2012-01-11 11:25:04 +00:00
ChunEon Park 6a4ce67417 elementary/navifrmae - actually it does not need to call it in the loop
SVN revision: 67042
2012-01-11 06:42:15 +00:00
ChunEon Park e4503a8eed elementary/naviframe - super trivial change.
SVN revision: 67040
2012-01-11 06:33:32 +00:00
ChunEon Park 56a881bd35 elementary/menu, ctxpopup, index, segment_control, diskselector, multibuttonentry, toolbar, naviframe, slideshow, hoversel, filpselector - deprecated xxxx_item_del() APIs.
But instead,  made to use the elm_object_item_del() APIs
for this, elm_widget_item needed to provide elm_widget_item_del_pre_hook.




SVN revision: 67010
2012-01-10 05:02:11 +00:00
Mike Blumenkrantz 5b39daddbc whoever wrote this should be SERIOUSLY ashamed.
SVN revision: 66776
2012-01-03 05:24:35 +00:00
ChunEon Park 20cc624603 elementary/naviframe - prevent accessing a null pointer
SVN revision: 66525
2011-12-26 08:03:30 +00:00
ChunEon Park b3e0fbb730 elementary/naviframe - fixed logic.
when new content is coming, it needs to have some intialization. 



SVN revision: 66329
2011-12-19 11:13:06 +00:00
ChunEon Park fa37e206ae elementary/naviframe - OHG fixed typo
SVN revision: 66284
2011-12-16 11:01:20 +00:00
ChunEon Park 6aefe2f7fe elementary/naviframe - refactored title_content_set
fault here again!

it would missed one case.

step 1. actual content set
step 2. NULL content set

Since it did not remove content_pair structure even NULL object as a new one set,
the dangling structure could be happened.



SVN revision: 66274
2011-12-16 09:07:41 +00:00
ChunEon Park 4dad454d3e elementary/naviframe - Bad Hermet... the flag should be flipped inside.
SVN revision: 66105
2011-12-12 04:57:33 +00:00
ChunEon Park 067676b3dd elementary/naviframe - two more APIs
elm_naviframe_event_enabled_set()
elm_naviframe_event_enabled_get()

Now, user could set events enabled/disabled when item pushing/popping.



SVN revision: 66102
2011-12-12 04:54:15 +00:00
ChunEon Park 7dc62ae5c3 elementary/naviframe - trivial change. recommended by ShilpaOnkar Singh
SVN revision: 66020
2011-12-08 10:37:41 +00:00
ChunEon Park 3dae010810 elementary/naviframe - fixed logic error.
happened after shilpa's refactoring patch.

it caused the elm_naviframe_item_style_set does not work properly.

more case-by-case checking added.



SVN revision: 65953
2011-12-06 10:53:20 +00:00
ChunEon Park 51609f5f5f elementary/naviframe - no need to allocate item pair when content is NULL
SVN revision: 65889
2011-12-05 07:28:52 +00:00
ShilpaOnkar Singh 2917a8bab2 elementary/naviframe - title_content_set refactored.
1. Modified to support NULL content.
2. Unnecessary parameter  removed.
3. Number of lines Optimization.

Signed-Off-By: ShilpaOnkar Singh <shilpa.singh@samsung.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 65777
2011-12-01 11:41:47 +00:00
Mike McCormack e736f755f3 elementary: Fix a warning
elc_naviframe.c: In function ‘_title_content_unset’:
elc_naviframe.c:786:17: warning: ‘content’ may be used uninitialized in this function

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

SVN revision: 65682
2011-11-29 09:24:41 +00:00
ChunEon Park 7cfc36bb00 elementary/naviframe - implement unset hook
SVN revision: 65638
2011-11-28 08:28:34 +00:00
ChunEon Park 923b9c7d8d elementary/naviframe - do resize when size of sub objects is changed.
SVN revision: 65636
2011-11-28 07:21:44 +00:00
ChunEon Park fd6f69ca53 elementary/naviframe - patched by shilapaonkar singh (shilpa.singh@samsung.com)
Hi Mr. Park,

Change description:  [ commit message ]
Bug: Hide signal sent twice in case of prev button, next button and icon swallow areas. 
Fix: Hide signal sent only once in delete callback.

Thanks & Regards
Shilpa Singh




SVN revision: 65570
2011-11-24 11:26:41 +00:00
ChunEon Park 0fb441bb77 elementary/naviframe - fixed to calc item size according to content size changed.
SVN revision: 65487
2011-11-21 16:14:52 +00:00
ChunEon Park a0e6f838a2 elementary/naviframe - consider the min size
SVN revision: 65421
2011-11-20 06:31:54 +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
ChunEon Park 33214b79aa elementary/naviframe - to be processed the signals right away when the item push and pop case.
SVN revision: 65152
2011-11-14 08:23:25 +00:00
ChunEon Park f5ef108671 elementary/naviframe - never ending bug story
should be set the style again even the given content is same there. 



SVN revision: 64956
2011-11-08 14:06:32 +00:00
ChunEon Park b4b0250d84 elementary/naviframe - my fault. reverted r64927
SVN revision: 64930
2011-11-08 02:49:05 +00:00
ChunEon Park 58e180a0fe elementary/naviframe - trivial changes
SVN revision: 64927
2011-11-08 02:27:06 +00:00
ChunEon Park 37d844aa2e elementary/naviframe - it refered an incorrect object to delete a callback fucntion
SVN revision: 64863
2011-11-07 10:18:26 +00:00
ChunEon Park 58fc5676ff elementary/naviframe - 3 more APIs.
elm_naviframe_items_get()
elm_naviframe_item_insert_before()
elm_naviframe_item_insert_after()



SVN revision: 64679
2011-11-03 07:15:18 +00:00
ChunEon Park 31678440d9 elementary/bg - content_set/get/unset, fixed indentation
SVN revision: 64484
2011-10-28 08:31:42 +00:00
ChunEon Park 7b16685a41 elementary/naviframe - sorry i reverted to keep the signal order consistency with pushed case.
SVN revision: 64426
2011-10-27 07:16:55 +00:00
ChunEon Park 131f31bef6 elementary/naviframe - fixed to prevent multiple clicked events for the backbutton
SVN revision: 64425
2011-10-27 06:01:50 +00:00
ChunEon Park fe364aa601 elementary/naviframe - + NULL check
SVN revision: 64374
2011-10-25 05:05:56 +00:00
ChunEon Park da7bf528c9 elementary/naviframe - fixed bad usage of eina_inlist.
removed the inlist node in while loop instead of REVERSE_FOREACH. 
it corrupted the list. 



SVN revision: 64369
2011-10-25 00:50:54 +00:00
ChunEon Park 4cad4f12a8 elementary/naviframe - new API elm_naviframe_item_promote
SVN revision: 64353
2011-10-24 06:35:48 +00:00
Mike Blumenkrantz 88bbad2635 add VIEW() and WIDGET() macros for use with Elm_Widget_Items to create more consistency, reduce typing, and increase readability
VIEW(X) = X->base.view (visible evas object)
  WIDGET(X) = X->base.widget (owner widget)

also a demo of the oxford comma for seoz


SVN revision: 64220
2011-10-21 01:08:01 +00:00
Mike Blumenkrantz 4ad1c5f0db create and use ELM_WIDGET_ITEM for elm widget structs to ensure location/name
SVN revision: 64218
2011-10-21 00:45:19 +00:00
Mike Blumenkrantz 5c081c834d whitespace--
SVN revision: 64216
2011-10-21 00:24:15 +00:00
ChunEon Park 82d60aef70 elemenatry/naviframe - just add TODO comment
SVN revision: 64167
2011-10-19 08:53:55 +00:00
ChunEon Park 700d1ab2df elementary/naviframe -
1. didn't set item style field in the item structure
  
2. avoid same item style again when user call the elm_naviframe_item_style_s    et




SVN revision: 64166
2011-10-19 08:49:24 +00:00
WooHyun Jung 2755e28ee5 elementary/elc_naviframe : The content, will be popped, doesn't need
to control focus.


SVN revision: 64161
2011-10-19 05:34:41 +00:00
ChunEon Park c9adffcdfc elementary/naviframe - more signals.
SVN revision: 64153
2011-10-18 16:12:14 +00:00
ChunEon Park d946ca77cc elementary - removed ELM_CAST macro
SVN revision: 64138
2011-10-18 00:25:52 +00:00
ChunEon Park 0e38053a32 elementary/naviframe - +theme_hook
SVN revision: 64084
2011-10-15 05:16:53 +00:00
ChunEon Park ce6b405d73 elementary/naviframe - more simple code.
SVN revision: 64083
2011-10-15 04:02:21 +00:00
ChunEon Park 17cb85b2fc elementary/naviframe - eina_list -> eina_inlist.
SVN revision: 64072
2011-10-14 10:20:07 +00:00
ChunEon Park c31cd011a5 elementary/naviframe - missing the initlialization.
SVN revision: 64044
2011-10-13 07:52:01 +00:00
ChunEon Park 8ab47f72c4 elementary/naviframe - eina_list -> eina_inlist for item stack
SVN revision: 64034
2011-10-13 06:30:05 +00:00
ChunEon Park 1ac5aded42 elementray/naviframe - renamed internal variable. removed useless lines.
SVN revision: 64019
2011-10-12 12:19:31 +00:00
ChunEon Park d8e4479e46 elementray/naviframe - added more signals for buttons and removed warnings.
SVN revision: 64017
2011-10-12 11:13:18 +00:00
ChunEon Park 38beb85cfa elementary/naviframe - default could be visible and don't need to emit signal for it.
SVN revision: 64016
2011-10-12 10:45:22 +00:00
ChunEon Park 3aa046714d elementary/naviframe - added two more APIs
elm_naviframe_prev_btn_auto_pushed_set/get 



SVN revision: 64015
2011-10-12 10:31:13 +00:00
ChunEon Park f61e103d75 elementary/naviframe - added mirror mode.
SVN revision: 63919
2011-10-08 04:23:37 +00:00
ChunEon Park 5c3609fec2 elementary/naviframe - bottom_item_get returned NULL always.. fixed it
SVN revision: 63913
2011-10-07 10:33:14 +00:00
ChunEon Park df3e4cd89a elementary/naviframe - added new API, elm_naviframe_item_del
SVN revision: 63878
2011-10-06 12:46:59 +00:00
ChunEon Park 1fbd38deb9 elementary/naviframe - duplicated list item remove.
SVN revision: 63871
2011-10-06 05:08:36 +00:00
ChunEon Park f96f4bbc06 elementary/naviframe - modified internal signal names.
this change resolves the transition problem also 
When user set the item style again. 

every time, transition signals are called,
Transition start position of the page will be reset.



SVN revision: 63869
2011-10-06 04:59:02 +00:00
ChunEon Park 68dd01c98b elementary/naviframe - fixed internal memory leaks
SVN revision: 63807
2011-10-04 13:15:42 +00:00
ChunEon Park a68e619082 elementary/naviframe - implemented item_set API correctly.
SVN revision: 63795
2011-10-04 06:50:18 +00:00
ChunEon Park 432d64864d elementary/naviframe - available null contents
SVN revision: 63794
2011-10-04 06:49:16 +00:00
ChunEon Park 0bc6781e6a elementary/naviframe - trivial changes
SVN revision: 63793
2011-10-04 06:47:32 +00:00
ChunEon Park b1ac91a985 elementary/naviframe - should be hidden case when label is NULL
SVN revision: 63792
2011-10-04 06:43:37 +00:00
ChunEon Park e585a931da elementary/naviframe - added rect to block the events
Need to consider to provide any mechanism to users such as evas_object_events_freeze/thaw. 



SVN revision: 63791
2011-10-04 06:30:38 +00:00
ChunEon Park b0fc739ec1 elementary/naviframe - fixed just indentation
SVN revision: 63483
2011-09-20 00:31:44 +00:00
ChunEon Park 206baf9b05 elementary/elc_naviframe - modified to use a widget API
SVN revision: 63470
2011-09-19 05:24:49 +00:00
ChunEon Park 4dd9ffff22 elementary/naviframe - added one convenient API for users.
pop the items which are in the stack between the top and the upper one of the given item



SVN revision: 63469
2011-09-19 05:23:35 +00:00
ChunEon Park b4c88023c6 elementary/naviframe - removed items in reverse since the items are stacked.
SVN revision: 63439
2011-09-16 12:21:11 +00:00
ChunEon Park fad15f3456 elementary/naviframe - to be proper name.
SVN revision: 63426
2011-09-16 06:11:36 +00:00
ChunEon Park 00cce5d58b elementary/naviframe - added item signal emit func.
SVN revision: 63425
2011-09-16 02:20:02 +00:00
ChunEon Park a2fcea3f01 elementary/naviframe - renamed internal function names.
SVN revision: 63423
2011-09-16 01:09:48 +00:00
ChunEon Park 22894c09a6 elementary/naviframe - added signal emit hook
SVN revision: 63422
2011-09-16 01:05:15 +00:00
ChunEon Park a71aae9f9e elementary/naviframe - support default content/text part name
removed shadow var. 
removed unuseful line. 



SVN revision: 63384
2011-09-14 12:37:17 +00:00
ChunEon Park 5e3770d0a0 elementary/naviframe - removed white trailings
SVN revision: 63381
2011-09-14 11:21:01 +00:00
ChunEon Park d2c98216bc elementary/naviframe - removed unproper method.
user needs to set their own style. 



SVN revision: 63380
2011-09-14 11:05:54 +00:00
ChunEon Park 8d780ef4b5 elementary/naviframe - merged groups base and title
SVN revision: 63379
2011-09-14 10:56:44 +00:00
ChunEon Park 2b808f9d8c elementary/naviframe - removed FIXME
SVN revision: 63372
2011-09-14 06:50:10 +00:00
ChunEon Park f947175526 elementary/naviframe - filled the content_unset_hook
SVN revision: 63371
2011-09-14 06:49:23 +00:00
ChunEon Park ce0f864c65 elementary/naviframe - modified to support any parts of item content/text but not specified.
SVN revision: 63370
2011-09-14 06:23:08 +00:00
ChunEon Park 09dac68f6e elementary/naviframe - modified to use elm_object_item common apis.
Need to consider about another parts name case. 

It will be hard work to support the case - non-default parts name is passed

How could the widgets cover those cases automatically?



SVN revision: 62098
2011-08-04 16:52:39 +00:00
ChunEon Park 2b4f061b56 elementary/elm_naviframe - modified to use elm_object_item common_apis
SVN revision: 62097
2011-08-04 16:37:36 +00:00
ChunEon Park d163243315 elementary/naviframe - modified to use ELM_OBJ_ITEM_CHECK macro
SVN revision: 62085
2011-08-04 08:58:35 +00:00
ChunEon Park 067e8f4ad9 elementary/naviframe - is updating according to elm_object_item.
SVN revision: 62083
2011-08-04 08:17:30 +00:00
Daniel Juyung Seo 804a13f2dd elm: Refactoring. Removed trailing whitespaces.
SVN revision: 61673
2011-07-25 08:48:47 +00:00
ChunEon Park f93e955de4 elementar/naviframe - fixed to calc the pushed items also.
SVN revision: 61315
2011-07-13 04:42:45 +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