Commit Graph

151 Commits

Author SHA1 Message Date
Daniel Zaoui 0c915e9023 Cleaning: removed include Eo.h in widgets because it was indirectly included by Elementary.h
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79682
2012-11-26 09:29:01 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Aharon Hillel 19b2e5e892 elementary: Fixed show/hide direction for ctx-popup ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76892
2012-09-20 08:13:28 +00:00
Aharon Hillel 56dce48238 elementary: Fixed elc_ctxpopup arrow for ui-mirroring
Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 76861
2012-09-19 13:00:00 +00:00
Carsten Haitzler 0fb69c0e37 unknonw direction actually should just be handled in default - skip
that direction and go to the next one.



SVN revision: 76589
2012-09-13 08:31:29 +00:00
thiep ha 6f5539c8ca From: thiep ha <thiep.ha@samsung.com>
Subject: [E-devel] [Patch] [Elementary] ctxpopup - correct position
and size of ctxpopup

With ctxpopup, if it has many items and user uses -1 as parameter in
set direction priority function, 
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup,
ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1); 



SVN revision: 76505
2012-09-12 08:35:42 +00:00
WooHyun Jung 1ac12fe423 elementary/ctxpopup : Rollback 76452. Ctxpopup seemed to be bad with
this modification. (please see the datetime in elementary_test)


SVN revision: 76486
2012-09-12 04:34:08 +00:00
ChunEon Park 3fec653c9b elementary/ctxpopup - correct position and size of ctxpopup
Dear all,

With ctxpopup, if it has many items and user uses -1 as parameter in set direction priority function,
the ctxpopup position and size are calculated incorrectly.
Ex:
elm_ctxpopup_direction_priority_set(ctxpopup, ELM_CTXPOPUP_DIRECTION_DOWN, ELM_CTXPOPUP_DIRECTION_UP, -1, -1);

I would like to send a small patch to fix this issue.
Please take a look on it.

Thanks & Regards,
Thiep Ha

Signed-Off-By: Thiep ha<thiep.ha@samsung.com>



SVN revision: 76452
2012-09-11 10:29:48 +00:00
Gustavo Lima Chaves b76a658b9d [elm] Oopsie--.
SVN revision: 76131
2012-09-04 14:10:00 +00:00
Gustavo Lima Chaves 389f6eaf14 [elm] Ctxpopup now a layout.
SVN revision: 75893
2012-08-30 16:45:51 +00:00
Daniel Juyung Seo b4276d84d2 elm elc_ctxpopup.c: Code refactoring.
SVN revision: 75885
2012-08-30 15:18:47 +00:00
Kim Shinwoo 13648c3680 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] ctxpopup, focus-chain

i'd like to raise an issue about focus chain on the ctxpopup. the focus
would go around only in the ctxpopup. (IMHO, raster keep the previous
popup
patch. so definitely!!)
but.. first of all, current ctxpopup does not have focus_next(). even
though there is focus_next(), it is not work properly,
because the parent of ctxpopup would be a widget which does not take
care
of sub objects in the focus_next(); such as elm_list.
(every widget can be a parent of ctxpopup, if the widget is enough
size to
display ctxpopup. thus the elm_list can be a parent of ctxpopup also).
anyhow, to resolve this issue, the patch uses event() of
elm_widget_event_hook_set().

the ctxpopup item is equal to the elm_list item. but the focus chain of
elm_list does not work properly.
generally, we use 'Tab' key to move focus, but elm_list uses the
(up,down)
arrow key moreover it is not a focus.
if you want to check this patch, it would be better to use
ELM_ACCESS_MODE=1.



SVN revision: 74650
2012-07-31 12:30:48 +00:00
Daniel Juyung Seo 1f70eb1107 Revert "elementary/ctxpopup - but there would be no parent NULL case."
There is a case that parent can be NULL when you call
elm_ctxpopup_add().

This reverts commit 8bc665a6ebc9daf0d5faa46223635f46f3d0f682.

SVN revision: 71305
2012-05-22 08:08:16 +00:00
ChunEon Park 6c1ee5405a elementary/ctxpopup - but there would be no parent NULL case.
SVN revision: 71303
2012-05-22 07:09:13 +00:00
Daniel Juyung Seo 22dee8af47 elm ctx_popup: Fixed ctx_popup parent_cut logic. Patch by Bluezery
<ohpowel@gmail.com>
On Mon, May 21, 2012 at 5:32 PM, Bluezery <ohpowel@gmail.com> wrote:
> Hello,
>
> When ctx_popup is deleted, it calls "elm_widget_sub_object_del(parent,
> popup)" so that ctx_popup's parent can delete it's sub_ojbect,
> "ctx_popup".
> But this is not needed because parent already deletes it's sub-object
> in elm_widget.c
>
> Thanks
>
> --
> BRs,
> Kim.

SVN revision: 71301
2012-05-22 06:58:47 +00:00
Daniel Juyung Seo 70f5519ff8 elm elc_ctxpopup: Refactoring.
SVN revision: 71300
2012-05-22 05:44:00 +00:00
Tom Hacohen cf09d45c3b Elm ctxpopup: remove useless code until we actually support mirroring.
Currently there's semi-ready code (1 liner) that does nothing. Hermet, you
promised you'll add ui-mirroring support AGES ago when this widget got in.

SVN revision: 70960
2012-05-13 08:37:09 +00:00
Daniel Juyung Seo 4801d7f5c1 elm elm_object: Fixed part content set hooks.
1. delete old content object
 2. check whether new content object is same as old content object
 3. added some doxygen description.

SVN revision: 69743
2012-03-29 11:09:40 +00:00
cnook 047fcff3c3 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][elementary] elc_ctxpopup using elm_list
internally.

The patch is for using elm_list as a item controller of elc_ctxpopup.
I have learned that there was an opinion to change the internal
structure
of ctxpopup using the list.
It would be able to match up to your expectation. but it is just a draft
version of using list in ctxpopup.
So, It would be pretty good to me if you give any feedback on this.
Thanks.




SVN revision: 69561
2012-03-22 10:14:58 +00:00
ChunEon Park ebbfacad13 elementary/ctxpopup - support more common apis
elm_object_signal_emit
elm_object_signal_callback_add
elm_object_signal_callback_del



SVN revision: 69336
2012-03-14 13:03:38 +00:00
ChunEon Park e55dcb8d77 elementary/ctxpopup - hide ctxpopup obj after it is dismissed
SVN revision: 69274
2012-03-13 01:04:42 +00:00
ChunEon Park 2c64142996 elementary/ctxpopup - one more API elm_ctxpopup_dismiss
requested by discomfitor 



SVN revision: 68874
2012-03-07 05:58:38 +00:00
Daniel Juyung Seo 480c61f20a elm: Formatting. No spacing after casting.
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>

SVN revision: 68807
2012-03-06 11:51:42 +00:00
Jiyoun Park d7ad919420 remove elm ctx popup's code related with deprecated function
SVN revision: 68452
2012-02-26 12:40:47 +00:00
ChunEon Park c5232c4741 elementary - removed unnecessary checkings
SVN revision: 68393
2012-02-24 08:53:01 +00:00
ChunEon Park b6116cc8dc elementary/ctxpopup - + hide effect
SVN revision: 67673
2012-02-01 11:26:25 +00:00
ChunEon Park 2db6dd39e0 elementary/ctxpopup - wd could be deleted in the DISMISSED callback
SVN revision: 67667
2012-02-01 03:16:13 +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
cnook 85925ec534 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch] Removing content resize callback before the
ctxpopup is deleted.

Sometimes, widget data is referred after ctxpopup is deleted.
So before the ctxpopup is deleted, the content resize callback should
be removed.



SVN revision: 67268
2012-01-17 09:47:10 +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
ChunEon Park 0f8b78cdd5 elementary - renamed internal callback function
elm_widget_item_disabled_set_hook_set -> elm_widget_item_disabled_hook_set



SVN revision: 67007
2012-01-10 01:00:23 +00:00
Carsten Haitzler bc6b2aaa04 elc_ctxpopuop uses an lm_scroller not els_smart_scroller - so its push
and pop of freeze...! :)



SVN revision: 66588
2011-12-28 05:49:41 +00:00
cnook e70dcfe130 elementary/ctxpopup
The ctxpopup had used elm_ojbect_scroll_freeze_push(), pop() for the
scroll-freeze-on,of callback.
If user calls elm_object_scroll_freeze_pop() only after
elm_ojbect_scroll_freeze_push(), then it will be fine.
But sometimes user calls elm_object_scroll_freeze_pop() two times in a
row.. Then you can find there is infinite loop in following..

Signed-Off-By: cnook <kimcinoo@gmail.com>



SVN revision: 66584
2011-12-28 04:17:33 +00:00
cnook 25b9d5a39d From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch] elc_ctxpopup, add restacking feature


I have attached two files, one is the patch(*.diff) for adding
restacking feature to the ctxpopup.
The other is test example(*.TEST_EXAMPLE). You can test on the
elementary_test > ctxpopup > "Ctxpopup with user content"
And click the button which is labeled "Enlightenment". Then label will
overlap the ctxpopup.. The ctxpopup will raise in a little time.
Please review the patch and if there is no problem, please throw the
test example away! :-)




SVN revision: 66415
2011-12-21 06:35:22 +00:00
ChunEon Park ba9d14d3ff elementary/ctxpopup - trivial changes.
SVN revision: 66269
2011-12-16 05:31:47 +00:00
Kim Shinwoo c9a380b88b elementary/ctxpopup
Hey dear, here is the second patch using the box for the ctxpopup's
content.
The wd->content is content which is set by
elm_object_content_set(ctxpopup, content) not the box.
Please check this and give any feedbacks, Thanks. :-)

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66268
2011-12-16 05:27:11 +00:00
Kim Shinwoo f4e4ad9148 elementary/ctxpopup
Sure, I have separated the path.
The attached patch is for the using previous result which is calculated by
the _calc_base_geometry();
Thanks always.. Please review this patch first. I will send second one
based on the attached.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>
Signed-Off-By: ChunEon Park <hermet@hermet.pe.kr>



SVN revision: 66267
2011-12-16 05:15:32 +00:00
ChunEon Park b03042ce58 elementary/ctxpopup - reverted 66130
this should not be applied. 



SVN revision: 66133
2011-12-13 04:18:35 +00:00
cnook 930f157870 From: cnook <kimcinoo@gmail.com>
As the title, attached patch has followings.

  1) Using Calculated Value: The _update_arrow(); had used
  evas_object_geometry_get(); internally for getting its base size.
  But the _calc_base_geometry(); already got the base size which
  is more accurate.
        
  2) Getting Size From The Style Also: If the ctxpopup has content
  which is composed using the style (means, the size of
  content can get from *.edc file only), then ctxpopup does not
  come properly. So resolving this, the patch is using a box,
  and add a RESIZE callback to the box. When the box is resized,
  the callback calls elm_box_recalculate();




SVN revision: 66130
2011-12-13 03:38:27 +00:00
Daniel Juyung Seo f391a7d6bc elm: Removed trailing whitespaces.
SVN revision: 65725
2011-11-30 17:44:00 +00:00
ChunEon Park 99023b8077 elementary/ctxpopup, flipselector - applied elm_object_item common apis.
SVN revision: 65325
2011-11-17 02:16:38 +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 f856c0e9fe elementary - slider, scroller, progressbar, radio
applied elm_object_content_set/get/unset APIs. 



SVN revision: 64542
2011-10-31 02:56:03 +00:00
ChunEon Park 999c7e6ef7 elementary/ctxpopup - +fixme
SVN revision: 64368
2011-10-25 00:35:24 +00:00
ChunEon Park 9776b37332 elemenatry/ctxpopup - proper coding convention.
SVN revision: 64367
2011-10-25 00:27:18 +00:00
ChunEon Park 40b7dacfe9 elementary/ctxpopup - +mirroring feature
SVN revision: 64354
2011-10-24 06:49:08 +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
ChunEon Park d946ca77cc elementary - removed ELM_CAST macro
SVN revision: 64138
2011-10-18 00:25:52 +00:00
ChunEon Park e5dcf74c83 elementary/ctxpopup - patched by kimcinoo@gmail.com
Dear All, Hello.
The arrow of ctxpopup is swallowed in one of 4 swallow parts(left,
right, top, bottom) of base group.
If user REuses ctxpopup which is already displayed with different
direction, then the arrow will be swallowed in previous position.
So the attached patch will unswallow arrow from the base before swallow...
Please review the patch and give any feedbacks.
Sincerely,
Shinwoo Kim.



SVN revision: 64054
2011-10-14 02:22:59 +00:00
ChunEon Park ace784146f elementry/ctxpopup - renamed more properly.
thanks govindaraju sm. 



SVN revision: 63374
2011-09-14 07:48:54 +00:00
ChunEon Park 933097314a elementary/ctxpopup - fixed indent.
SVN revision: 63346
2011-09-12 09:23:38 +00:00
ChunEon Park 7f1e65c3d9 elementary/ctxpopup - minor changes.
used elm_widget_item_del.
and should be hidden when list is empty



SVN revision: 63345
2011-09-12 09:22:36 +00:00
Daniel Juyung Seo a817b43d33 elm: Removed all trailing whitespaces.
Why they are added even I'm removing them arbitrarily.


SVN revision: 63083
2011-09-02 04:09:17 +00:00
ChunEon Park 068b50962c elementary/ctxpopup - trivial changes.
SVN revision: 63036
2011-08-31 15:33:54 +00:00
ChunEon Park 0dad9657af elementary/ctxpopup - just renamed hover_parent -> parent
SVN revision: 62954
2011-08-29 16:05:24 +00:00
ChunEon Park dde6f281e1 elementary/ctxpopup - join parent to separated hover parent.
SVN revision: 62953
2011-08-29 15:59:56 +00:00
ChunEon Park 870357e25d elementary/ctxpopup - removed unuseful support.
SVN revision: 62952
2011-08-29 15:35:48 +00:00
ChunEon Park 0cff2922f8 elementary/ctxpopup - added missing stuff.
when parent is changed, then ctxpopup should be updated.



SVN revision: 62951
2011-08-29 15:28:05 +00:00
ChunEon Park aa8a6128c3 elementary/ctxpopup - added elm_ctxpopup_direction_get API
SVN revision: 62905
2011-08-28 07:12:16 +00:00
ChunEon Park 9f4b151ad3 elementry/ctxpopup - added event_hook, focus_hook
also enable the focus when ctxpopup shows up.



SVN revision: 62892
2011-08-28 02:38:48 +00:00
ChunEon Park f1df62661e elementary/ctxpopup - really trivial changes.
SVN revision: 62891
2011-08-28 01:59:44 +00:00
ChunEon Park 92f6d2a29b elementary/ctxpopup - added show effect (patched by kimcinoo@gmail.com>
Dear All, Hello!

The transition effect is added to the ctxpopup when it comes.
Please review the attached patch. Thanks always!

Sincerely,
Shinwoo Kim.



SVN revision: 62735
2011-08-24 07:02:26 +00:00
WooHyun Jung a8156d10c5 elementary : Delete meaningless codes
SVN revision: 62577
2011-08-19 04:29:40 +00:00
ChunEon Park 321835b3da elementry/ctxpopup - fixed indentation
SVN revision: 62430
2011-08-14 03:47:51 +00:00
ChunEon Park 134a0dd77a elementary/ctxpopup - updated to use elm_object_item
SVN revision: 62429
2011-08-14 03:36:56 +00:00
ChunEon Park 86d052180a elementary/ctxpopup - refactored to avoid misunderstanding between arrow direction and box direction
SVN revision: 62421
2011-08-13 06:05:19 +00:00
ChunEon Park b88a8a186a elementary/ctxpopup - patched by kimcinoo@gmail.com
Dear All, Hi!

Previously, the ctxpopup have used only direction up or down if there is no
enough area to display.
So, there was some dead codes and TODO list for this..

By using wd->horizontal, we can decide between "up/down" and "left/right"
If elc_ctxpopup is horizontal, "up/down" is more proper than "left/right"
and vice versa.

Sincerely,
Shinwoo Kim.



SVN revision: 62420
2011-08-13 05:40:16 +00:00
ChunEon Park bcd5e510b7 elementary - just renamed paramenter names for consistency.
SVN revision: 62053
2011-08-03 12:27:57 +00:00
ChunEon Park d39921217d deprecated elm_ctxpopup_content_set/content_unset
but available them with elm_object_content_set/content_unset instead. 



SVN revision: 62036
2011-08-03 04:38:44 +00:00
Jonas M. Gastal 9a0617feac Elementary: ctxpopup documentation and example.
SVN revision: 61564
2011-07-21 14:09:10 +00:00
ChunEon Park 99dc59bb9d elementary/ctxpopup - patched by cnook <kimcinoo@gmail.com>
Hi All,

The ctxpopup arrow is attached on the drag-able part.
If arrow height/width is smaller than drag-able part,
then there is a gap between arrow and ctxpopup base.
So this patch comes for resolving this issue. Thanks.

Sincerely,
Shinwoo Kim.



SVN revision: 61462
2011-07-18 05:07:36 +00:00
ChunEon Park 398a24a50d elementary/ctxpopup - trivial changes.
just modified code style. 



SVN revision: 61261
2011-07-12 03:26:53 +00:00
cnook fc1fae8eb0 From: cnook <kimcinoo@gmail.com>
Subject: Re: [E-devel] [Patch][CtxPopup] Add Arrow on the drag-able
area of Base

Dear Mr. Hermet,
Hello, I have attached more accurate patch based on latest elementary. The
last patch already there.
All your review items are reflected on the attached patch.
Please review this again, sorry for any inconvenient.



SVN revision: 59911
2011-06-03 07:16:39 +00:00
cnook bfcb5543f7 From: cnook <kimcinoo@gmail.com>
Subject: [E-devel] [Patch][CtxPopup] Add Arrow on the drag-able area
of Base

If CtxPopup has elm_slider for content, the elm_slider indicator is covered
by CtxPopup arrow.
So, I have made a patch for resolving this issue. As the title the arrow
will be swallowed in the base.
Even though user uses his/her own style, the attached patch will work
properly.

Sincerely,
Shinwoo Kim.



SVN revision: 59890
2011-06-02 06:35:20 +00:00
ChunEon Park 88d0fb25a5 elementary/ctxpopup - added minor exceptions.
SVN revision: 58959
2011-04-27 13:09:37 +00:00
ChunEon Park 81be5a9401 elementar / ctxpopup - not important changes but ready for refactoring.
SVN revision: 58956
2011-04-27 11:39:28 +00:00
ChunEon Park cd7ac1511f elementary / ctxpopup - just removed a empty line
SVN revision: 58919
2011-04-26 06:53:52 +00:00
ChunEon Park ef4eddd61b elementary / ctxpopup - just changed lines.
SVN revision: 58916
2011-04-26 04:35:27 +00:00
ChunEon Park 8b08119b14 elementary / ctxpopup - fixed logic error.
SVN revision: 58915
2011-04-26 04:31:23 +00:00
ChunEon Park 85d9b909f7 elementary / ctxpopup - modified doxygen smart object signal callbacks
SVN revision: 58307
2011-04-03 16:35:19 +00:00
ChunEon Park e88243c16a elementary/ctxpopup - removed white space
SVN revision: 58247
2011-04-01 09:08:11 +00:00
Carsten Haitzler f74c18a02e make all widgets use a standard setup macro. cuts code down and
handles null parent errors, null wd alloc, null obj create errors etc.



SVN revision: 58242
2011-04-01 06:08:02 +00:00
ChunEon Park 1a1a04685d elementary/ctxpopup - removed unuseful line.
SVN revision: 58219
2011-03-31 03:09:27 +00:00
ChunEon Park ef71827092 elementary/ctxpopup - fixed indentation
SVN revision: 58070
2011-03-24 15:49:46 +00:00
ChunEon Park a6a182f7b6 elementary/ctxpopup - removed white trailing
SVN revision: 58052
2011-03-24 02:17:34 +00:00
ChunEon Park 29bdbfe36f elementary/ctxpopup - removed fingersize completely.
SVN revision: 58051
2011-03-24 02:14:22 +00:00
ChunEon Park a92abbf562 elementary/ctxpopup - modified fingersize to half one
SVN revision: 58028
2011-03-23 10:52:18 +00:00
ChunEon Park c7e693adb6 elementary/ctxpopup - fixed a minor error
added exception for the null icon set. 



SVN revision: 57842
2011-03-18 06:36:39 +00:00
ChunEon Park 69fad7b41a elementary/ctxpopup - fixed tailing whitespace.
SVN revision: 57652
2011-03-10 05:58:31 +00:00
ChunEon Park 384354f9b0 elementary/ctxpopup - fixed white space
SVN revision: 57264
2011-02-23 12:14:45 +00:00
ChunEon Park 9aaa1691ca elementary/ctxpopup - removed unuseful lines.
SVN revision: 57255
2011-02-23 07:37:39 +00:00
ChunEon Park d1877609ad elementary/ctxpopup - just reduces code lines
SVN revision: 56988
2011-02-13 15:19:35 +00:00
ChunEon Park 01999d43f6 elementary/ctxpopup - just moved function position in code line.
SVN revision: 56977
2011-02-13 04:15:52 +00:00
ChunEon Park 4c33d6b63e From: ChunEon Park <chuneon.park@samsung.com>
Subject: [E-devel] [PATCH] elc_ctxpopup

only set style on scroller if it exists.



SVN revision: 56578
2011-01-31 08:47:19 +00:00
Carsten Haitzler 6f4cf7ca58 warning--
SVN revision: 56048
2011-01-11 09:54:41 +00:00
Carsten Haitzler c040e048fc fix if formatting
SVN revision: 56022
2011-01-10 09:05:11 +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
3v1n0 ff67ce31fb Always check for valid evas object.
If you try to create a new widget, you must be sure that the parent
is really an evas object.

With the previous implementation it was possible to call an _add
function for an elementary widget with any non-null pointer as parent
eventually causing crashes (like with the elm_box).


SVN revision: 55521
2010-12-12 19:12:43 +00:00
Otávio Pontes 5d00a5ae75 Hover is already list parent.
SVN revision: 55429
2010-12-09 18:04:25 +00:00