Commit Graph

5915 Commits

Author SHA1 Message Date
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
Gustavo Lima Chaves a83d094b7c [Elm] Renaming base smart data struct, in
preparation for the next commit.



SVN revision: 70703
2012-05-03 22:40:58 +00:00
Carsten Haitzler b8f23802f5 fix bug hermet added in font code! :)
SVN revision: 70692
2012-05-03 09:18:20 +00:00
Daniel Juyung Seo f699276047 elm naviframe: Bug Fix: Wrong signal sent when title/subtitle is set
in naviframe. Patch by Shilpa Onkar Singh <shilpa.singh@samsung.com>

On Thu, May 3, 2012 at 2:30 PM, SHILPA ONKAR SINGH
<shilpa.singh@samsung.com> wrote:
> Hi All,
>
> Please find attached, patch for elc_naviframe bug fix: "wrong signal
sent when subtitle,title is set".
>
> Change Description:
> Bug Fix: Wrong signal sent when title/subtitle is set in naviframe.
>
> Thanks & Regards
> Shilpa Singh

SVN revision: 70685
2012-05-03 05:51:23 +00:00
WooHyun Jung f83917a420 elementar/focus : New feature - focus movement in all direction. By
using elm_widget_focus_direction_go function, focus will be moved from
the current focused object to the near object in one direction.
Direction can be set by degree(for easy usability). Degree changes
clockwise, i.e. 0 means UP, 90 means RIGHT, 180 means DOWN, and 270
means LEFT. You can select any direction by changing this degree.


SVN revision: 70681
2012-05-03 03:02:54 +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
ChunEon Park 0018a167ff elementary/font - function code refactoring
SVN revision: 70678
2012-05-03 00:34:26 +00:00
Gustavo Lima Chaves e275948e76 [elm] Fix booboos for people not having eio, ewebkit or
emotion.



SVN revision: 70677
2012-05-02 21:14:28 +00:00
Gustavo Lima Chaves b9b70f8d3a [Elm] Not very fancy solution, but... now hover won't
ruin elementary_config
when used by elm_menu.



SVN revision: 70673
2012-05-02 19:25:56 +00:00
Gustavo Lima Chaves 7f2ba3a399 [Elm] Set this call free again.
SVN revision: 70671
2012-05-02 17:07:36 +00:00
Gustavo Lima Chaves 788f3a3712 [Elm] Notify now a container.
SVN revision: 70670
2012-05-02 17:02:18 +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
Gustavo Lima Chaves 23d5e2c1e1 [Elm] Box ported to new class schema.
SVN revision: 70668
2012-05-02 17:02:04 +00:00
Gustavo Lima Chaves 3317d1ee2f [Elm] Conformant now a layout.
SVN revision: 70667
2012-05-02 17:01:59 +00:00
Gustavo Lima Chaves 93acd82838 [Elm] Colorselector now a layout.
There are issues with its theme, though. Later on I'll get back to it.



SVN revision: 70666
2012-05-02 17:01:53 +00:00
Gustavo Lima Chaves 57b848157f [Elm] File selector now a layout.
SVN revision: 70665
2012-05-02 17:01:48 +00:00
Gustavo Lima Chaves 0335e1a03a [Elm] Video and player now layouts, too.
SVN revision: 70664
2012-05-02 17:01:43 +00:00
Gustavo Lima Chaves 5aeb06aee7 [Elm] Elm web now a (new) elm_widget.
Later on we can think of exposing its internals more WRT inheritance.



SVN revision: 70663
2012-05-02 17:01:37 +00:00
Gustavo Lima Chaves 6008d86c93 [Elm] Index now a layout.
SVN revision: 70662
2012-05-02 17:01:30 +00:00
Gustavo Lima Chaves 0345d5d49d [Elm] Flip selector now a layout.
SVN revision: 70661
2012-05-02 17:01:25 +00:00
Gustavo Lima Chaves cb6fd57536 [Elm] File selector button now a button.
SVN revision: 70660
2012-05-02 17:01:20 +00:00
Gustavo Lima Chaves ff5a4dc5b2 [Elm] Dayselector has nothing to do with
composing widgets.



SVN revision: 70659
2012-05-02 17:01:14 +00:00
Gustavo Lima Chaves b0ca3a9a9d [Elm] Dayselector now a layout.
SVN revision: 70658
2012-05-02 17:01:09 +00:00
Gustavo Lima Chaves 11d75151c2 [Elm] Datetime now a layout
SVN revision: 70657
2012-05-02 17:01:03 +00:00
Gustavo Lima Chaves a134d2eadd [Elm] Elm glview now an (new) elm_widget.
SVN revision: 70656
2012-05-02 17:00:56 +00:00
Gustavo Lima Chaves 7f1d870368 [Elm] Progress bar now a layout.
Theme changes will be ported back to other elm themes.



SVN revision: 70655
2012-05-02 17:00:48 +00:00
Gustavo Lima Chaves cefab26b01 [Elm] Radio now a layout.
Theme changes will be ported back to other elm themes ASAP.



SVN revision: 70654
2012-05-02 17:00:42 +00:00
Gustavo Lima Chaves db9354d036 [Elm] Segment control now a layout, too.
SVN revision: 70653
2012-05-02 17:00:24 +00:00
Gustavo Lima Chaves 418035120e [Elm] Elm separator now a layout.
SVN revision: 70652
2012-05-02 17:00:00 +00:00
Gustavo Lima Chaves ee4351a32e [Elm] Elm grid now ported to new class hierarchy.
SVN revision: 70651
2012-05-02 16:59:55 +00:00
Gustavo Lima Chaves c34bcbc29f [Elm] Elm table migrated to new class hierarchy.
SVN revision: 70650
2012-05-02 16:59:50 +00:00
Gustavo Lima Chaves a2870932ac [Elm] Panes now a layout, too.
SVN revision: 70649
2012-05-02 16:59:45 +00:00
Gustavo Lima Chaves 3298ff9c7a [Elm] Hoversel is now a button.
SVN revision: 70648
2012-05-02 16:59:40 +00:00
Gustavo Lima Chaves 7b3265fd15 [Elm] Elm slider now a layout.
SVN revision: 70647
2012-05-02 16:59:35 +00:00
Gustavo Lima Chaves 1ccd611d74 [Elm] Elm hover now a layout.
SVN revision: 70646
2012-05-02 16:59:30 +00:00
Gustavo Lima Chaves 82cb60cc67 [Elm] Elm slideshow now a layout.
SVN revision: 70645
2012-05-02 16:59:25 +00:00
Gustavo Lima Chaves aa327f9850 [Elm] Elm label now a layout, too.
SVN revision: 70644
2012-05-02 16:59:20 +00:00
Gustavo Lima Chaves 7510d436ce [Elm] Elm actionslider now a layout, too.
SVN revision: 70643
2012-05-02 16:59:12 +00:00
Gustavo Lima Chaves 2308a021de [Elm] Elm bubble is also an elm layout, now.
SVN revision: 70642
2012-05-02 16:59:07 +00:00
Gustavo Lima Chaves 60cc8e20a1 [Elm] Removing cruft (unnecessary) code on elm
win.
With things done right, one does not need this child deletion
by force.



SVN revision: 70641
2012-05-02 16:59:01 +00:00
Gustavo Lima Chaves 5869e3bd8d [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: 70640
2012-05-02 16:58:56 +00:00
Gustavo Lima Chaves 506e8765d6 [Elm] Clock now an elm layout, too.
SVN revision: 70639
2012-05-02 16:58:51 +00:00
Gustavo Lima Chaves 39f2ef8783 [Elm] Elm check now a layout.
It's theme uses now "elm.swallow.icon" as its icon spot -> will
fix it on other themes ASAP.



SVN revision: 70638
2012-05-02 16:58:46 +00:00
Gustavo Lima Chaves 082bc108a3 [Elm] Elm calendar also a layout, now.
SVN revision: 70637
2012-05-02 16:58:41 +00:00
Gustavo Lima Chaves 77831157d1 [Elm] One more widget on elm layout: frame.
SVN revision: 70636
2012-05-02 16:58:36 +00:00
Gustavo Lima Chaves ca072667db [Elm] Helper on resize_object_add()
SVN revision: 70635
2012-05-02 16:58:31 +00:00