Commit Graph

352 Commits

Author SHA1 Message Date
Tom Hacohen b51ae15d2e Elementary entry: Added mixedwrap theme groups and use them.
SVN revision: 59116
2011-05-02 11:08:35 +00:00
Daniel Juyung Seo e574605be4 Elementary default.edc: Removed unnecessary blank lines and trailing whitespaces.
SVN revision: 58962
2011-04-27 14:54:31 +00:00
ChunEon Park d4b5ea4f8d elementary / default theme - fixed identation and removed white spaces for ctxpopup
SVN revision: 58957
2011-04-27 11:44:20 +00:00
Cedric BAIL ac341c9687 elementary: elm_genlist now use edje signal for even/odd state.
NOTE: if you want to implement even/odd in your theme you know
need to listen to both signal :
	- elm,state,odd from elm
	- elm,state,even from elm
If you set data of "stacking_even" to "above" of you item group
it will raise the even object above the odd one (that's the default
behaviour).
You could also explicitly active/deactivate the stacking by setting
data of "stacking" to "no". Default is "yes".



SVN revision: 58822
2011-04-22 09:56:22 +00:00
Daniel Juyung Seo ed6949c732 Elementary default.edc/genlist: Enhance rotate mode animation.
SVN revision: 58808
2011-04-21 16:38:26 +00:00
Daniel Juyung Seo 5229aed40b Elementary genlist: Added genlist mode feature.
I introduce a new concept to genlist.
I named it "genlist mode" after I discussed it with raster.
Using this feature, one can activate/deactivate any mode(effect) to an item.
The mode is defined in genlist item edc.

You can watch a sample video on youtube.
http://www.youtube.com/watch?v=ZPbwpzwwiS8
I created two sample mode: Slide and Rotate.

[Feature Description]
 - One can activate a specific mode to an item.
 - One item is activated at one time while others are deactivated.
 - Genlist handles deactivating other items when one item is activated.
 - There are two different view: before activated, after activated.
 - Genlist creates the second view when the first view is activated. Usually the first view is animated.
 - Genlist destroys the second view when the item finishes deactivating.
 - Creating/Destroying the second view on the fly gives performance enhancement because there is no reason to hold all objects in two views all the time.
 - Mode is defined in genlist edc so one can easily add it more.
 - Mode edc style is separated from normal genlist styles. One can combine any genlist style with mode edc style.

[API]
 - EAPI void elm_genlist_item_mode_set(Elm_Genlist_Item *it, const char *mode_type, Eina_Bool mode_set) EINA_ARG_NONNULL(1, 2);
   Activate/Deactivate a mode to an item.
 - EAPI const char *elm_genlist_mode_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated mode name.
 - EAPI const Elm_Genlist_Item *elm_genlist_mode_item_get(const Evas_Object *obj) EINA_ARG_NONNULL(1);
   Get activated item.
      
[Structure]
 - Elm_Genlist_Item 
   Added const char *mode_item_style;
	     
[Usage]
 - Set mode style name to genlist item class.
   itc.mode_item_style = "mode";
 - Activated mode to an item whenever you want.
   elm_genlist_item_mode_set(it, "slide", EINA_TRUE);


SVN revision: 58791
2011-04-21 11:47:36 +00:00
Daniel Juyung Seo 4204583f81 Elementary segment_control: Introduced new widget by Govindaraju and Prince.
Segment Control Widget is a horizontal control made of multiple segment items
together, each segment item is set to equal size, functioning similar to
discrete two state button. Only one segment item can be at selected state.


SVN revision: 58461
2011-04-07 16:44:54 +00:00
cnook 4959de1e63 From: cnook <kimcinoo@gmail.com>
Subject: Re: [E-devel] [Patch] Display more than 3 items

This is Shinwoo Kim, learned that I could contribute to EFL! :)
I'm pleased to inform you that the patch for the "elm_diskselector".

Until now, the "elm_diskselector" only display 3 items at once,
if you accept this patch, the "elm_diskselector" can display more than 3
items.

For this feature, "elm_diskselector_display_item_num_set(Evas_Object *obj,
int num)" is added.
I would like to know more about your opinion about this feature. Thanks.



SVN revision: 58405
2011-04-07 04:54:55 +00:00
Carsten Haitzler 413e9c4d7d and use the new valign mojo for tb.. yay!
SVN revision: 58210
2011-03-30 12:24:37 +00:00
Carsten Haitzler 219eb32845 wow! how did i miss that? ;++
SVN revision: 58174
2011-03-29 09:31:01 +00:00
Seunggyun Kim 589a33d94a From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel] [Patch] elm_genlist - group index homogeneous mode
support

Current, genlist using group index can't use homogeneous mode.
So this is patch for support homogeneous mode when the genlist uses
group index.



SVN revision: 58173
2011-03-29 09:28:09 +00:00
ChunEon Park 646cfe83d8 elementary/default.edc - fixed typo (ctxpopup)
SVN revision: 58030
2011-03-23 10:57:51 +00:00
ChunEon Park 03a276fbe0 elementary/default.edc - modified ctxpopup arrow position to be more closed to box
SVN revision: 58029
2011-03-23 10:53:09 +00:00
Carsten Haitzler 7365b3ea66 oops - missed theme part of menu patch
SVN revision: 58027
2011-03-23 10:44:55 +00:00
Carsten Haitzler 314e69c07d format fix.
SVN revision: 57570
2011-03-08 11:21:37 +00:00
Daniel Juyung Seo ab552f828f Elementary index edc: Test rectangle is now invisible.
SVN revision: 57530
2011-03-05 15:21:16 +00:00
Daniel Juyung Seo 636634be82 Elementary index edc: Commented test rectangle color.
SVN revision: 57528
2011-03-05 11:38:40 +00:00
ChunEon Park ada57c8bb6 elementary/themes revert applying border_scale.
SVN revision: 57519
2011-03-04 21:41:15 +00:00
ChunEon Park dd969d06af elementary/theme - applied border_scale for actionslider, bubble, button
SVN revision: 57515
2011-03-04 00:11:45 +00:00
Tom Hacohen 7e1a345191 Elementary slider: Fix theme to support disabled state.
SVN revision: 57410
2011-02-28 12:55:33 +00:00
Tom Hacohen 0c6bfa913b Elementary bubble-theme: Fixed UI-Mirroring.
UI-mirroring didn't change the arrow of the bubble, fixed that.

SVN revision: 57245
2011-02-22 16:33:43 +00:00
Sohyun Kim 669bb5ba57 Elementary theme-bubble: revert 55839 that introduced bugs with no-icon.
The commit caused bugs when there was no icon, exactly what it claimed
to have fixed. I took a look at the commit and it looked a bit messy,
too messy for me to try to fix. A rewrite makes more sense.

Previous commit message:
From: Sohyun Kim <anna1014.kim@samsung.com>
Subject: [E-devel] [Patch] elm_bubble theme patch

I'm Sohyun Kim. Nice to meet you.

This is a patch for bubble theme.

The bubble has a region for icon, label and info text.
However, it has the region, if icon, label and info text are not set.
I modified theme and added edje signals.

1. add edje signal for label and info text state
2. remove text size for label and info text default state
   -> set it on "visible" state
3. add base image state for info text only

SVN revision: 57244
2011-02-22 16:33:38 +00:00
Mike Blumenkrantz 4948a5b315 fix trailing whitespaces
SVN revision: 57116
2011-02-17 09:07:54 +00:00
Mike Blumenkrantz e1310408c5 tabs: not on my watch.
SVN revision: 57115
2011-02-17 09:04:53 +00:00
Jonathan Atton b48554ce0b elm map bubble: use specific theme for the scroller
SVN revision: 56864
2011-02-09 18:04:12 +00:00
Tom Hacohen a1a80fe82d Elementary theme: Adjusted the elementary theme for better UI-mirroring
support.

SVN revision: 56804
2011-02-08 12:08:35 +00:00
Tom Hacohen 99da5b6541 Elementary: Added ui-mirroring support for all the widgets.
SVN revision: 56803
2011-02-08 12:08:28 +00:00
Jonathan Atton 88bb64839a elm_panes theme : add reapeat events on arrows
SVN revision: 56716
2011-02-04 21:45:58 +00:00
Tom Hacohen 1ebde68407 Elementary ctxpopup: Modified the disabled item style. Patch by ChunEon Park (Hermet).
SVN revision: 56668
2011-02-03 08:23:14 +00:00
Tom Hacohen 31bad588cc Elementary theme: Made list and genlist's text auto-align according to language's direction.
SVN revision: 56551
2011-01-30 12:29:30 +00:00
Carsten Haitzler a478e32d82 fix label theme.
SVN revision: 56285
2011-01-24 11:30:20 +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
Seunggyun Kim 73b7fe6228 From: Seunggyun Kim <sgyun.kim@samsung.com>
Subject: [E-devel]  [Patch] Group index support

I added group index feature.
This feature support to show item indicates group index.
I attached capture images showing group index.
As you can see attached png images, Group index item includes same group
items.

The group index is shown until every items that have same group index
are scrolled. so group index realize/unrealize is not excuteded in
_item_block_position function.
instead of the function, group index is controlled in _pan_calculate
function.

"Genlist Group" and "Genlist Group Tree" menu is added in
elementary_test. you can test group index operations in elementary_test.

This patch is not support elm_genlist_item_insert_before/after
operation of group index. We are now considering the operations in group index.,

This patch assumes that the previous 2 patches are already applied to upstream.
'[E-devel] [Patch] Tree support for elm_genlist_item_prepend() API.'
'[E-devel] [Patch] Tree support for
elm_genlist_item_insert_before/after() APIs',
So this patch does not include the changes of the previous patch.

I separated this patch.

- 004.elm_genlist.c.patch.txt
    Patch for src/lib/elm_genlist.c
- 005.test_genlist.c.patch.txt
    Patch for src/bin/test_genlist.c 
- 006.genlist.patch.txt
    Patch for data/theme/default.edc
            
And you have to add attached group_index.png file into 'data/themes'
'group_index.png' file is group index background image. 


Daniel Juyung Seo help make test code and refactoring group index code.



SVN revision: 55925
2011-01-06 05:13:11 +00:00
Daniel Juyung Seo bbc823a1eb From: Daniel Juyung Seo <juyung.seo@samsung.com>
Subject: [E-devel]  [Patch] elm_actionslider feature patch for
elementary.

This patch is for elementary elm_actionslider.
Mr. Sumanth created this patch. I reviewed it and fixed some.

This patch includes below features.
- Indicator label Set/Get APIs.
- _del_hook fix for wd->drag_button_base.
- Added magnet disable feature. _drag_button_up_cb fix for no magnet
handling. If magnet position is set to ELM_ACTIONSLIDER_NONE, it disables
magnetic. Added a test case to elementary_test.



SVN revision: 55872
2011-01-05 07:49:11 +00:00
Sohyun Kim f99cf1fa94 From: Sohyun Kim <anna1014.kim@samsung.com>
Subject: [E-devel] [Patch] elm_bubble theme patch

I'm Sohyun Kim. Nice to meet you.

This is a patch for bubble theme.

The bubble has a region for icon, label and info text. 
However, it has the region, if icon, label and info text are not set.
I modified theme and added edje signals.

1. add edje signal for label and info text state
2. remove text size for label and info text default state
   -> set it on "visible" state
3. add base image state for info text only
   


SVN revision: 55839
2011-01-04 08:42:55 +00:00
Carsten Haitzler 2696d9a740 Rajeev Ranjan(in India) made a patch for elm_button.
Reasons for this patch are as follows. 

1. Clicked signal is emitted from button when mouse release region
coincides
with button region and there has not been any drag outside the region
during
pressed state. (theme change)

2. Unpressed signal is emitted from button every time we press on
button and
unpress it irrespective of whether we unpress in button's region or
outside.
(theme change)

3. The unsetting of maximum size hint has been removed from _sizing_eval
function as there is a possibility that some application may set this
hint
and if we unset it then this information set by application will be
lost.

4. Modification in test code for button to show the difference between
clicked and unpressed signal emission from this widget. Added a
scroller in
the heirarchy to show the effect of hold on clicked signal emission.



SVN revision: 55687
2010-12-21 09:32:50 +00:00
Hyoyoung Chang 95032260a7 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

 2. adding label text sliding feature
 


SVN revision: 55654
2010-12-20 08:55:06 +00:00
Hyoyoung Chang 0c61ced335 From: Hyoyoung Chang <hyoyoung.chang@samsung.com>
Subject: Re: [E-devel] elm_label patch(ellipsis, sliding)

Dear Elementary developers.

It's a elm_label patch.
My previous patch is too big to submit.
So I did split into patch files.
(Thanks for Gastavo and Rasterman)

main changes are
 1. refine ellipsis algorithm
    - improve to cut string to fit 



SVN revision: 55653
2010-12-20 07:18:23 +00:00
Otávio Pontes d932ef3ce1 Slider gets gray instead of reducing alpha when it is disabled.
SVN revision: 55421
2010-12-09 15:59:24 +00:00
Otávio Pontes 7bb748c809 Fixing problems in disabled slider
SVN revision: 55420
2010-12-09 15:59:20 +00:00
Otávio Pontes 3ade5c2252 Creating content-back and content-back-next application layoyts.
Also adds programs to hide and show back button and title bar in
toolbar-content-back layout.

SVN revision: 55416
2010-12-09 15:29:14 +00:00
Carsten Haitzler 2e4e9179e5 gah! entrye scroller has content on top of frame+shadow!
SVN revision: 55394
2010-12-09 08:53:40 +00:00
Gustavo Lima Chaves 7470055265 I'd better watch out more for my leftovers :/
SVN revision: 55366
2010-12-07 19:18:36 +00:00
Otávio Pontes a773649445 Respecting finger size in Color Selector
SVN revision: 55358
2010-12-07 15:55:25 +00:00
Otávio Pontes 653111d21b Respect finger size in spinner
SVN revision: 55356
2010-12-07 15:55:20 +00:00
Otávio Pontes 24a04cc775 Using finger size to calc actionslider size.
SVN revision: 55354
2010-12-07 15:55:14 +00:00
Jihoon Kim 44cf2f3382 From: Jihoon Kim <jihoon48.kim@samsung.com>
Subject: [E-devel] [PATCH] elm_slider patch for disable state

elm_slider does not support disable state, so I make this patch.

Please review it and upload in svn if it is ok.

(nb - also fixed vertical slider sizing in defaul theme and changed
jihoons changes to slider test to make the vertical sliders in a
horizontal box so they dont get silly long windows)



SVN revision: 55340
2010-12-07 05:15:05 +00:00
Carsten Haitzler f8b8439868 magnet->action (slider)
SVN revision: 55116
2010-12-01 09:54:20 +00:00
Carsten Haitzler ea1672a331 hoverlist -> ctxpopup - as its not just a list really. it is a popup
of arbitrary content. list is one of them.



SVN revision: 55112
2010-12-01 06:52:46 +00:00
Gustavo Lima Chaves 179bcf71b2 More text classes support on Elm: list/genlist/gengrid/toolbar items.
NB: we got textblock parts as some of our text elements, everyone
knows.  They support text_class fallbacking, but what would be an
elegant solution to achive reasonable mapping for styling tags (bold,
highlight, etc)? e17 has some "blah_hilight" text classes, which imho
are ugly...



SVN revision: 54915
2010-11-24 01:47:59 +00:00
Otávio Pontes 8b10c373a6 Adding style for disabled slider
SVN revision: 54873
2010-11-23 12:56:57 +00:00
Otávio Pontes 38a07ceaf7 Adding genlist theme from enjoy in default theme
SVN revision: 54872
2010-11-23 12:56:54 +00:00
Otávio Pontes 143febda82 Adding new layout for title with back and next button.
Content-back now has just the back button.

SVN revision: 54871
2010-11-23 12:56:51 +00:00
Tiago Rezende Campos Falcao d666346484 Elm Fileselector with theme support
SVN revision: 54812
2010-11-22 19:24:48 +00:00
Carsten Haitzler b24883b7ba use right style name too.
SVN revision: 54743
2010-11-20 11:31:31 +00:00
Carsten Haitzler 876c72c1ae and do a proper odd style for items.
SVN revision: 54742
2010-11-20 11:24:12 +00:00
Carsten Haitzler 01e71a2649 well... many things - genlist, when it is processign quue, or u
add.del items will try and stick to viewing an acnhor item. it also
handles wrapping text properly now if style has such a thing - a test
style with that is there too (message style) for now - found isasue in
edje with textblock styles - doesnt change on state change. but anyway
- re-wrapping text works.. and it progressively processes the genlist
blocks to re-calc sizes etc. etc. so you dont block and so-on. i5ts
not too shabby. as for that - store has a generic struct type reader
now and is being tested... and get rid of unused var.



SVN revision: 54738
2010-11-20 08:43:43 +00:00
Gustavo Lima Chaves 85cc0b3b01 Some more text classes now supported. We clearly need more later,
maybe wrapping unbounded ones into a "general" TC.
TC swithing exposes various widgets bugs WRT layouting of children
objects, we gotta fix them.



SVN revision: 54715
2010-11-19 09:37:33 +00:00
Davide Andreoli 9d6fcdc04d layout/application/titlebar canned layout:
Fix up the syle, use a better (more toolbar-ish) image, align the title in center, add a white bg, remove some useless offset and, last but not least, add an elm.swallow.content part...or your app cant go much further ;)

SVN revision: 54705
2010-11-19 00:50:10 +00:00
Rafael Fonseca 2019d2c9f1 Merge Ephoto's gengrid items themes into elm default theme.
Some of the gengrid items themes defined in Ephoto can be reused by others
later so it would be better to have those in the default theme.



SVN revision: 54694
2010-11-18 18:03:15 +00:00
Rafael Fonseca fcb6781b6e Make scrollbar more suitable for mobile devices.
Like android and iphone, the scrollbar was made smaller to not incentivate users
to try to drag it since it is not dragable (yet).

And do not worry desktops, you will have a suitable scrollbar soon.



SVN revision: 54693
2010-11-18 17:38:53 +00:00
Gustavo Lima Chaves f9172244ac Elementary welcomes text classes support.
I'm now populating the default theme with text classes, just commit
with one for now. There can be tweakings at Elm config app's UI fonts
page, I know, but that will come later (editable preview field, font
hinting/fallback, blablabla).

WARNING: for users testing elm config, an old "rm -rf
~/.elementary/config" might be needed here, after this commit.



SVN revision: 54681
2010-11-18 10:01:24 +00:00
Bruno Dilly 43b579e6a9 Move cursors from default theme to test file
They're used only on test cursor3, shouldn't be on
default.edc


SVN revision: 54631
2010-11-17 16:16:46 +00:00
Leandro Pereira 887a29c723 Improvements in elm/layout/application/toolbar-content-back
Author:    Otavio Pontes <otavio@profusion.mobi>

SVN revision: 54608
2010-11-16 19:49:32 +00:00
Tiago Rezende Campos Falcao 3e95426ab7 Flip effect to Pager
Did we still need the flip?

SVN revision: 54497
2010-11-12 12:28:56 +00:00
Bruno Dilly bad1264722 Emit clicked on elm_bubble
Closes ticket #441


SVN revision: 54467
2010-11-11 18:04:45 +00:00
Bruno Dilly 0ddded2f0e Rename elm_flippicker to elm_flipselector
"Do you come from the land down under?
Where women glow and men plunder?
Can't you hear, can't you hear the thunder?
You better run, you better take cover."
  - Men at Work

commit msg suggested by glima  =D
%hua


SVN revision: 54407
2010-11-10 13:43:34 +00:00
Bruno Dilly 741d4b8878 Rename elm_diskpicker to elm_diskselector
Men at work. Sorry for the inconvenience.


SVN revision: 54406
2010-11-10 13:28:32 +00:00
Bruno Dilly 98ad22406b Rename elm_colorpicker to elm_colorselector
Suggested by k-s as part of our
"Beautiful, Consistent ELM API" effort.

colorpicker, diskpicker and flippicker should follow
fileselector name.


SVN revision: 54405
2010-11-10 13:14:50 +00:00
Tiago Rezende Campos Falcao ece784efa9 Fix widgets in small finger size.
Fixed widgets:
* Button
* Diskpicker
* Radio
* Check
* Toggle

SVN revision: 54369
2010-11-09 18:17:24 +00:00
Bruno Dilly 90d1ad6b4c Emit different signals when changing states forward or backward.
This is used to perform diferent animations when going forward or
backward.

By:  Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54190
2010-11-05 18:23:59 +00:00
Iván Briano de2faef648 We need the aspect, or sometimes icons go away
SVN revision: 54147
2010-11-04 12:24:07 +00:00
Bruno Dilly cd5a2e3501 Removing unecessary commented code
By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54008
2010-10-29 18:56:19 +00:00
Bruno Dilly f94f6fb3ee Send signal informing changes in icon state.
Inform that the item was disabled, highlighted or selected.
If a toolbar icon is an edje it can receive this signal and change the
icon image to a disabled image.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54006
2010-10-29 18:42:01 +00:00
Bruno Dilly 1d23d0ae54 Perform an animation when changing label/icon from a toolbar item.
When functions to change icon or labels are called a signal is sent to
edje that can perform an animation.

By: Otavio Pontes <otavio@profusion.mobi>



SVN revision: 54005
2010-10-29 18:40:59 +00:00
Iván Briano babe15679b Little titlebar pre-made layout goes in.
This comes from a contributed widget from Samsung that was basically reproducing the code of elm_layout, so instead it was turned into a simple pre-made layout (could get more love, but once again I'm no artist).
In order to make its use simpler, previous commits introduced the signal hooks for elm_layout, text_set and some macros to make it easier to set icon/end and text for layouts like this one.

Also uglified a bit the test for Layout in order to show it working, but I intend to get it fixed again soon. Unless discomfitor wants to practice his Edje skills with it... just saying.


SVN revision: 53971
2010-10-28 17:23:53 +00:00
Christopher Michael 12abaef7eb Bottom shadow image (for background) is actually 8 pixels high, not 3,
so set the bottom shadow part to take that into account. Now bottom
shadow on background actually shows up ;)



SVN revision: 53870
2010-10-25 13:28:05 +00:00
Gustavo Lima Chaves a8ac37368d New widget: Hoverlist.
This is one more widget whose idea came from Samsung Electronics.  Its
first name was "context popup". There was no common agreement on a
name for it, so... Trator mode, for now (using hoversel as a pattern).
If you have a better name suggestion for it, just change it -- but
soon, due to releasing plans (in a mailbox near in a jiffy).

While for hoversels you populate slots with thingies to later choose
one of them, which will hover up for you, with hoverlists you get a
single hovering list. It will smartly place this -- unique -- list
onto a fitting place inside its parent widget view. Just call
evas_object_show() on it, anytime you want (like for notifies).



SVN revision: 53644
2010-10-19 20:21:53 +00:00
Gustavo Lima Chaves 770b0df365 New hover direction: "smart".
This injects some inteligence into hovers which can then be shared
between other composed hover widgets. Also introducing four new
swallow slots one can place content at: the diagonal corners. Just
gotta fill all the styles with those, but no time right now.



SVN revision: 53642
2010-10-19 20:20:28 +00:00
Gustavo Lima Chaves 7d4f42fe00 New list layout: horizontal.
Now one can set lists to dispose its items horizontally, too.
elm_list_horizontal_mode_set(), whose name was bogus and would
conflict with the new methods, got renamed to elm_mode_set(), along
with the getters.

This is coming along to help a widget using lists which has a
horizontal mode. The default theme for horizontal items is kinda ugly
for default lists, but one can always improve it :) (in a hurry
now).

Also, I'm introducing a new mode for Elementary lists: expand.



SVN revision: 53640
2010-10-19 20:19:12 +00:00
Davide Andreoli 0fea7241c8 2 whitespace
SVN revision: 53554
2010-10-18 01:17:19 +00:00
Davide Andreoli 103aff0a96 tab--
SVN revision: 53553
2010-10-18 01:15:34 +00:00
Davide Andreoli a186c3a5ce Fix gengrid edc indentation: name on the same line & tab--
SVN revision: 53548
2010-10-17 20:29:37 +00:00
Bruno Dilly 4c76631b4b Elementary Magnetslider, a new switcher with "magnet" property
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53503
2010-10-17 01:44:57 +00:00
Leandro Pereira 5c10641510 [Elementary] Use themeable icons in Elm_Toolbar.
This allows having themeable icons for toolbar items -- inclusing lower
resolution ones for the More menu button. Changes to Elm_Menu_Item in the
same spirit will follow.

SVN revision: 53407
2010-10-14 15:27:31 +00:00
Gustavo Sverzut Barbieri cb2ebb9303 add elm_fileselector_entry
works, but focus chain is not giving focus to button.



SVN revision: 53384
2010-10-14 01:18:14 +00:00
Gustavo Sverzut Barbieri c50a1a4063 default layout improvements and fixes.
toolbar-content-back got and elm.swallow.end, on the opposite side of
"back".

removed "fixed: 1 1" errors.

checked with elementary_config changing finger size and scale, works nice!




SVN revision: 53383
2010-10-13 23:36:59 +00:00
Gustavo Sverzut Barbieri 8f1ac9f202 couple of standard layout for apps to use.
These are the layouts I've seen in use, they're in B&W/Elm-default
mood, but in efenniht they should look like eve/enjoy.



SVN revision: 53318
2010-10-12 22:28:47 +00:00
Christopher Michael 3f1a015fb5 Don't use values that need computing for relative & offset as this
would cause the computation to be needed every time the widget
(colorpicker) gets moved/resized....just do the math and set the values.



SVN revision: 53315
2010-10-12 21:21:38 +00:00
Bruno Dilly 34fd688815 Elementary Colorpicker, widget designed to select a color.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53313
2010-10-12 20:38:00 +00:00
Christopher Michael 6a3bfc1a6a Add 2 new options for bg image: Center & Stretch.
Add a new Test for BG Options.
Add a new 'bg_overlay' in objects/test.edc for testing bg overlay stuff.

NB: There is an issue here that I cannot seem to get straight (perhaps
pebkac, not sure)...but basically it seems that showing/hiding the
overlay causes the other swallows of the edc to get recalc'd and makes
the 'image' not work well w/ Center.



SVN revision: 53307
2010-10-12 14:38:46 +00:00
Gustavo Sverzut Barbieri 1f12d25055 thumbnail style without frame.
SVN revision: 53221
2010-10-08 23:18:03 +00:00
Bruno Dilly eeeb5214a1 Add yet another kind of list widget to elm - diskpicker
This is one more widget whose idea come from Samsung set of
contributions to Elementary.



SVN revision: 53150
2010-10-07 18:44:43 +00:00
Gustavo Sverzut Barbieri 4091d2cbd3 event catcher should be the lowest object!
this damn bitch made me waste hours hunting a supposedly bug in Evas
event dispatch system just to realize the bug was in the theme... and
list in the LIST + COMPRESSED! :-( Everything else was correct.

The idea of "end" is that we may want to have some action item as
well, such as a button (see modification in test_list.c). In this case
we want the button to receive the event before the list item (or even
block the event going to the list item). Use case: add a "delete"
button to the item, click delete and you want to avoid it being
selected (think of a bookmark where you want to delete a folder, but
select the item would enter that folder that you want to delete).




SVN revision: 53121
2010-10-06 22:45:46 +00:00
Gustavo Lima Chaves a3ba92f0dc Elementary Flippicker, a fresh new widget.
This is one more widget whose idea come from Samsung set of
contributions to Elementary.

There is a known bug involving embryo + string functions, which will,
if in "stress", appear at the labels of the widget. Not time to attack
it right now, though.



SVN revision: 53109
2010-10-06 18:40:04 +00:00
Iván Briano 92c9171d37 More sane handling of current/previous stuff on highlight
And more ridicoulesness to the theme, to force someone to do something decent


SVN revision: 53028
2010-10-04 12:48:15 +00:00
Iván Briano 2e92cbfc96 Killed the bottom object. It will come back once the stacking issues are resolved or decided how to handle.
But that's minor and non-important, the real deal here is animating the focus highlight object, entirely in the theme.


SVN revision: 52853
2010-09-28 16:54:11 +00:00
Gustavo Lima Chaves e930af1ad9 New API functions for elm slider.
EAPI void elm_slider_end_set(Evas_Object *obj, Evas_Object *end);

will set a *right* aligned sub-object relative to the slider.

EAPI const Evas_Object *elm_slider_end_get(const Evas_Object *obj);

Getter for that object.

EAPI Evas_Object *elm_slider_end_unset(Evas_Object *obj);

Unparent a previously set end object.

EAPI Evas_Object *elm_slider_icon_unset(Evas_Object *obj);

The same for the icon sub-object.

EAPI void elm_slider_indicator_show_set(Evas_Object *obj, Eina_Bool show);
EAPI Eina_Bool elm_slider_indicator_show_get(const Evas_Object *obj);

Set/get whether the slider should display the augmented knob (indicator) at
mouse drag at all.



SVN revision: 52852
2010-09-28 15:09:19 +00:00
Bruno Dilly e6398bdb8a Fixing elm index default theme parts
Make edje stop complaining every time I run elementary_test


SVN revision: 52822
2010-09-27 22:19:18 +00:00
Tiago Rezende Campos Falcao 59e7d34f2c slider, slideshow and spinner with keyboard arrows
Author:    Helen Fornazier <helen.fornazier@profusion.mobi>

elm_slider now respond to the keyborad arrows depends on its position.
If it is in a horizontal mode, than its value will change by pressing
left and right, other wise it will respond by pressing up and down

elm_slideshow: go to next and previous with keyboard arrows

elm_spinner: respond to left and right keys in an animated way

SVN revision: 52816
2010-09-27 21:13:41 +00:00