Commit Graph

1068 Commits

Author SHA1 Message Date
Umesh Tanwar eadac79a1e Theme: Scroller.edc-Improvement in left/right/top/bottom arrow behavior.
Summary:
When the scroller size changes by dragging the
corners, the calculations will miss the condition "x+w == x1 + w1".
This is because of format specific computer calculations. So,
improvisation is made in comparisons.

@ fix

Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Test Plan:
elementary_test -> scroller -> scroll to the extreme right (right arrow brightness changes).
Now, drag the lower right corner to increase the width of scroller. Drag the corner slowly to see the issue clearly.
The arrow brightness changes alternatively, instead the hbar is positioned to the extreme right.

Reviewers: Hermet, cedric, raster

Subscribers: singh.amitesh, eagleeye, SanghyeonLee, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2796
2015-08-07 16:51:42 +09:00
Jee-Yong Um a249d77d1d elm_hoversel: add elm_hoversel_scroll_enabled_set/get() API
Summary:
Currently, hoversel shows all items at the same time, but to limit
the size of contents and make it scrollable is neccesary to some users.
elm_hoversel_scroll_enabled_set/get() API makes the contents of hoversel
scrollable or not.

Test Plan:
The newly added scroll function is enabled for the second hoversel
in "hoversel" sample of elementary_test.

Reviewers: Hermet, raster, herdsman, cedric, tasn

Subscribers: JackDanielZ, cedric, Hermet

Differential Revision: https://phab.enlightenment.org/D2603

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-08-04 15:51:39 +02:00
Woochan Lee 8ca5d9c333 multibuttonentry: add horizontal, vertical padding between items.
Summary:
There is no way to give padding between each items, previously.
So i added horizontal, vertical padding here.

I will add APIs for set, get padding size set, get.

@feature

Test Plan:
Change the horizontal, vertical paddidng value in multibuttonentry.edc
Run elementary_test
Execute multibuttonentry sample.
Add items.
Check the padding between items.

Reviewers: woohyun, seoz, Hermet, raster

Reviewed By: Hermet, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2534

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-08-04 15:21:40 +02:00
woochan lee 4890319e3e multibuttonentry: internal label object status, box pack, unpack logic clean up.
Summary:
Even user sets empty string here for text, label still packed in box with min size(finger size).
label_set internal logic is not clear before.
ex: object min set, resize check the string length then sending signal, min set again.
so i deleted the signal emit code here, we can handle label show, hide status in code and it's more clear.
Besides "sd->label" is always true all of the case. we need to check whether it's packed or not.

The label will be added to parent's sub object when it's packed into box.
label_set as empty string in adding time also meaningless.

@fix

Test Plan:
Run multibuttonentry sample.
Set a text somthing for it then set an empty string here.

Reviewers: Hermet, woohyun

Differential Revision: https://phab.enlightenment.org/D2841

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-07-28 23:58:23 +02:00
Mike Blumenkrantz 79014251a2 win: redo wayland opaque region setting
* convert opaque region theme part to SPACER
  - add rels for shaded/maximized state
* namespace opaque region theme part
* update opaque region only on pre-render
  - fixes race condition between render size and opaque size

ref T2575
2015-07-20 17:35:00 -04:00
Chris Michael b649104eb9 elementary: Adjust shadow spacer on maximize
Summary: This fix adjusts the shadow spacer elementary when we
maximize/unmaximize a window. When in a maximized state, we do not
have to reserve space for the window shadow. This partially fixes
T2578. I say partially because there is still a little bit of blank
space around a maximized window.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-20 11:49:10 -04:00
Chris Michael f9f9ae02a8 elementary: Properly fix wayland opaque region setting
Summary: This patch fixes opaque region setting under wayland in a
more proper/accurate way. This now sets the opaque region to be Just
what is visible (ie: only the dialog).

NB: This does not actually fix T2575 as that problem is inside E itself.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-17 13:28:31 -04:00
Amitesh Singh 4b748651f3 theme: popup - use aliases instead for subpopup groups
Use aliases for subpopup's content,buttons{1,2,3} groups
and it reduces theme file size by 4Kb (default.edj, 5680kb to 5676Kb).
2015-07-17 22:24:49 +05:30
Chris Michael 7541745c5d elementary: Fix program signal for enable/disable of shadows
Summary: Elementary does not support toggling of shadows on windows,
but Enlightenment does so we need to use the proper program signal for
that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 14:00:46 -04:00
Chris Michael f664c899be elementary: Update elementary wayland border theme to match E's
Summary: This fix addresses the issue of Elementary's Wayland border
theme not match close enough to E's. Now they are very much identical
with the exception of the program and signal names.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 13:08:50 -04:00
Chris Michael 29543e1295 elementary: Tweak elm wayland border focus to Fix T2575
Summary: This adjusts the focus frame of Elementary applications to
more closely match what is done in X11. T2575 says that the focus
rectangle was larger than expected by a few pixels, so this slight
adjustment compensates for that.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2015-07-16 11:01:42 -04:00
Carsten Haitzler 5edec15fb0 theme - make square more opaque 2015-07-10 11:38:27 +09:00
Carsten Haitzler ca278d7355 theme adjust - replace blurry grey haloed black box with nice rect+shad 2015-07-09 17:51:26 +09:00
Amitesh Singh f10b4eb8d0 genlist/list/win: Revert focus highlight animation when looping is enable
Summary:
  -
  Revert "focus: Added internal widget APIs of focus highlight object of elm window."

    This reverts commit 3f98d71830163a154762f2d16301d720c781b7c5.

  - Revert "List: Focus highlight when loop is enable"
This reverts commit 57ad32a900e71f83441bf7246671b8f16a8ec909.

  - Revert "genlist: Focus highlight when loop is enable"

    This reverts commit 91282a22cba66ee5e7799018d3abe8957fb1b1fa.

Reviewers: seoz, raster, jpeg, SanghyeonLee

Subscribers: anand.km, seoz

Differential Revision: https://phab.enlightenment.org/D2725

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Youngbok Shin d79b4c0055 calendar: show days of prev/next month.
Summary:
Show days of previous and next month on the blank area of calendar.
@feature

Test Plan: See calendar widget on elementary_test.

Reviewers: raster, seoz, woohyun, cedric

Reviewed By: cedric

Differential Revision: https://phab.enlightenment.org/D2728

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-25 17:24:08 +02:00
Umesh Tanwar 5ee916b409 Scroller: Remove white-spaces in scroller.edc file
Summary: Signed-off-by: Umesh Tanwar <umesh.tanwar@samsung.com>

Reviewers: cedric, raster, seoz

Differential Revision: https://phab.enlightenment.org/D2744
2015-06-25 13:44:46 +09:00
Andrii Kroitor 74c86474fc colorselector: fix missing style warning
Test Plan:
1. open "elementary_test colorselector"
2. click "all" button

Reviewers: cedric, seoz, Hermet, raster

Differential Revision: https://phab.enlightenment.org/D2635

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-06-17 15:59:20 +02:00
Mike Blumenkrantz 6061ed0a75 theme: migrate all e users of darken_rounded_square to new darken_square image
nearly everything in e is square except for this, which was a holdover from the
b&w theme. the new image looks more coherent with the rest of the square look

image created by me, licensing to match rest of theme images

@feature
2015-06-16 16:31:10 -04:00
Mike Blumenkrantz 6f62c8b496 notification: set fixed on app icon to eliminate edje calc error 2015-06-16 16:31:10 -04:00
Mike Blumenkrantz 586efebad6 comp effects: add tooltip visibility effect 2015-06-15 13:55:34 -04:00
Mike Blumenkrantz 5a061d5e0f comp effects: increase size of vertical visibility effect to include shadows 2015-06-15 13:55:34 -04:00
Mike Blumenkrantz b82ded243f comp effects: add vertical visibility effect 2015-06-11 11:50:52 -04:00
Carsten Haitzler 5e79a4e211 elm list - theme - make compress moder work again
someone.. somewhere along the way.. likely a long time ago.. broke
compress mode. likely the addition of the ellipsis value as an
ellipsis position or something related to that broke compatibility,
as this used to work. be that as it may... finding out just where is
virtually impossible, so fix it the simpler way - add elipsis values
2015-06-09 16:25:24 +09:00
Mike Blumenkrantz 51cc52f685 pager16: add signals for toggling content visibility 2015-06-08 14:54:47 -04:00
Mike Blumenkrantz 9d6ac3696c shelf: use spacer for content sizing, toggle content visibility 2015-06-08 14:54:47 -04:00
Mike Blumenkrantz f73944df11 shelf: use constant rects for eventing 2015-06-08 14:54:47 -04:00
Carsten Haitzler 1e8dfb051c elm theme - toolbar - adjust padding for the toolbar to not look so bad
therw was always a small 2 pixel padding inside the toolbar. it just
looks bad for toolbar so expand out to boundary of toolbar
2015-06-07 11:22:31 +09:00
Amitesh Singh 6b8de59969 tooltip: fix tooltip multi line text issue
Summary:
This is fixed by removing wrap=word from tooltip style.

Resolves: T2034

@fix

Test Plan:
1. elementary_test -> tooltip
2. click "unlock tooltip visibility"
3. check tooltip text. full text is not visible.

Reviewers: seoz, raster, Hermet, cedric, tasn

Reviewed By: tasn

Subscribers: seoz

Differential Revision: https://phab.enlightenment.org/D2606
2015-06-04 10:25:44 +01:00
Carsten Haitzler 8ab1befd95 elm theme - remove commented out efm icon lines so as not to confus people 2015-05-27 20:21:30 +09:00
Carsten Haitzler a119165b14 theme - efm - redo folder to stand out more amongst all the file icons
the paper with earmarked corner and dir in it just doesn't stand out.
too plain and so you can't tell dirs from other files easily at all.
replace with a more normal foler icon that now stands out.
2015-05-26 12:14:55 +09:00
Carsten Haitzler bb135cb5f6 theme - add more efm basic file type icons
Icons by ApB - see T1582 - fixes T1582

not really a bug ... just more icons. :)
2015-05-25 11:52:36 +09:00
Woochan Lee 2fd7946767 multibuttonentry: Delete unused data in edc.
Summary: The "closed_height" is not using in code.

Reviewers: raster, Hermet

Reviewed By: Hermet

Differential Revision: https://phab.enlightenment.org/D2535
2015-05-19 20:27:20 +09:00
taehyub 311293f9aa elc_popup: add scroller into popup content area
Summary:
When popup has a content which is larger than window size, popup is to be larger than window.
so, scroller is added into popup content area.

Test Plan:
1. Making "elementary_test - popup" window smaller than popup content size.
2. Excute "popup-center-title + genlist content + 1 button" in "elementary_test popup"
After applying this patch.
3. popup content shows with scroller.

Reviewers: Hermet, seoz, woohyun, raster

Subscribers: raster

Differential Revision: https://phab.enlightenment.org/D2216
2015-05-15 15:10:35 +09:00
Cedric BAIL adcfd71d70 theme: fix typo, thanks arrowdodger. 2015-04-25 20:08:39 +02:00
ChunEon Park 40dd5e492d Revert "checkbox: Adding third state (Indeterminate) support in checkbox"
This reverts commit d0507e117acd5bbfdecf4c43f1d338c00802af44.

oops this patch wasn't intended.
2015-04-20 14:24:10 +09:00
Shobhit 0a9ac756d0 checkbox: Adding third state (Indeterminate) support in checkbox
Summary:
Checkbox should support a third state "indeterminate" along with "Checked" and "Unchecked"
This third state is a state of checkbox which is shown when checkbox is neither Checked nor Unchecked.

- Added this new feature on the basis of a boolean variable's value.
- By default this boolean variable is disabled and checkbox will treat like old way.
- While adding this, I kept in mind, that applications which are already using checkbox, should not be affected, so I used 0=False=Unchecked, 1=True=Checked, and 2=Indeterminate
- Also added an example check_example_o2.c, which is using checkbox with both ways, using boolean, and using enum.
- Now also values can be set using boolean values, but it will give a type casting warning. As a boolean doen't support third state, so I used an enum int like.

- Added APIs to enable disable third state mode. elm_check_three_state_mode_set(check_obj, bool_val), and elm_check_three_state_mode_get(check_obj)
- Modified old APIs which were setting or getting states of checkbox.
- Added a state in theme of checkbox, with third state image.

Reviewers: seoz, raster, Sergeant_Whitespace, Hermet

Subscribers: Hermet, Sergeant_Whitespace, sachin.dev

Differential Revision: https://phab.enlightenment.org/D2249
2015-04-17 17:11:28 +09:00
Olliver Schinagl 2c1022b894 flipselector: Remove has some nbsp's and random whitespaces
Flipselector has some random whitespaces that do not belong.
Additionally there are a few hidden non-blocking spaces that prevent
edje_cc to compile the default.edc on arm. Appearantly on x86/amd64 this
works normally.

This patch works around T2285  while the issue should remain open as the
real issue, edje_cc treating nbsp as a whitespace on arm, is not fixed
through this patch.

ref T2285

Signed-off-by: Olliver Schinagl <o.schinagl@ultimaker.com>
2015-04-13 13:50:09 +02:00
kumar navneet c00ac16f08 [elm_panel] Fix mirroring issue.
Summary:
Issue: Mirroring of elm_panel not working correctly.
Solution: Handle mirroring appropriately for animations.

@fix

Test Plan:
Case: 1
1. Open elementary_test
2. Mirror on
3. Open scrollable panel, click on toggle button.
Case: 2
1. Keep the scroller panel opened
2. Turn off Mirror
Case: 3
1. Turn on mirror
2. Check direction button in non-scrollable panel.

Reviewers: shilpasingh, raster, Hermet, Princekrdubey

Reviewed By: shilpasingh

Subscribers: poornima.srinivasan, subodh6129

Differential Revision: https://phab.enlightenment.org/D2237
2015-04-10 14:37:11 +09:00
Mike Blumenkrantz f9cb86cdd9 edc: use new empty description inherit statements in comp theme
coverage/testing++
2015-04-06 20:43:59 -04:00
Mike Blumenkrantz 670e301ed5 edc: fix button theme syntax error 2015-04-06 20:37:18 -04:00
Mike Blumenkrantz a2d2462a95 colorclass: block colorselector dismissal when clicking inside csel area 2015-04-06 14:34:33 -04:00
Mike Blumenkrantz f052b748c3 colorclass: only show one fader at a time
showing both faders obscures the app too much to be useful
2015-04-06 14:12:24 -04:00
Mike Blumenkrantz 135e13d376 colorclass: slightly expand colorselector bg to improve clicking area 2015-04-06 14:11:37 -04:00
Mike Blumenkrantz 68847d9c7d colorclass: add clip for color type groups, move inset inside edje area 2015-04-06 14:10:24 -04:00
Mike Blumenkrantz 1ee3041767 colorclass: add focus glow to color type selector 2015-04-06 14:09:47 -04:00
Mike Blumenkrantz c9e85eb2e1 edc: add descriptions for all listed color classes 2015-04-06 12:20:35 -04:00
Mike Blumenkrantz 84b68085c3 colorclass: add subsystem for remotely editing colorclasses over dbus
the winid should match the e_pixmap id

also various theme improvements
2015-04-05 16:26:18 -04:00
Mike Blumenkrantz a583013bab add colorclass editor
the colorclass editor can be used to live edit the color classes in
any running application.

@feature
2015-04-05 16:02:00 -04:00
Tom Hacohen 82a43998cb Revert "Revert "Elm helper: add the posix regex validator.""
Reapply the patch. Next commit will fix the break.

This reverts commit 6f8be78ca04125f220c339145d700fc2e1a1f9c1.
2015-04-02 10:37:37 +01:00
Carsten Haitzler 71dc4b5392 Revert "Elm helper: add the posix regex validator."
NO! this breaks compiling anything against elementary UNLESS you
enable eo beta api support. NO NO NO NO.

This reverts commit cad6de2a8ef93d994f9dedb8e980efe5fbf6d77e.
2015-04-02 09:48:29 +09:00