Commit Graph

4676 Commits

Author SHA1 Message Date
Gustavo Lima Chaves 4f8b51b1aa [elm] And here comes image, icon and photo on the
new schema.
els_icon smart object was brought to be the base of the image widget,
in the form of an image class.

An elm icon is now a elm image, with a little more on top of it.

An elm photo is a now base widget aggregating an icon.

Toolbar's internal usage of the former els_icon is now changed to
icons, instead.

Some naviframe instantiations were set to enable events during
transitions, because this code is buggy and my chages exposed the
problem. It will be fixed as soon as I get to port Naviframe.



SVN revision: 71429
2012-05-25 19:53:59 +00:00
Gustavo Lima Chaves 87b422c93a [elm] Small fixes on class headers.
SVN revision: 71428
2012-05-25 19:53:51 +00:00
Hyoyoung Chang 26c943b3de elementary/hoversel: remove useless void ptr cast
SVN revision: 71412
2012-05-24 14:08:18 +00:00
Carsten Haitzler 43a9104e85 add since for new signal.
SVN revision: 71408
2012-05-24 10:08:59 +00:00
Bluezery bfff7d7836 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add New "loaded" signal

I want to add new "loaded" signal to elementary map. This signal
notify users when all map tiles are loaded. Timer is used for this signal.
Currently "tile,loaded" can be used for each separated tile.  So the
users are hard to know whether all tiles are loaded or not.
Please review this patch.



SVN revision: 71406
2012-05-24 10:07:56 +00:00
Daniel Juyung Seo 725f0c62dd e, evas, elementary: Synced @author with AUTHORS.
SVN revision: 71399
2012-05-24 07:17:05 +00:00
Carsten Haitzler c550106a5e tip from Bluezery in case of silliness in settingflush poll time <= 0.
SVN revision: 71388
2012-05-24 05:43:48 +00:00
Hyoyoung Chang 1a13829c1d elementary/genlist: fix indent
SVN revision: 71385
2012-05-24 04:59:52 +00:00
Carsten Haitzler 8839f523c2 remove goto and use if () instead
SVN revision: 71383
2012-05-24 04:44:44 +00:00
Michal Pakula vel Rutka 39d0d27e53 From: Michal Pakula vel Rutka <m.pakula@samsung.com>
Subject: [E-devel] [patch] allow copy and paste operations for
non-widget evas objects

I am currently implementing a clipboard for WebKit-EFL. When using
elm_cnp_selection_get and set function an evas object passed has to be
a widget. Currently in WebKit-EFL we are using an view which is an
Evas_Object, but not a widget. Sample WebKit applications like
EWebLauncher and tests applications does not use elementary so I
cannot obtain parent widget for a view object and finally we cannot
perform copy and paste operations.
Widgets are used in elm_cnp_selection functions to obtain
Ecore_X_Window. My patch leaves current way of obtaining it and adds
an another in case when the standard one fails. When Evas_Object is
not a widget I am trying to get an Ecore_X_Window using ecore.



SVN revision: 71381
2012-05-24 04:34:53 +00:00
Hyoyoung Chang 59718a93c7 elementary/hoversel: fix indent
SVN revision: 71377
2012-05-24 02:38:59 +00:00
Hyoyoung Chang 7d9c0dc403 elementary/hoversel: set hover's parent when hover's smart data deleted
SVN revision: 71376
2012-05-24 02:26:55 +00:00
Leif Middelschulte 40e93fac34 Fix possible segv in smart_del callback.
Patch by glima

SVN revision: 71373
2012-05-23 21:56:44 +00:00
Bluezery 3bada185c3 From: Bluezery <ohpowel@gmail.com>
Subject: [E-devel] [Patch][elm_map] Add elm_map_overlays_get &
elm_map_overlay_visible_get

I want to add 2 new APIs (elm_map_overlays_get & elm_map_overlay_visible_get).

There are no way to get the group overlays because group overlay,
something like virtual overlay, is created and deleted dynamically.
So elm_map_overlays_get returns total overlay's list and user can get
any type of overlays including group overlays.
Overlays which is grouped can not be visible. Because overlay grouping
is performed by elm_map, user do not know whether overlays are visible
or not. So elm_map_overlay_visible_get is added for this reason.



SVN revision: 71354
2012-05-23 10:29:03 +00:00
Hyoyoung Chang 6b28932fbf elementary/genlist: add short cut in item bring in calc.
fix compress_mode documentation.


SVN revision: 71349
2012-05-23 07:31:03 +00:00
Hyoyoung Chang f4481a9fad elementary/cnp: add selection type checking at _get_selection_type and clean up indent
SVN revision: 71339
2012-05-23 02:15:56 +00:00
Hyoyoung Chang fc61e67329 elementary/cnp: typo error fix
SVN revision: 71338
2012-05-23 01:05:22 +00:00
Hyoyoung Chang e248599286 elementary/cnp: don't calc sizeof char at buffer malloc
SVN revision: 71337
2012-05-23 00:53:07 +00:00
Hyoyoung Chang 7c6499a975 elementary/cnp: free string after use at notify_handler_html
SVN revision: 71336
2012-05-23 00:51:11 +00:00
Carsten Haitzler b29d458517 barebones initial support for access commands. XXX's
SVN revision: 71324
2012-05-22 12:13:49 +00:00
Jaehwan Kim 034c6928ed The parent of elm_menu_add shouldn't be a edje object.
SVN revision: 71314
2012-05-22 10:33:14 +00:00
Daniel Juyung Seo 1fada495ca elm elm_notify.c: Fixed parent_del routine. Remove callbacks when the
parent is deleted.
On Tue, May 22, 2012 at 4:46 PM, Sohyun Kim <anna1014.kim@samsung.com>
wrote:
>
> Hi all.
> When I use elm_notify, I got a crash in the deleting routine. (you
can test it in elementary_test > Video)
>
> When parent window of elm_notify is deleted, elm_notify set its
parent to NULL.
> However, it doesn't delete event callbacks of the parent window.
>
> In the smart_del callback of elm_notify, it tries to delete event
callbacks of parent window.
> However, its parent is already set to NULL, the deleting is skipped.
> Then the widget data gets freed.
> In this case, when other objects in the window are deleted, they can
create the parent window's event (e.g. CHANGED_SIZE_HINTS,,)
>
> Please find a patch to delete event callbacks when parent window is
deleted.
>
> Regards, Sohyun

SVN revision: 71307
2012-05-22 08:33:06 +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 1ab5985722 elm elm_widget.c: Fixed formatting.
SVN revision: 71302
2012-05-22 07:05:07 +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
Jaehwan Kim de1be9600b Toolbar: Add the more panel feature in toolbar. When it is the ELM_TOOLBAR_SHRINK_EXPAND mode and the max item is set, the items over max number are located in more panel.
The APIs are added for this feature.(elm_toolbar_more_item_get, elm_toolbar_items_max_set/get)


SVN revision: 71297
2012-05-22 05:18:12 +00:00
ChunEon Park 0d959fadbe elementary/config - fixed typo.
SVN revision: 71296
2012-05-22 04:55:49 +00:00
ChunEon Park b17f76696b elementary/config - fixed incorrect doc types.
Thank Bluezery for reporting.



SVN revision: 71295
2012-05-22 04:54:28 +00:00
ChunEon Park 33248e86ef elementary/config - updated doc
SVN revision: 71294
2012-05-22 04:48:21 +00:00
Hyoyoung Chang 101093c028 elementary/cnp: add failed malloc checking routines
SVN revision: 71293
2012-05-22 04:42:45 +00:00
ChunEon Park 255900a10f elementary/cnp - + null check
SVN revision: 71292
2012-05-22 04:30:24 +00:00
Michal Pakula vel Rutka 46b0eb6003 elementary/cnp: add null terminating at handling html type
Signed-off-by: Michal Pakula vel Rutka <m.pakula@samsung.com>


SVN revision: 71291
2012-05-22 01:35:12 +00:00
Hyoyoung Chang e657fd0c5e elementary/entry: move evas_event_{freeze,thaw} position in _elm_entry_text_set
SVN revision: 71280
2012-05-21 11:28:41 +00:00
Kim Shinwoo 1ceff28ee9 elemenatry/diskselector - RE:[E-devel][Patch][elementary] elm_diskselector, align of icon only item
Dear all, hello.

If an item of diskselector has only icon without label, then the icon
displays at left side of its space.
So if there is no label, the icon should display at the middle of its 
space.
Please review the patch. Thanks.

Sincerely,
Shinwoo Kim.

Signed-Off-By: Kim Shinwoo <kimcinoo.efl@gmail.com>




SVN revision: 71279
2012-05-21 10:30:47 +00:00
WooHyun Jung f55ce04d1f elementary/elm_menu : Fix a crash. _menu_resize_cb should be removed
before hover and its target are deleted.  


SVN revision: 71276
2012-05-21 09:12:47 +00:00
Tom Hacohen f9c2c5fd69 Elm glayer: Change double_tap_timeout to 0.25.
Listen to Hermet's wise counsel.

SVN revision: 71269
2012-05-21 07:51:41 +00:00
Carsten Haitzler 6649c23e78 fix infinite loop+stack push until segv... thanks to new object infra.
:)



SVN revision: 71266
2012-05-21 06:53:35 +00:00
Bluezery 56589d360f elementary/datetime: fix elm_datetime_value_get() documentation
Signed-off-by: Bluezery <ohpowel@gmail.com>


SVN revision: 71265
2012-05-21 06:40:24 +00:00
Carsten Haitzler ca1b40bf69 due to use obj structure if sd->api is null.. we have crashes - eg if
webkit not supported. fix this. (no no changelog as ita part of the
whole new structure changes)



SVN revision: 71263
2012-05-21 04:17:11 +00:00
Tom Hacohen ce02820a26 Elm glayer: Made tap timeout a config.
SVN revision: 71258
2012-05-20 14:56:35 +00:00
Tom Hacohen 0bbb0a43ef Elm glayer: cosmetic changes.
SVN revision: 71257
2012-05-20 14:56:32 +00:00
Tom Hacohen 5c5bc24aae Elm glayer: Removed all the "DEBUG_GLAYER" printfs.
If someone wants to debug anything, he'll do specific debugs anyway, no
need to clutter the code.

SVN revision: 71256
2012-05-20 14:56:29 +00:00
Tom Hacohen b6efa42204 Elm glayer: simplified "continues gesture" mode.
SVN revision: 71255
2012-05-20 14:56:26 +00:00
Jaehwan Kim 25ee318e6d Revert the revision 71185.
SVN revision: 71225
2012-05-18 07:16:28 +00:00
Kim Shinwoo 7c494c0757 elementary/gesture_layer: remove redundancy null checking at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71219
2012-05-18 01:45:40 +00:00
Tom Hacohen 7d0609a62c Elm glayer: Have a nice and clean array to call the test/reset funcs.
SVN revision: 71215
2012-05-17 15:31:34 +00:00
Tom Hacohen cd2324fb93 Elm glayer: Unify internal test function type.
Will let us do cool cleanups in the future.

SVN revision: 71214
2012-05-17 15:31:31 +00:00
Tom Hacohen f5ac377431 Elm glayer: Clean up N_LONG_TAPS a bit.
SVN revision: 71213
2012-05-17 15:31:29 +00:00
Tom Hacohen 1e2d9f200d Elm glayer: Clean up handling of the taps timeout and rename it.
SVN revision: 71212
2012-05-17 15:31:23 +00:00
Tom Hacohen a2651f5f6a Elm glayer: Fixed timing with the single/double/triple taps.
Instead of a global 400msec value, we now have 200msec between mouse downs.
E.g if the first timestamp is 0, we get:
valid: down(0) up(50) down(150) up(300)
invalid: down(0) up(100) down(201) up(250)

SVN revision: 71200
2012-05-17 13:37:10 +00:00
Kim Shinwoo 631e95b6c9 elementary/gesture_layer: add to null check at _tap_gesture_check_finish
Signed-off-by: Kim Shinwoo <kimcinoo.efl@gmail.com>


SVN revision: 71187
2012-05-17 04:39:40 +00:00
Jaehwan Kim 069260423e The separator is not a real item. So it shouldn't be counted.
SVN revision: 71185
2012-05-17 01:37:50 +00:00
Jihoon Kim 797bd6ecee elm_thumb: fix build warning in case of no ethumb
SVN revision: 71184
2012-05-16 23:44:46 +00:00
Gustavo Lima Chaves 0fd0320ccb [elm] Elm route ported to new schema.
I mean -- was this thing released?!



SVN revision: 71179
2012-05-16 19:50:04 +00:00
Davide Andreoli 5872d450d7 Fileselector: Add a wheel spinner that show/spin while EIO is working
SVN revision: 71178
2012-05-16 19:40:47 +00:00
Gustavo Lima Chaves 728f4210c2 [elm] warnings, be gone
SVN revision: 71177
2012-05-16 19:28:07 +00:00
Gustavo Lima Chaves e607a807f6 [elm] Making thumb a base widget.
I've received feedback on being bad to expose the thumb's frame.
So, making it a base widget here. Let me know what you guys think.



SVN revision: 71176
2012-05-16 19:04:10 +00:00
Gustavo Lima Chaves 83f37467b6 [elm] Thumb now a layout.
SVN revision: 71173
2012-05-16 17:20:42 +00:00
Tom Hacohen efe3d3f5be Elm fileselector_button: Fixed a bug when choosing a file.
SVN revision: 71165
2012-05-16 12:12:34 +00:00
Jihoon Kim 430ca528b9 elm_layout: describe the signal that layout widget emits
SVN revision: 71154
2012-05-16 11:04:11 +00:00
Tom Hacohen f51e04c0f5 Elm glayer: Workaround a bug causing a delay with N_TAPS events.
SVN revision: 71147
2012-05-16 08:44:17 +00:00
Jihoon Kim c69b7f2b60 elm_win.c: fix typo
SVN revision: 71143
2012-05-16 07:28:29 +00:00
WooHyun Jung 1ab790f276 elementary/elm_notify : Add focus_direction for elm_notify.
SVN revision: 71141
2012-05-16 05:46:31 +00:00
Carsten Haitzler 5948ae4fba Fix genlist ELM_LIST_LIMIT mode to do what it originally did.
Documentation was wrong too and code had a slight bug stopping
genlist from contracting to min size.
Optimize the case of COMPRESS + homogeneous mode to avoid
queue entirely and use existing known item sizes.
        


SVN revision: 71140
2012-05-16 05:28:40 +00:00
Davide Andreoli 0c7ab74390 Simplify file listing when using EIO
SVN revision: 71129
2012-05-15 20:02:59 +00:00
Gustavo Lima Chaves bee044e599 [Elm] Menu now a new elm widget.
SVN revision: 71128
2012-05-15 19:36:19 +00:00
Gustavo Lima Chaves 7a6e223fbf [Elm] Flip now a container.
SVN revision: 71126
2012-05-15 17:37:42 +00:00
Christopher Michael 22eda0e4f0 Elm (wayland): Fix elm not drawing frames in Wayland. Fix setting a
window to alpha also.



SVN revision: 71124
2012-05-15 14:48:30 +00:00
WooHyun Jung 6ca169273b elementary/elm_grid : Add focus_direction.
SVN revision: 71103
2012-05-15 10:39:07 +00:00
Jaehwan Kim cd3281329b The elm_toolbar_iteams_count have to return only the number of manually added items.
SVN revision: 71096
2012-05-15 07:00:47 +00:00
Jaehwan Kim c5fcdbb59c When the separators exist in toolbar and the toolbar shrinks by resizing window,
sometimes the only separators are shown even though the items are hidden.
So the separator's visibility is desided by it's previous item.


SVN revision: 71093
2012-05-15 06:30:17 +00:00
ChunEon Park 9d048f4f72 elementary/datetime - removed unnecessary call
SVN revision: 71090
2012-05-15 04:55:12 +00:00
WooHyun Jung 18a24203bd elementary/datetime : Fix a bug. elm_layout_content_set can delete
existing object which will be swallowed again in another part.


SVN revision: 71089
2012-05-15 04:44:14 +00:00
Gustavo Lima Chaves d9788a6249 [Elm] Spinner now a layout.
SVN revision: 71087
2012-05-14 21:52:06 +00:00
Gustavo Lima Chaves 714205a7e6 [Elm] Make box to resize itself again, so that ctxpopup
behaves.
Containers like boxes should not be resizing themselves, but flagging
desireable sizes via size hints to parent widgets.

Let it be that way for now, though. Ctxpopup is giving me A LOT OF
HEADACHE to port to the new schema without having to rewrite it :(.
It has the craziest code flow on sizing things, and of course that
code is uber fragile to borks.



SVN revision: 71085
2012-05-14 21:43:20 +00:00
Tom Hacohen 96a8fd040c Elm hoversel: remove stupid printfs.
I'm glad to see someone is excited about hovers being created and deleted.
I'm not.

SVN revision: 71002
2012-05-14 14:20:18 +00:00
WooHyun Jung 8e7e66416f elementary/slider : Just change number to Eina_Bool.
SVN revision: 70991
2012-05-14 08:21:48 +00:00
Cedric BAIL 7f0a986f8f elementary: forgotten header.
SVN revision: 70986
2012-05-14 06:16:26 +00:00
WooHyun Jung 68555430a3 elementary/elm_layout : Sync with old elm_layout. elm_widget_sub_object_add
should be called prior to edje_object_part_swallow. This is because
evas-callback function(about EVAS_CALLBACK_CHANGED_SIZE_HINTS) which is
registered by _smart_sub_object_add should be called after the one
registered by edje_object_part_swallow.


SVN revision: 70985
2012-05-14 06:13:47 +00:00
ChunEon Park d8f1c8014b elementary/menu - fixed crash problem when non-parent item is passed to the elm_menu_seprator_item_add()
SVN revision: 70982
2012-05-14 05:13:12 +00:00
ChunEon Park 5f9bd3a8ae elementary/config - more detailed documentation
SVN revision: 70979
2012-05-14 00:12:17 +00:00
Davide Andreoli be531ba2af * Fileselector: honor folder_only when using EIO
* Fileselector test: add a check to enable/disable buttons

 Updated Changelog and NEW, also add myself as authors...

 btw: the EIO code in the Fileselector is crazy-complex, about 200 
 lines of code just to have the list of files ina dir...  :/



SVN revision: 70965
2012-05-13 12:23:39 +00:00
Tom Hacohen 6d47da0101 Elm: Don't ui-mirror if app has no translation.
SVN revision: 70963
2012-05-13 11:24:28 +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
Tom Hacohen f5df97e869 Elm: Fixed warnings when emotion is not available.
SVN revision: 70959
2012-05-13 08:37:06 +00:00
Tom Hacohen e014b0c75b Elm entry: Updated docs to explain changing entry style.
Elm's docs don't build here, so I can't test, but it should be fine.

SVN revision: 70958
2012-05-13 07:46:36 +00:00
Hannes Janetzek 82fee2aff2 most probably this should have been EINA_FALSE
SVN revision: 70935
2012-05-11 19:20:31 +00:00
ChunEon Park a49270e385 elementary/colorselector - event hook opensource patch
Elm_colorselector: _elm_colorselector_smart_event function added.
  
Thanks & Regards
Shilpa Singh 

Signed-Off-By:ShilpaOnkar Singh <shilpa.singh@samsung.com>




SVN revision: 70925
2012-05-11 07:25:07 +00:00
Tom Hacohen a2abcee06d Elementary entry: Fixed valgrind errors introduced in elm rework.
SVN revision: 70909
2012-05-10 14:24:16 +00:00
Tom Hacohen 2bb86a906e Elm glayer: Hopefully fixed some issue with hold_events=true.
Thanks a lot to Eunmi Lee for reporting this issue.

SVN revision: 70908
2012-05-10 11:16:13 +00:00
WooHyun Jung 9c04507771 elementary/elm_bubble : Fix a bug. Should return EINA_FALSE when no
content exists.


SVN revision: 70904
2012-05-10 07:21:26 +00:00
Hyoyoung Chang 87e7198049 elementary/genlist: pan calculate if blocks changed at _item_block_del
SVN revision: 70903
2012-05-10 06:30:49 +00:00
Cedric BAIL a666de6518 elementary: reload theme when it change on disk.
NOTE: This is not very robust yet. But that's not related to this patch.
You can see the issue when switching between two different theme in
elementary_config. At some point elementary_test start to loose information.


SVN revision: 70895
2012-05-09 10:46:14 +00:00
Hyoyoung Chang b52e855c5a elementary/genlist: add to check items at focus_hook
SVN revision: 70893
2012-05-09 10:43:35 +00:00
Hyoyoung Chang 7216eade28 elementary/cnp: fix minor indentation
SVN revision: 70889
2012-05-09 08:43:45 +00:00
ChunEon Park d358fa5afe elementary/config - more error info
SVN revision: 70878
2012-05-09 06:22:09 +00:00
ChunEon Park 08dab30e7b elementary/config - just modified text class descriptions.
now it describes just widget names.



SVN revision: 70868
2012-05-08 07:26:48 +00:00
Vincent Torri 9c3a678b87 Elementary: link against libintl
SVN revision: 70857
2012-05-07 19:33:18 +00:00
Vincent Torri d141786fbc Elementary: include langinfo.h only if it exists
SVN revision: 70856
2012-05-07 19:32:13 +00:00
ChunEon Park cd2202140d elementary/genlist - genlist patch
Please find attached updated patch. 

Change log: Genlist - crash fix (if itc parameter is passed as NULL ) 

Signed-off by: Shilpa Singh<shilpa.singh@samsung.com>

Thanks & Regards 

Shilpa 



SVN revision: 70833
2012-05-07 02:05:35 +00:00
Tom Hacohen d5545306f1 Elm glayer: (Hopefully) fixed docs.
"make doc" fails here for elementary, I don't know why, but I believe my
changes are fine.

SVN revision: 70801
2012-05-06 13:57:04 +00:00
Shinwoo Kim 355365d4a8 [E-devel] [Patch][elementary] elm_menu, fix improper indentation.
Hi!

I have just modified the elm_menu.c because there are some improper
indentation.
That's it... Thanks.

Sincerely,
Shinwoo Kim.

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



SVN revision: 70758
2012-05-04 12:04:27 +00:00
Daniel Juyung Seo 649d06bf5d elm elm_web.c: Fixed build warning when HAVE_ELEMENTARY_WEB is not defined.
SVN revision: 70750
2012-05-04 01:51:19 +00:00
Gustavo Lima Chaves 6a18b15a1b [elm] Fix booboos for people not having eio,
ewebkit or emotion.



SVN revision: 70749
2012-05-03 22:45:01 +00:00
Gustavo Lima Chaves aeb08688b7 [Elm] Not very fancy solution, but... now hover
won't ruin elementary_config
when used by elm_menu.



SVN revision: 70748
2012-05-03 22:44:56 +00:00
Gustavo Lima Chaves 1689f4cbd3 [Elm] Notify now a container.
SVN revision: 70747
2012-05-03 22:44:51 +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
Gustavo Lima Chaves bc06e63aa7 [Elm] Box ported to new class schema.
SVN revision: 70745
2012-05-03 22:44:41 +00:00
Gustavo Lima Chaves 6391d192df [Elm] Conformant now a layout.
SVN revision: 70744
2012-05-03 22:44:36 +00:00
Gustavo Lima Chaves 97622d3d34 [Elm] Colorselector now a layout.
SVN revision: 70743
2012-05-03 22:44:31 +00:00
Gustavo Lima Chaves 7abded1fb1 [Elm] File selector now a layout.
SVN revision: 70742
2012-05-03 22:44:26 +00:00
Gustavo Lima Chaves 643df97343 [Elm] Video and player now layouts, too.
SVN revision: 70741
2012-05-03 22:44:21 +00:00
Gustavo Lima Chaves a540eb404c [Elm] Elm web now a (new) elm_widget.
Later on we can think of exposing its internals more WRT inheritance.



SVN revision: 70740
2012-05-03 22:44:16 +00:00
Gustavo Lima Chaves 6db319d810 [Elm] Index now a layout.
SVN revision: 70739
2012-05-03 22:44:11 +00:00
Gustavo Lima Chaves 728c301be7 [Elm] Flip selector now a layout.
SVN revision: 70738
2012-05-03 22:44:06 +00:00
Gustavo Lima Chaves e8da7eb91d [Elm] File selector button now a button.
SVN revision: 70737
2012-05-03 22:44:01 +00:00
Gustavo Lima Chaves d947a91174 [Elm] Dayselector has nothing to do with
composing widgets.



SVN revision: 70736
2012-05-03 22:43:56 +00:00
Gustavo Lima Chaves d9b2d3919a [Elm] Dayselector now a layout.
SVN revision: 70735
2012-05-03 22:43:51 +00:00
Gustavo Lima Chaves df0afe2ba9 [Elm] Datetime now a layout
SVN revision: 70734
2012-05-03 22:43:47 +00:00
Gustavo Lima Chaves 542b73eb2e [Elm] Elm glview now an (new) elm_widget.
SVN revision: 70733
2012-05-03 22:43:42 +00:00
Gustavo Lima Chaves b583de4afb [Elm] Progress bar now a layout.
SVN revision: 70732
2012-05-03 22:43:37 +00:00
Gustavo Lima Chaves c4334c6ee4 [Elm] Radio now a layout.
SVN revision: 70731
2012-05-03 22:43:31 +00:00
Gustavo Lima Chaves f25dde70e9 [Elm] Segment control now a layout, too.
SVN revision: 70730
2012-05-03 22:43:26 +00:00
Gustavo Lima Chaves 37a03c7fb9 [Elm] Elm separator now a layout.
SVN revision: 70729
2012-05-03 22:43:21 +00:00
Gustavo Lima Chaves cd2dc9574b [Elm] Elm grid now ported to new class hierarchy.
SVN revision: 70728
2012-05-03 22:43:16 +00:00
Gustavo Lima Chaves 1aadd96ba0 [Elm] Elm table migrated to new class hierarchy.
SVN revision: 70727
2012-05-03 22:43:10 +00:00
Gustavo Lima Chaves 1b276ab353 [Elm] Panes now a layout, too.
SVN revision: 70726
2012-05-03 22:43:05 +00:00
Gustavo Lima Chaves 2313f6cc0a [Elm] Hoversel is now a button.
SVN revision: 70725
2012-05-03 22:43:00 +00:00
Gustavo Lima Chaves 2859a302e0 [Elm] Elm slider now a layout.
SVN revision: 70724
2012-05-03 22:42:54 +00:00
Gustavo Lima Chaves df22df50b0 [Elm] Elm hover now a layout.
SVN revision: 70723
2012-05-03 22:42:49 +00:00
Gustavo Lima Chaves ff5bccda32 [Elm] Elm slideshow now a layout.
SVN revision: 70722
2012-05-03 22:42:43 +00:00
Gustavo Lima Chaves 297357a64a [Elm] Elm label now a layout, too.
SVN revision: 70721
2012-05-03 22:42:38 +00:00
Gustavo Lima Chaves 1a04d926fc [Elm] Elm actionslider now a layout, too.
SVN revision: 70720
2012-05-03 22:42:32 +00:00
Gustavo Lima Chaves d171345bd6 [Elm] Elm bubble is also an elm layout, now.
SVN revision: 70719
2012-05-03 22:42:26 +00:00
Gustavo Lima Chaves 1ab8266b77 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70718
2012-05-03 22:42:20 +00:00
Gustavo Lima Chaves a239210a0d [Elm] Now elm win and inwin got into the new
widget hierarchy.
Win inherits directly from Elm_Widget_Smart_Class, while inwin is now
an elm layout.

Note that elm_widget_sub_object_list_get(), which was an unecessary
hack only used on win, was killed.



SVN revision: 70717
2012-05-03 22:42:15 +00:00
Gustavo Lima Chaves bb4ec10462 [Elm] Clock now an elm layout, too.
SVN revision: 70716
2012-05-03 22:42:09 +00:00
Gustavo Lima Chaves 5fa36eec83 [Elm] Elm check now a layout.
SVN revision: 70715
2012-05-03 22:42:03 +00:00
Gustavo Lima Chaves 23a4924a88 [Elm] Elm calendar also a layout, now.
SVN revision: 70714
2012-05-03 22:41:58 +00:00
Gustavo Lima Chaves 6ab25c7612 [Elm] One more widget on elm layout: frame.
SVN revision: 70713
2012-05-03 22:41:53 +00:00
Gustavo Lima Chaves 57b7d52466 [Elm] Helper on resize_object_add()
SVN revision: 70712
2012-05-03 22:41:47 +00:00
Gustavo Lima Chaves 4a38e1fa15 [Elm] And now button also inherits from
elm_layout.



SVN revision: 70711
2012-05-03 22:41:42 +00:00
Gustavo Lima Chaves 8723fd9e76 [Elm] Elm bg now happily inherits from elm
layout.



SVN revision: 70709
2012-05-03 22:41:32 +00:00
Gustavo Lima Chaves f4e29b50ee [Elm] 2nd specialization of Elm's new base smart
class: elm_layout.
This will be, besides the codebase for the elm_layout widget, a common
base for all other widgets which got an edje layout as a basis for
their decoration.

From now on, all elm_layout_* namespaced fuctions will function
on objects inheriting from this base:

- elm_layout_content_set
- elm_layout_content_get
- elm_layout_content_unset
- elm_layout_text_set
- elm_layout_text_get

(recovered from deprecated header -> not anymore)

- elm_layout_sizing_eval
- elm_layout_data_get
- elm_layout_edje_get

- elm_layout_file_set
- elm_layout_theme_set

- elm_layout_box_append
- elm_layout_box_prepend
- elm_layout_box_insert_before
- elm_layout_box_insert_at
- elm_layout_box_remove
- elm_layout_box_remove_all
- elm_layout_table_pack
- elm_layout_table_unpack
- elm_layout_table_clear

Three missing functions on layouts were added, then:

- elm_layout_signal_emit
- elm_layout_signal_callback_add
- elm_layout_signal_callback_del

Naturally, the elm_object_ namespaced counterparts of those will also
function (they will be deprecated on the future).



SVN revision: 70708
2012-05-03 22:41:26 +00:00
Gustavo Lima Chaves d064f020c3 [Elm] New Elm widget class: cointainer
This is for general purpose containers in Elm, those supporting
- elm_object_part_content_set()
- elm_object_part_content_get()
- elm_object_part_content_unset()



SVN revision: 70707
2012-05-03 22:41:21 +00:00
Gustavo Lima Chaves efec09ea74 [Elm] Factoring out code for basic widget theme
smart function.



SVN revision: 70706
2012-05-03 22:41:15 +00:00
Gustavo Lima Chaves 109205654d [Elm] Adapting sub_obj_{del,add}, hover and
resize objects to new schema.
sub-object-{add,del} new class functions got their bodies in.  One by
one, the old elm_widget_ namespaced calls to them got to be migrated
to the class calls.

A resize object is now a sub-object, too. This should be like that
from the start -- we share code and avoid callback duplication -- what
leaded to a plethora of bugs.



SVN revision: 70705
2012-05-03 22:41:09 +00:00
Gustavo Lima Chaves 66f5d302ee [Elm] Creating base smart class, to be extended
properly by real widgets.
I'm also creating a *compatibility* class on top of it, which extends
the old (unique) one to its old components, so that everything goes
unnoticed for the widgets.

Next, we'll be accessing class functions for widget hooks *on the base
class*, which will be proxied back to the instance ones.

Then, one by one the widgets will be translated to a proper
hierarchical smart class parentage, making extensibility and reuse
much better.

Last, but not least, since we'll be moving these hooks to the class,
where (almost) everything is a function, let's adapt to the future --
take away the "_func" suffix from them.

NB: there is ONE hook and associated data which was kept on the base,
for now: "show_region" stuff. I did that because scrollers need that
in order to work, right now. Keep in mind, though, the scrollers will
be reworked, so that fields ought to be changed soon, too.



SVN revision: 70704
2012-05-03 22:41:04 +00:00