Commit Graph

333 Commits

Author SHA1 Message Date
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
Carsten Haitzler 329ab2ac38 thanks capn' igloo - trying to repro your enna cpu usage case, but
can't. its a matter of simply some element re-rendering that is hidden
- rendering into a mapped buffer. i disable the animation in the
layout (layout2) and no cpu usage. that's my bet.



SVN revision: 56204
2011-01-17 10:47:12 +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
Carsten Haitzler 992df3a3ec make elm config system settings!
SVN revision: 55928
2011-01-06 08:52:32 +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
Iván Briano 3042def9bd I don't really know much about these things, but some people believes that passing distcheck is a Good Thing®
SVN revision: 55598
2010-12-16 18:14:31 +00:00
Otávio Pontes 2cbd30b4a7 Adding missing image.
SVN revision: 55423
2010-12-09 17:13:57 +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
Massimo Maiurana f00a60db88 updating various translations
SVN revision: 55125
2010-12-01 23:34:15 +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
Bruno Dilly 0abe9b3eea Fix scroller bar on default-desktop theme
SVN revision: 55095
2010-11-30 18:50:27 +00:00
Rafael Fonseca 4cc5a5370a The scroller bg was meant to be transparent on standard profile.
This commit fix the first issue with launcher in elm_test, when was appearing a
white rect all over it and the icons names seemed to be missing. It also fix
a related issue reported by the editje guys.



SVN revision: 54979
2010-11-25 12:36:27 +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
Gustavo Lima Chaves 3714c8d1af List/scroller-thingies disabler rect for desktop theme too.
SVN revision: 54855
2010-11-23 07:17:35 +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 f8d24df92f Add suitable scrollbars to desktops.
In this theme scrollbars do not disappear after a timeout, they are dragable,
there are up and down arrows to scroll and the line you see is also clickable
(much like e17 scrollbars). Ah, they also respect finger size hints.

Ok, some of you will want to kill me, others will probably try but I think that
at this moment is much easier to have a separate theme to desktop systems until
we define exactly what are all the theme differences between them.



SVN revision: 54701
2010-11-18 19:13:54 +00:00
Rafael Fonseca f3ae26ee34 Baah, I always forget about EXTRA_DIST stuff.
SVN revision: 54698
2010-11-18 18:25:11 +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