Commit Graph

48 Commits

Author SHA1 Message Date
Cedric Bail 749e806ec4 mapbuf: correctly get the viewport size. 2013-05-03 16:07:06 +09:00
Daniel Zaoui 187d6bf8de Elementary: replace eo_data_get for objects data referencing. 2013-05-01 11:04:09 +03:00
Carsten Haitzler 06756cd71d add elm_mapbuf_auto_set/get() 2013-04-09 21:01:42 +09:00
Daniel Juyung Seo 74b3eed5fd elm: print the error message inside elm_widget_sub_object_add().
1. Do not need to print the same error message from all the widget codes.
2. Even though elm_widget_sub_object_add() can be used internally, there should be no error message at all.
   Elm devs should fix it beforehand.
   So it looks ok to print the error message in elm_widget_sub_object_add() to force elm devs to fix it.
3. Got additional code cleanups.
2013-04-03 11:28:53 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
ChunEon Park 844b5805ff elementary/widget - don't handle tthe resize objects in widget infrastructure. Acutally these resize objects are sub objects so we don't need to care them separately. This caused overhead in some cases(ie, theme change)
SVN revision: 83990
2013-02-16 13:39:59 +00:00
Daniel Zaoui cdd1eea853 Replace supported_types
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 83803
2013-02-10 07:52:31 +00:00
ChunEon Park 7fdc6b90bb elementary/mapbuf - removed workaround code that would cause the performance issue.
Sorry, I have no idea now what to do, even mapbuf has much side effects in rendering.




SVN revision: 82322
2013-01-07 07:07:27 +00:00
ChunEon Park e42d402c48 elementary/mapbuf - update mapbuf forcely whenever it's states are changed.
SVN revision: 80730
2012-12-12 04:28:11 +00:00
ChunEon Park 7748dd4d44 elementary/mapbuf - update whenever the content is moved or resized.
SVN revision: 80348
2012-12-06 11:47:26 +00:00
ChunEon Park c2d99f8d35 elementary/mapbuf - removed white trailing
SVN revision: 79865
2012-11-30 06:29:10 +00:00
ChunEon Park 7eca1cc39a elementary/mapbuf - fix the mapbuf to update it's contents correctly even if they go outside of the buffer
SVN revision: 79813
2012-11-29 06:51:30 +00:00
ChunEon Park 42d6b602ea elementary/mapbuf - trivial changes
SVN revision: 79735
2012-11-27 07:48:16 +00:00
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
Gustavo Lima Chaves 5080061dbb [elm] Mapbuf now inheritable.
SVN revision: 74676
2012-07-31 22:05:33 +00:00
Gustavo Lima Chaves 584c53c1be [elm] New elm_widget_add() usage spread.
SVN revision: 74148
2012-07-18 21:03:39 +00:00
ChunEon Park 64eaac722b elementary/mapbuf - Fix the mapbuf to resize the contents(smart obj) correctly.
When smart obj was set as the contents the _configure would be called recursively.
In this process the lastest size could be reverted as the previous one.



SVN revision: 74064
2012-07-18 12:36:09 +00:00
Gustavo Lima Chaves 00eb6d944a [Elm] 1st direct realization of container class:
elm mapbuf.



SVN revision: 70746
2012-05-03 22:44:46 +00:00
Carsten Haitzler c0f2f4be91 REVERT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
this breaks theme api. so NO! come back with a version that doesn't
break it.



SVN revision: 70679
2012-05-03 01:19:05 +00:00
Gustavo Lima Chaves 477ae2434a [Elm] 1st direct realization of container class:
elm mapbuf.



SVN revision: 70669
2012-05-02 17:02:12 +00:00
ChunEon Park e790a36ccd elementary/route,mapbuf,segment_control, slideshow - removed unnecessary code and left FIXMEs
SVN revision: 69907
2012-04-03 15:18:09 +00:00
WooHyun Jung 7b600cc59d elementary : Removing duplicate codes when _content_unset.
SVN revision: 69894
2012-04-03 11:40:06 +00:00
ChunEon Park 8ae0e902de elementary/mapbuf - super trivial changes
SVN revision: 69857
2012-04-02 08:13:26 +00:00
Jiyoun Park ab59567695 remove deprectated function related with elm_list_item_base_get & elm_mapbuf_content_
SVN revision: 69084
2012-03-09 09:35:21 +00:00
ChunEon Park c29a1b3ec5 elementary/mapbuf - fixed incorrect relationship
SVN revision: 67751
2012-02-08 09:02:57 +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
Daniel Juyung Seo bafe9c7426 elm: Use appropriate add/del_full for evas event callbacks.
SVN revision: 64536
2011-10-31 00:13:32 +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
Bruno Dilly 9caf36d821 Elementary: Mapbuf Documentation
SVN revision: 61968
2011-08-01 21:32:25 +00:00
ChunEon Park 160084626b elementary / menu, notify, list, panes, module, map, pager, panel, mapbuf - removed white spaces
SVN revision: 58251
2011-04-01 11:26:58 +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
Carsten Haitzler 7ab9807bd0 fix over-render bug in map/mapbuf and with changed flags! that was
nasty to find!



SVN revision: 56220
2011-01-19 11:59:53 +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
helen 030b697366 EINA_SAFETY_ON_NULL_RETURN
Checking parameters with EINA_SAFETY_ON_NULL_RETURN and
EINA_SAFETY_ON_NULL_RETURN_VAL in Elementary

SVN revision: 55188
2010-12-03 14:08:33 +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
Tiago Rezende Campos Falcao 738bfaa747 Review of content setters, getters and unsetters
Revised the parent, icon, end and content setter and getters of
elementary objects.
Review to smart objects and widgets items will be the next steps.

SVN revision: 53425
2010-10-14 18:54:42 +00:00
Tiago Rezende Campos Falcao 8ca4d18a0b Fixing can_focus to the widgets
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

widgets:
anchorblock:    can_focus = EINA_TRUE
anchorview:     can_focus = EINA_TRUE
fileselector:   can_focus = EINA_FALSE
hoversel:       can_focus = EINA_FALSE
notepad:        can_focus = EINA_TRUE
scrolled_entry: can_focus = EINA_TRUE
bubble:         can_focus = EINA_FALSE
calendar:       can_focus = EINA_TRUE
clock:          can_focus = EINA_TRUE
conformant:     can_focus = EINA_FALSE
flip:           can_focus = EINA_FALSE
frame:          can_focus = EINA_FALSE
gengrid:        can_focus = EINA_TRUE
genlist:        can_focus = EINA_TRUE
index:          can_focus = EINA_FALSE
list:           can_focus = EINA_TRUE
layout:         can_focus = EINA_FALSE
map:            can_focus = EINA_TRUE
mapbuf:         can_focus = EINA_FALSE
menu:           can_focus = EINA_FALSE
notify:         can_focus = EINA_FALSE
pager:          can_focus = EINA_FALSE
panes:          can_focus = EINA_FALSE
progressbar:    can_focus = EINA_FALSE
photocam:       can_focus = EINA_TRUE
scroller:       can_focus = EINA_TRUE
table:          can_focus = EINA_FALSE
thumb:          can_focus = EINA_FALSE
win:            can_focus = EINA_FALSE

SVN revision: 52888
2010-09-29 12:22:30 +00:00
Carsten Haitzler 9edf419558 and umm... work... and .. struff.. ugh. don't ask.
SVN revision: 51851
2010-09-03 00:08:11 +00:00
Carsten Haitzler 42ec2033bb fix some most unfortunate lack of clip honorning :)
SVN revision: 51773
2010-08-31 06:20:33 +00:00
Iván Briano 99ff1921a9 Standardizing elm_<widget>_{icon,content}_set API
elm_<widget>_icon_set was changed to the better form and the signals
was passed to hidden icons when one icon is changed/removed.
Moreover, when changed by {icon,content}_set the old {icon,content}
will be deleted.

By: Fabiano Fidencio <fidencio@profusion.mobi>



SVN revision: 49706
2010-06-16 20:58:09 +00:00
Boris Faure 1ca26086db elm: add lots of doc! Thanks to Mike (zmike/discomfitor)
SVN revision: 47944
2010-04-12 08:12:02 +00:00
Vincent Torri b07e49d435 remove unused parameter in the library.
I won't do this everyday, and i won't touch the tests.


SVN revision: 47093
2010-03-09 17:51:30 +00:00
Carsten Haitzler 8599a54123 more warnning fixes!
SVN revision: 47087
2010-03-09 16:46:13 +00:00
Carsten Haitzler 91e01aa86e patch from discomfitor <- check type of widget on api call and return if not
the right type



SVN revision: 47073
2010-03-09 06:15:39 +00:00
Carsten Haitzler 185bec1265 1. fix child stuff .. smart object members.. that was just bad of me.. oops.
swapped params. i should have known better. *spank* and .. add visible "u
clikced here" tests to launcher test.



SVN revision: 46582
2010-02-27 15:14:34 +00:00
Carsten Haitzler 4c7d60f86c dont reset mapbuf all the time!
SVN revision: 45622
2010-01-27 06:20:12 +00:00
Carsten Haitzler f7a8067a66 more launcher test code.... and mapbuf object used by launcher test code.
SVN revision: 45575
2010-01-26 08:17:26 +00:00