Commit Graph

432 Commits

Author SHA1 Message Date
Jaehwan Kim 9ad338cdfa Fix the scrolled entry in scroller is located wrong position when the cursor is changed.
It is a scroller in scroller. In this case, it moved twice.
2013-04-23 17:03:03 +09:00
ChunEon Park 3e981041c6 elementary/widget - missed new apis eo descriptions. 2013-04-23 16:56:06 +09:00
ChunEon Park e95af92756 elementary/widget - added elm_object_part_text_translatble_set() 2013-04-23 16:49:49 +09:00
Daniel Juyung Seo f8bc84d439 elm: fixed documentation + fixed formatting. 2013-04-03 21:26:04 +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
Daniel Juyung Seo 615d05bfe5 elm: removed unnecessary multi blank lines. 2013-04-03 10:45:15 +09:00
ChunEon Park 1d3d93741a elementary/widget - use Eina_Stringshare explicitly. 2013-04-01 20:50:25 +09:00
WooHyun Jung 45388e4581 elementary/focus : Add four more focus direftions. ELM_FOCUS_UP, ELM_FOCUS_DOWN, ELM_FOCUS_RIGHT, and ELM_FOCUS_LEFT. These are for supporting elm_object_focus_next with four directions. And I added elm_object_focus_next_object_set(get). By setting focus next object manually, developer can set its own first candidate of focus next. Lastly I added elm_object_focused_object_get, for easy finding of current focused object in one object sub-tree. 2013-03-23 09:36:21 +09:00
Tom Hacohen d75cb616da Change usage of eo_do_super to the new prototype. 2013-03-18 16:15:12 +00:00
WooHyun Jung 9cf2ef0752 elementary/elm_widget : Modifed the type of parameter to const Evas_Object*. 2013-03-11 22:20:20 +09:00
Daniel Juyung Seo 78c042cdbe elm *.c: fixed formatting with EINA_LIST_FREE.
EINA_LIST_FREE (xxx) -> EINA_LIST_FREE(xxx)
2013-03-09 13:23:42 +09:00
WooHyun Jung f6a73beb76 Add elm_widget_newest_focus_order_get function for fixing a bug in elm_win. After elm_win is created, if there is no manual focus setting, only elm_win should get focus when focus state is changed. 2013-03-08 16:23:34 +09:00
ChunEon Park 30ce1cf732 elementary/widget - added elm_object_item_signal_callback_add(), elm_object_item_signal_callback_del() 2013-03-06 21:33:13 +09:00
ChunEon Park 9c743a6097 elementary/widget - and should return when failed _elm_theme_object_set(); 2013-03-03 13:04:23 +09:00
ChunEon Park 5b6458423b elementary/widget - return correct value in theme_object_set()
becase of this, elm_layout_theme_set() and hoversel were broken.
2013-03-03 13:01:22 +09:00
ChunEon Park 2204559573 elementary/widget - use eo 2013-02-26 17:42:34 +09:00
ChunEon Park 74559f5547 elementary/widget,theme - simpler code. 2013-02-26 13:46:27 +09:00
ChunEon Park fb472f97b1 elementary - only support sending signals when orientation mode is changed.
it's enough right now.

need to consider more about theme change.
2013-02-26 13:26:22 +09:00
ChunEon Park 73bd086b53 elementary/widget - missed return there.
thanks glima for spotting it.



SVN revision: 84270
2013-02-21 03:42:04 +00:00
ChunEon Park 0a71cd2727 elementary/widget - revised orientation mode code.
now if applying the orientation style is failed, it tries to apply the original style. if it fails again then default theme.

also it fixed a logic error when theme changed is happened.

It will try to apply the original style if the orientation style is invalid on theme changing.




SVN revision: 84082
2013-02-19 08:22:15 +00:00
ChunEon Park 0d5a0dc6e6 elemenatry/widget - --printf
SVN revision: 84036
2013-02-18 05:15:53 +00:00
ChunEon Park ade43adfd9 elementary/widgets - if the orient mode is changed, apply a default only if the style doesn't applied anything. other wise, use the preivouse one.
SVN revision: 84034
2013-02-18 05:13:58 +00:00
Cedric BAIL 1aaa6e41e1 elementary: as previously stated sizeof (long) != sizeof (void*)
SVN revision: 84014
2013-02-17 03:53:02 +00:00
ChunEon Park 500fa3f34b elementary/widget - ++FIXME
SVN revision: 83991
2013-02-16 13:54:52 +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
ChunEon Park 9256895f98 elementary/widget, naviframe, popup, label, button
let elm_wdg_orientation_set() have return value and call the elm_wdg_theme() inside.

since every widgets tend to do same task with smart_theme() when it's orient mode is changed.



SVN revision: 83981
2013-02-16 11:11:25 +00:00
ChunEon Park 1004d5c062 elementary/widget - null conditional check
SVN revision: 83956
2013-02-15 14:04:06 +00:00
ChunEon Park cf2d0c9d6d elementary/widget - Apply current orientation mode styles. if it doesn't have, then apply the default.
Also whenever orientation mode is changed, the widget itself has orient signals.



SVN revision: 83945
2013-02-15 11:06:19 +00:00
Shinwoo Kim fdc3045369 [popup] popup is now a focusable object!!
[access] omit an object on the focus cycle which does not have access information.


SVN revision: 83943
2013-02-15 10:39:00 +00:00
ChunEon Park 49ea2c7dd4 elementary/widget - don't set orient mode if the new value is same as previous one.
SVN revision: 83935
2013-02-15 05:27:09 +00:00
ChunEon Park cbaf59be98 elementary/widget - keep orient_mode has actual degree.
SVN revision: 83932
2013-02-15 04:45:53 +00:00
ChunEon Park afa738e3e6 elementary/widget - added widget orientation mode infra and 2 apis elm_object_orientation_mode_disabled_set(0, elm_object_orientation_mode_disabled_get()
Orientation Mode is used for widgets to change it's styles or to send signals
whenever it's window degree is changed. If the orientation mode is enabled
and the widget has different looks and styles for the window degree(0, 90,
180, 270), it will apply a style that is readied for the current degree,
otherwise, it will send signals to it's own edje to change it's any states if
the style doesn't be readied.



SVN revision: 83880
2013-02-14 05:38:26 +00:00
ChunEon Park f45b4efac0 elementary/widget - for consistency, revised internal func names.
SVN revision: 83865
2013-02-13 11:02:36 +00:00
Carsten Haitzler 730986d1f1 unbreak hermet commit. :)
SVN revision: 83860
2013-02-12 22:04:30 +00:00
ChunEon Park 19c9d98d7e elementary/widget - added elm_widget_item_translate(). Now each item can be translated by calling this.
SVN revision: 83859
2013-02-12 15:14:38 +00:00
ChunEon Park fef0b0cadd elemenatry/widget - removed incorrect call in widget_translate.
SVN revision: 83858
2013-02-12 13:03:17 +00:00
ChunEon Park 34f27273f9 elementary - removed duplicated logic from translatable_part_text_set()/get().
SVN revision: 83857
2013-02-12 13:00:37 +00:00
ChunEon Park 09dc0877a0 elemenatry - replace elm_object_domain_translatable_text_part_set()/text_part_get() with elm_object_domain_transltable_part_text_set(), part_text_get()
SVN revision: 83856
2013-02-12 11:43:39 +00:00
ChunEon Park 867084e7ba elementary - added elm_object_item_translatable_part_text_set() elm_object_item_translatable_part_text_get()
SVN revision: 83852
2013-02-12 10:38:33 +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 02c013627e elementary/widget - something context change left this incompleted code?
SVN revision: 83774
2013-02-08 09:24:05 +00:00
Shinwoo Kim dec42885c9 [access] show highlighted object region, _elm_widget_focus_region_show(); would be exported
SVN revision: 83619
2013-02-05 10:08:42 +00:00
Tom Hacohen 6630e65a31 Elementary: Use new eo dbg type.
SVN revision: 83444
2013-01-29 16:36:13 +00:00
Aharon Hillel 52c035994d Added debug info functions for Clouseau. From now, classes implementing
the Eo function with id EO_BASE_SUB_ID_DBG_INFO_GET will be able to show
in Clouseau their own specific information.
Information contents handling is controlled by the class itself and
no more by Clouseau. Basic types are supported, as couple of ints,
couple of doubles, colors and lists.

Signed-off-by: Aharon Hillel <a.hillel@samsung.com>

SVN revision: 83411
2013-01-29 06:37:01 +00:00
Shinwoo Kim 8ffacbf583 [access] The read next/prev message does not move focus but move highlight only, the focus moves when the activate message is detected.
SVN revision: 83379
2013-01-28 11:13:18 +00:00
WooHyun Jung 079b7c1ec6 elementary/elm_widget : Removed evas_object_smart_data_get and applied eo_data_get.
SVN revision: 83370
2013-01-27 12:14:23 +00:00
Daniel Juyung Seo 59e27f020a elm elm_widget.c: Mark internal functions.
SVN revision: 83352
2013-01-26 09:55:18 +00:00
WooHyun Jung f1a4dc385c elementary/elm_widget : A widget which doesn't have focus_region_get should give its width and height for correct focus_region_show.
SVN revision: 83347
2013-01-26 06:53:10 +00:00
WooHyun Jung 1e2e63d899 elementary/focus : Now, widget itself is the object which gets mouse_up event for stealing focus from another object.
By this change, a widget with scroller interface can change its focus state before adding parent class.


SVN revision: 82853
2013-01-16 04:40:51 +00:00
Daniel Juyung Seo 081f9f8006 elm: Restructuring codes to remove dead codes.
SVN revision: 82445
2013-01-09 09:02:22 +00:00
Daniel Juyung Seo ffa9c1e793 elm: Refactoring.
Smart data is already initialized so we do not need to re-initialize them if the value equals to 0, NULL, or EINA_FALSE.
Sometimes re-initializing smart data explicitly is needed for readability. So there are left overs.

SVN revision: 82228
2013-01-04 19:10:19 +00:00
Daniel Juyung Seo 443d838758 elm elm_widget.c: ;; is not sexy.
SVN revision: 82038
2013-01-03 06:12:51 +00:00
Daniel Zaoui af3342cf0a Removed internal macro that was retrieving the widget data
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 81219
2012-12-18 08:22:13 +00:00
Daniel Juyung Seo e6189411fd elm elm_widget.c: Refactoring internal functions. Move around internal functions for the eo readability.
SVN revision: 80377
2012-12-06 17:49:19 +00:00
Cedric BAIL 668e2a4588 elementary: move macro that should only be used in Elm_Widget inside it.
Note: this was introduced during the move to EO, so no backport.


SVN revision: 80230
2012-12-05 10:59:36 +00:00
Shinwoo Kim 358ffe3b6b [access] remove internal APIs
1. _elm_access_item_register(); please use _elm_access_widget_item_register();
  2. _elm_access_item_unregister(); please use _elm_access_widget_item_unregister();
  3. Elm_Access_Info of Elm_Widget_Item, because Elm_Widget_Item uses elm_access object which has Elm_Access_Info.


SVN revision: 80063
2012-12-03 12:53:24 +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
Daniel Juyung Seo 4c9edafed8 elm elm_widget.c: Added more internal function description.
SVN revision: 79466
2012-11-20 09:59:21 +00:00
Shinwoo Kim c7012af41c [clock] add access features
1. register object and edit part
  2. add mart_focus_next(); on access mode
  3. add smart_ ccess(); for runtime - enable and disalbe handling


SVN revision: 78994
2012-11-08 09:10:13 +00:00
Daniel Juyung Seo 5b7785ccea elm: Fixed on_focus_region() issue. Focused area should be scrolled only when it is needed. Now only entry needs this feature.
SVN revision: 78111
2012-10-17 10:09:52 +00:00
Daniel Juyung Seo 16cb7ae33f elm elm_widget: Use const for getters.
SVN revision: 77978
2012-10-15 06:26:56 +00:00
WooHyun Jung 2640f9a966 elementary : Just fixed some mis-typos :)
SVN revision: 77970
2012-10-15 01:22:12 +00:00
Jiyoun Park 997824fba0 Modify Elm conformant widget to notify display mode change
to child widget related with keypad state change.
elm naviframe check this change and deal with this using theme


SVN revision: 77965
2012-10-14 14:48:02 +00:00
Daniel Juyung Seo 30dba54610 elm: Fixed indentations for EINA_LIST/INLIST_FOREACH(_SAFE).
SVN revision: 77244
2012-10-01 07:36:27 +00:00
Gustavo Lima Chaves 6914df9e5f [elm] Let's check for an elm widget before recursing on elm_widget_theme().
SVN revision: 77207
2012-09-28 14:08:00 +00:00
Kim Shinwoo fdaf625316 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [patch][elementary] access - activate widget
Subject: [E-devel] [Patch][elementary] scroller, slider - access
activate feature

the previous activate function just get object only. to activate scroller
or slider etc.. it needs more information. so the patch changed previous
activate(Evas_Object *obj) to activate(Evas_Object *obj, Elm_Activate act);
the Elm_Activate can be one of ELM_ACTIVATE_DEFAULT, UP, DOWN, RIGHT, and
LEFT.. you can add more if it is necessary.

I have attached two patches. one is for the slider and the other is for the
scoller.
this patch would support those who wants change value of slider or content
position of scroller on remote side.
this would be useful to the access side or voice control side also.



SVN revision: 76717
2012-09-17 03:01:46 +00:00
WooHyun Jung 67b7042c08 elementary/elm_widget : evas_object_smart_interface_get should be
tried with SMART object only. Before this commit, some applications
printed "evas_debug_magic_wrong".


SVN revision: 76157
2012-09-05 02:37:47 +00:00
Carsten Haitzler 7b3e96932d use shinwoo's 2nd patch not first!
SVN revision: 75979
2012-09-03 08:49:45 +00:00
Gustavo Lima Chaves ac299e6a59 [elm] Rework focus_region and on_focus_region
hooks.

The former is now issued for all scrollables, with the behavior it had
before, and the latter is a new virtual base function, with a default
implementation leading to values matching the old case where one
didn't implement the hook.

Please help me test if everything is OK -- it seems so, here.



SVN revision: 75904
2012-08-30 16:47:16 +00:00
Gustavo Lima Chaves 0f0cd0d914 [elm] Put some order on elm_widget.c.
SVN revision: 75903
2012-08-30 16:47:10 +00:00
Gustavo Lima Chaves f6faa9f105 [elm] Bye, bye, compat.
http://www.xmms.org/graphics/Gaylord.Nelson.waves.byebye.jpg



SVN revision: 75901
2012-08-30 16:46:59 +00:00
Gustavo Lima Chaves b72ea21550 [elm] Dangerous typo--.
SVN revision: 75894
2012-08-30 16:45:59 +00:00
Gustavo Lima Chaves 9f84593673 [elm] Prepare for removal of last widget using
internal scrolling smart cbs.




SVN revision: 75892
2012-08-30 16:45:34 +00:00
Gustavo Lima Chaves 7bf719af40 [elm] Big oopsie--.
SVN revision: 75062
2012-08-09 20:40:27 +00:00
Gustavo Lima Chaves 311214c8d0 Revert "elementary: add smart callback "focus-in"
and "focus-out"."

This reverts commit 1bb12050b9785d47e102b4a3633210316d408f0d.

Conflicts:
	ChangeLog
	NEWS

Cedric, this is just wrong. The *on_focus* smart function of the base
widget is now the central place to handle focus in/out events.

I'll fix the spinner in sequence.



SVN revision: 74853
2012-08-03 16:43:17 +00:00
Cedric BAIL 3148dd42af elementary: add smart callback "focus-in" and "focus-out".
NOTE: Glima could you review this, I am really not sure I should
have implemented it this way.


SVN revision: 74818
2012-08-03 07:00:26 +00:00
Gustavo Lima Chaves c134c85cd6 [elm] One more scrolling hook that must be there
till I address it.




SVN revision: 74406
2012-07-25 22:03:15 +00:00
WooHyun Jung 46eb6df9ef elementary/elm_widget : focus_region function in elm_scroller was not
executed because of _elm_legacy_is always returned EINA_FALSE. So I removed
it.


SVN revision: 74367
2012-07-25 02:43:32 +00:00
Gustavo Lima Chaves ef219914b3 [elm] Also don't advertise this type on our tree
figures.




SVN revision: 74358
2012-07-24 17:34:06 +00:00
Gustavo Lima Chaves 5a44c924e4 [elm] New infra to help factorize initting code for
widgets.

Some of them have initting code using the parent ptr for some logic.
Now there's a new idiom on instantiating widgets which adresses
that. It'll be used for all widgets from now on.



SVN revision: 74147
2012-07-18 21:03:28 +00:00
Gustavo Lima Chaves 45e8d67a78 [elm] New scrollable interface in.
This is meant to be used for all widgets implementing scrolling views.
An Elementary interface adds a given behaviour to whichever widget,
from any class.



SVN revision: 73307
2012-07-04 21:41:01 +00:00
Gustavo Lima Chaves 9d25d801e6 [elm] These intricate scrolling hooks will be the
last to be evaluated.

Porting of the basic scrolling infra to an interface will happenfirst, as well as the scrolling widgets porting.

Patch by: Gustavo Lima Chaves <glima@profusion.mobi>



SVN revision: 73306
2012-07-04 21:36:50 +00:00
Kim Shinwoo a060189012 From: Kim Shinwoo <kimcinoo.efl@gmail.com>
Subject: [E-devel] [Patch][elm_widget] access hook

Real time setting would be necessary in case of running applications
which
have elm_layout or elm_widget_item.
If the access mode does not care of this, running applications should
restart. The attached for this. Please review the patch and give any
feedbacks. Thanks.



SVN revision: 73229
2012-07-03 12:09:34 +00:00
Gustavo Sverzut Barbieri c4caf9d82f safety for elm_object_item_widget_get().
SVN revision: 73117
2012-07-02 01:38:21 +00:00
Cedric BAIL d78b70af51 elementary: use Edje to enable accessibility on TEXTBLOCK.
Patch by Kim Shinwoo <kimcinoo.efl@gmail.com>.


SVN revision: 72841
2012-06-26 05:54:45 +00:00
Gustavo Sverzut Barbieri 74cf7f640a oops, unb0rk compat layer.
glima was on d0rgs...


SVN revision: 72678
2012-06-21 23:37:49 +00:00
Bruno Dilly 04061fc239 Elm: fix the widget event callback freeing
Removes the event callback list within _smart_del. The current
implementation does not care about the node data resulting on
memory leaks.

Here follows the valgrind log:

16 bytes in 1 blocks are definitely lost in loss record 11 of 168
at 0x4C29DB4: calloc (in
        /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
        by 0x522EC34: elm_widget_event_callback_add (elm_widget.c:1996)
        by 0x5A7AA2B: _edje_emit_handle (edje_program.c:1322)
        by 0x5A766B6: _edje_message_queue_process (edje_message_queue.c:764)
        by 0x5A76856: _edje_job (edje_message_queue.c:160)
        by 0x628C02A: _ecore_job_event_handler (ecore_job.c:115)
        by 0x6288C1F: _ecore_event_call (ecore_private.h:319)
        by 0x628D09B: _ecore_main_loop_iterate_internal (ecore_main.c:1814)
        by 0x628D566: ecore_main_loop_begin (ecore_main.c:931)
        by 0x4023B0: elm_main (test.c:198)

Patch by Leandro Dorileo <dorileo@profusion.mobi>



SVN revision: 72498
2012-06-19 18:20:38 +00:00
Gustavo Lima Chaves cb2aba8dd8 [elm] Simplify and comment 71573's work.
Let's use the smart data fetching macro whenever possible.



SVN revision: 71587
2012-05-31 16:23:19 +00:00
WooHyun Jung 5f0750f863 elementary : child_can_focus should be EINA_FALSE only when all
children in the object tree were not focusable.


SVN revision: 71573
2012-05-31 07:15:28 +00:00
Gustavo Lima Chaves f72b6c8ad6 [elm] Warn about deprecation of some icon calls
The ones just wrapping their image counterparts should die eventually.
The signal callbacks on icons will die, too, eventually.



SVN revision: 71468
2012-05-28 20:35:35 +00:00
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
Daniel Juyung Seo 1ab5985722 elm elm_widget.c: Fixed formatting.
SVN revision: 71302
2012-05-22 07:05:07 +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
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 57b7d52466 [Elm] Helper on resize_object_add()
SVN revision: 70712
2012-05-03 22:41:47 +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 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