Commit Graph

688 Commits

Author SHA1 Message Date
YeongJong Lee dca1581b03 efl.ui.slider: change signal name for icon/text
Summary:
See also 73f8b3b78f

because slider use "elm.swallow.icon" part name, it don't need to edit .c file.

Test Plan:
1. elementary_test -to efl.ui.slider
2. check that icon and text are visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5822
2018-02-26 21:11:59 +09:00
YeongJong Lee 736de05ea7 efl.ui.check: change signal name for icon/text
Summary: see also 73f8b3b78f

Test Plan:
1. elementary_test -to check
2. check that icon is visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5816
2018-02-26 20:28:56 +09:00
YeongJong Lee e25bd086c5 efl.ui.radio: change signal name for icon/text
Summary: see also 73f8b3b78f

Test Plan:
1. elementary_test -to radio
2. check that icon is visible

Reviewers: cedric, woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5815
2018-02-26 19:59:31 +09:00
Sungtaek Hong 73f8b3b78f efl.ui.layout: change signal name for icon/text
Summary:
when set/unset icon and text,
signal "elm,state,[part],visible/hidden" is emitted.
This is wrong because visible/hidden should be handled by
Efl.Gfx.visible, not Efl.Text nor Efl.Content.
This should be changed into elm,state,[part],set/unset"
All relating edc should be fixed.

Test Plan: run elementary_test->button, Efl.Ui.Button

Reviewers: jpeg, cedric, woohyun, Jaehyun_Cho

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2018-02-14 12:47:40 -08:00
Daniel Hirt 4a905a22a4 Canvas image: add Efl.Canvas.Text.Factory + use in Ui.Text
This interface has a simple 'create' method to create Efl.Canvas.Object
given a key.
This is used higher-up in Ui.Text in the next commit.

Ui text: add ability to set item factories

Added API to set an item factory object.
This is similar to the previous item providers (that worked with
callbacks).

You instantiate a factory object and set it on the Ui.Text object.
Each factory implements the "create" method from
Efl.Canvas.Text.Item_Factory.

This also includes 3 public factories (Image, Emoticon and Fallback):
  - Image factory: creates images from added entries (key strings)
  - Emoticon factory: creates emoticons by querying the theme
  - Fallback: creates image, then falls back to emoticon

If no factory is set, then the fallback (internal) factory is used.

See the added "Ui.text Item Factory" test in elementary_test for an
example of usage.

@feature
2018-01-18 10:20:28 -08:00
Carsten Haitzler 08073155b1 efl theme - fix bug in e init splash that would do hide anim 2x
this should fix a "go black and stay black for a bit" bug...

@fix T6619
2018-01-17 18:14:51 +09:00
Davide Andreoli 5c5e29daa5 Elm focus navigation: other 2 failing tests
Added a new test "Focus 6", it's an not very
complex elm layout: a swallowed genlist and three
buttons in an edje box.

You should be able to navigate the layout with
just the keyboard, that is currently impossible.

With the help of the mouse click you can randomly
make the key navigation work again... this is
mostly random.

...should help to make progress on T6453
2018-01-05 18:28:41 +01:00
Ross Vandegrift 71e5c74eb6 efl: drop deprecated Encoding key from desktop files
Summary:
The Encoding key is no longer required, all desktop files are assumed to
be UTF-8 encoded.  See details at:
https://standards.freedesktop.org/desktop-entry-spec/1.1/apc.html

Fix various typos and misspellings

lintian, Debian's package checker, uses strings to check for common typos
in compiled binaries.  This change fixes the ones it identified in 1.20.6.

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-12-13 10:27:48 -08:00
Felipe Magno de Almeida fd92dec358 elementary: Add efl_ui_list widget 2017-12-13 14:13:09 -02:00
Hosang Kim 26272bf3a2 win: apply conformant features.
Summary:
- implement indicator enable/disable
- implement indicator type
- add indicator swallow area to border.edc
- add 'test win indicator' sample

Test Plan: elementary_test -> win_indicator

Reviewers: woohyun, cedric, jpeg

Subscribers: taxi2se, jypark, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5418
2017-12-12 10:53:14 +09:00
Sungtaek Hong 1503fb5359 efl_ui_spin: apply new theme set policy
Summary: Applied new theme group name. Moved logic in finalize to constructor.

Test Plan: Run elementary_test->Efl.Ui.Spin, Efl.Ui.Spin.Button, Part_Background

Reviewers: jpeg, woohyun, CHAN

Reviewed By: CHAN

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5592
2017-12-08 16:02:24 +09:00
Woochan Lee e29b9e5371 multibuttonentry: Add theme for legacy multibuttonentry.
Summary: I accidentally deleted it. This should be maintained.

Reviewers: jpeg, taxi2se

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5615
2017-12-08 16:02:24 +09:00
Youngbok Shin 300ded6c30 efl_ui_text: apply new theme logic and use constructor/destructor
Summary:
It removes legacy aliases from efl_ui_text's theme.
And it also move all code from group add/del overriding functions to
constructor/destructor.
@fix

Test Plan: N/A

Reviewers: jpeg, taxi2se

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5601
2017-12-08 16:02:24 +09:00
Woochan Lee bbb70f0e9b efl_ui_clock: Apply lazy edc.
Summary: Apply laze edc for efl widget.

Test Plan: elementary_test -> Efl.Ui.Clock sample.

Reviewers: jpeg, taxi2se, Jaehyun_Cho

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5606
2017-12-08 16:02:23 +09:00
Woochan Lee 9d2141b5a3 efl_ui_multibuttonentry: Apply lazy edc, code clean up.
Summary: Apply lazy edc, code clean up.

Test Plan: elementary_test -> multibuttonentry sample.

Reviewers: jpeg, taxi2se, Jaehyun_Cho

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5607
2017-12-08 16:02:23 +09:00
WooHyun Jung e8a00f7c15 efl/calendar.edc: fix redefinition error 2017-12-08 16:02:23 +09:00
WooHyun Jung cd79611626 efl_ui_calendar: apply new theme policy
Reviewers: jpeg, taxi2se

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5578
2017-12-08 16:02:23 +09:00
Sungtaek Hong e7e375937b elm: introduce ELM_PART_OVERRIDE_PARTIAL
Summary:
ELM_PART_OVERRIDE_PARTIAL replaces ELM_PART_OVERRIDE and
ELM_PART_OVERRIDE_ONLY_ALIASES.
The difference is ELM_PART_OVERRIDE_PARTIAL calls super
ELM_PART_IMPLEMENT when subclass of part is not needed.

Test Plan:
Run elementary_test, Part Background, background part is well set.
           Run efl.ui.panes/efl.ui.flip, check content is well set.

Reviewers: jpeg, Jaehyun_Cho, woohyun

Reviewed By: Jaehyun_Cho

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D5566
2017-12-08 16:02:23 +09:00
Sungtaek Hong 5e4abdb873 efl_ui_popup: apply new theme logic for alert_scroll, alert_text 2017-12-08 16:02:22 +09:00
Sungtaek Hong 22c5f771be efl_ui_popup: apply new theme logic for efl_ui_popup 2017-12-08 16:02:22 +09:00
Sungtaek Hong dd4467505e efl_ui_widget: find new edc resource for efl_ui_widgets
new eo widgets(efl_ui_ prefix) finds new edc group in
data/elementary/themes/edc/efl/*.edc.
New group name is "klass/group:style" and "base" group name and
"default" style name can be omitted.

for now, separator for style is ':' but needs to be decided.
2017-12-08 15:57:26 +09:00
Jaehyun Cho 91df6723c9 efl_ui_popup: Rename bg_set with backwall_set
Since "background" is used as a basic part property, "backwall" is used
to indicate the area behind efl_ui_popup.
2017-11-28 17:15:42 +09:00
JinYong Park c8c7ac8aae efl_ui_popup_anchor: add Efl.Ui.Popup.Anchor class
Summary:
Add initial code for Efl.Ui.Popup.Anchor class.
It supports adding anchor object to popup.

Test Plan: 1. run elementary_test -to efluipopupanchor

Reviewers: Jaehyun_Cho, thiepha, herb, jpeg, cedric, woohyun

Reviewed By: Jaehyun_Cho

Differential Revision: https://phab.enlightenment.org/D5126
2017-11-28 17:15:42 +09:00
Taehyub Kim d3a14d08b0 efl_ui_popup_alert: add Efl.Ui.Popup.Alert class
Summary:
Add initial code for Efl.Ui.Popup.Alert class.
It supports setting title and buttons.

Test Plan: 1. run elementary_test -to efluipopupalert

Reviewers: Jaehyun_Cho, jpeg, cedric, thiepha, Blackmole, woohyun

Differential Revision: https://phab.enlightenment.org/D5108
2017-11-28 17:15:42 +09:00
JinYong Park bccd97bd62 efl_ui_popup: add bg_set and bg_repeat_events_set/get API
Summary:
add bg_set and bg_repeat_events_set/get API
bg_set enables user change popup's outside bg
bg_repeat_events_set enables popup's outside bg repeat events

Test Plan:
 1. run elementary_test -to efluipopup
 2. click outside area of popup
 3. click button in popup

Reviewers: Jaehyun_Cho, herb, thiepha, woohyun, cedric, jpeg, singh.amitesh

Reviewed By: Jaehyun_Cho

Subscribers: jpeg

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D5054
2017-11-28 17:15:42 +09:00
Taehyub Kim 996a975506 efl_ui_popup: add Efl.Ui.Popup class
Summary: add initial code for Efl.Ui.Popup class

Test Plan: 1. run elementary_test -to efluipopup

Reviewers: Jaehyun_Cho, Blackmole, thiepha, woohyun, cedric

Reviewed By: Jaehyun_Cho

Subscribers: bu5hm4n, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5037
2017-11-28 17:15:42 +09:00
Woochan Lee eefcb49419 efl_ui_spin: Add new spin and spin_button widgets
Summary:
https://phab.enlightenment.org/T5900

Creating base class(efl_ui_spin) to support various shape of spinner.

Added button interaction widget efl_ui_spin_button inherited from efl_ui_spin.

Test Plan: Add tests in elementary_test.

Reviewers: Jaehyun_Cho, woohyun, jpeg, singh.amitesh

Subscribers: jenkins, id213sin, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D5424
2017-11-27 19:40:31 +09:00
Al Poole 5abeeb980a elm_code: set the color scheme from the default edc.
This allows us to override in the application also. Work from
myself and @ajwillia.ms.
2017-11-26 12:36:42 +00:00
Sungtaek Hong 1f35c2363a efl_ui_bg: fix unclipped image on EFL_UI_IMAGE_SCALE_TYPE_NONE
@fix

Summary:
efl_ui_bg has internal image and image may be larger than
         resize_obj when EFL.UI.IMAGE.SCALE_TYPE is none.
         Now resize_obj clips the internal image.

Test Plan:
1.Run elementary_test, part background(will be added soon)
2.Create a bg in a box with other widgets.
  Set bg as EFL_UI_IMAGE_SCALYE_TYPE_NONE.

Reviewers: jpeg, cedric

Reviewed By: cedric

Subscribers: woohyun

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2017-11-23 15:43:26 -08:00
Stephen Houston 280ba424e4 Luncher theme: Handle space to the left, right, and bottom in the active preview better. 2017-10-12 11:37:58 -05:00
Stephen Houston bb67b8580b Luncher theme: Offset the preview from the bottom. 2017-10-11 15:09:47 -05:00
Stephen Houston d415bef076 Luncher theme: Keep aspect on luncher preview - Don't force max sizes. 2017-10-11 14:03:23 -05:00
Amitesh Singh d3b74d4639 efl theme: Add heirarchy for new theme 2017-10-11 17:30:41 +09:00
Davide Andreoli 6714763dab Edje external tests: fix some texts
The bugs mentioned are now fixed
2017-09-15 19:38:24 +02:00
Stephen 'Okra' Houston 8df0576358 Luncher: Remove the engage feature.
The engage feature was mainly there as a demo of the capabilities of bryce.  Now that we are nearing release we need to clean up our gadgets.  The engage style for the luncher gadget is not complete, and does not work adequately, and quite honestly better belongs as a feature of bryce itself not luncher.
2017-09-01 13:46:22 -05:00
Stephen 'Okra' Houston b0fc5dde62 Luncher Theme: Set no border for alpha. This needs to be backported. 2017-08-30 20:15:00 -05:00
Davide Andreoli 11efbdd7b4 PKit gadget: more contrast for the design
the blue icon was not really readable on that light gray bg,
changed the icon to be dark gray
2017-08-29 21:34:47 +02:00
Thiep Ha b0d185ac12 Introduce text on path widget
Text on path (textpath) allows application to make text follow a path.
The path can be a efl_gfx_path or a circle.

Thank hermet for initializing this work.

@feature
2017-08-29 19:07:01 +09:00
Mike Blumenkrantz c1bc1b95e6 theme: add slight inset for dialog content 2017-08-28 12:05:36 -04:00
Davide Andreoli 39288d12c2 Netstatus gadget: a new decent design
I'm still not really happy with this design, because 2 arrows are not
enough to understand it is "network"... but at least it looks good now :)
2017-08-27 11:46:39 +02:00
Stephen 'Okra' Houston 924a59d5db Theme updates: Luncher icon indicator not relative. New pager plain style. 2017-08-26 14:04:52 -05:00
Mike Blumenkrantz 27cba99045 theme: let notifications wrap
infinitely wide notification popups are hard to read
2017-08-25 14:48:12 -04:00
Stephen 'Okra' Houston 7683780351 CPUMonitor theme: Don't set aspect in theme. 2017-08-24 08:06:08 -05:00
Stephen 'Okra' Houston 95d0a85933 Cpumonitor Theme: Add a theme for the base and the core. This fixes aspect. 2017-08-23 19:01:52 -05:00
Stephen 'Okra' Houston a6c7234afa Luncher Theme: Use a proxy for the overlay effect. 2017-08-23 17:06:33 -05:00
Stephen 'Okra' Houston 95f59ecd51 Gadget themes: Remove shines. 2017-08-23 15:27:20 -05:00
Stephen 'Okra' Houston fa1842370b Netstatus: Use arrows for up and down net traffic indicators. 2017-08-22 20:44:53 -05:00
Mike Blumenkrantz 906908341e theme: fix dialog sizing when no buttons are present
ensure that the content is used for min sizing and not the icon

@fix
2017-08-21 10:16:56 -04:00
Mike Blumenkrantz dae39821d9 theme: handle e dialog sizing when no buttons are present
@fix
2017-08-18 15:24:37 -04:00
Mike Blumenkrantz a454c91dbe theme: clip start gadget arrow to intended clipper
make activate visual state function as intended

@fix
2017-08-04 16:10:51 -04:00
Jean-Philippe Andre 521f41f536 win: Fix main menu when not in framespace
On OSX the framespace and CSD (Client-Side Decorations) are not
supported at all... I am not able to test this case. This patch
restores the main menu functionality based on pre 1.19 themes,
where it was located inside win.edc (app content) and not in
border.edc (framespace).

Note that the initial size of a window may be wrong, eg as in
  elementary_test -to "Main Menu"

Fixes T5734 (hopefully!)
2017-07-18 18:42:16 +09:00
Stephen 'Okra' Houston d2ce06c69b Thermal theme: Remove text from theme and quit wasting space. 2017-07-12 13:07:58 -05:00
Stephen 'Okra' Houston 1130d10852 Theme: Don't display freq on the meter for cpuclock. 2017-07-12 01:25:47 -05:00
Carsten Haitzler 41534e69c3 default theme - add signals to pointer theme to fix glitch in x
in x11 the mouse pointer is separate to everything else on the screen,
and so when screensaver kicks in and we fade to/from black or we
suspend/resume and do the same... the mouse pointer stays annoyingly
visible and it just lookes like a bug. this allows that to be fixed by
allowing the pointer to be suspended or resumed... :)

@fix
2017-07-10 10:17:51 +09:00
Stephen 'Okra' Houston 457d53ec29 Theme: Follow gadget naming conventions. 2017-07-06 12:19:12 -05:00
Davide Andreoli 6d32dfa1aa Add a new test for elm_image align inside a swallow
This is broken since 1.18, more info on T4635
2017-06-30 22:16:15 +02:00
Mike Blumenkrantz bae9321c39 theme: use FLOOR rounding for digital clock themes
the default rounding method allows for a value of 60 when setting the
seconds on a clock

fix T5639
2017-06-30 14:59:59 -04:00
Jean-Philippe Andre dd04248bb8 elm_test: Add test edc for tooltip with no min size
See 283afce3c8acd902d4708ab491b6192f1665dd77
Test case name: Tooltip -> "Tooltip with no min size"
2017-06-29 17:16:08 +09:00
Mike Blumenkrantz a4fcc0595e theme: set NOGRAB on all border event rects when e22 signal received
these are used in signal bindings and it's possible that a "resize" rect
could be set to trigger a move operation
2017-06-16 14:03:27 -04:00
Mike Blumenkrantz 84c79f6c49 Revert "Revert "Edje calc: Fix textblock size calculation logic""
This reverts commit 0392cd3c48.

oops this was supposed to just be local
2017-06-09 20:20:47 -04:00
Mike Blumenkrantz 2ba847f4c2 theme: add signal to e border theme to set NOGRAB on titlebar part
for compatibility reasons this can only be changed in a signal callback
in the default theme.

all themes should now use NOGRAB for parts which can be used to trigger
window_move signal bindings

ref T5552
2017-06-09 20:12:55 -04:00
Mike Blumenkrantz 0392cd3c48 Revert "Edje calc: Fix textblock size calculation logic"
This reverts commit a6fff5bc1e.
2017-06-09 19:14:59 -04:00
Stephen 'Okra' Houston f7d5b0dbe8 Luncher theme: Allow preview size to be configurable. 2017-06-09 14:20:56 -05:00
Stephen 'Okra' Houston ad2ba804c6 Shelf/Gadget themes... Update with proper horiz/vert theme strings for future theme developers. 2017-05-12 15:36:59 -05:00
Andy Williams 94afabf216 elm_code: Move the 'default' font name and size into the theme.
This can still be overridden by the standard method calls
2017-05-06 22:02:17 +01:00
Vyacheslav Reutskiy f9702fe1f9 elm_fileselector: made fileselector styling more flexible
Previously the progressbar in fileselector use hardcoded style name
"wheel", that made unpossible to create different style for
fileselector. This commit made it possible.

@fix
2017-04-26 11:16:01 +03:00
Jeeyong Um c8ca766a49 elm.hoversel: highlight selected item when auto update is enabled
Summary:
When auto update is enabled, the label of the hoversel will be that of selected
item. This feature is usually used when changing state of something.
Highlighting item previous selected will show what is current state more
explicitly especailly hoversel has many items.

Test Plan: elementary_test -to hoversel

Reviewers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2017-04-19 10:49:21 -07:00
Jeeyong Um 7383710f34 Colorclass: Add fixed attribute to remove error message
Test Plan: elementary_test -to "color classes"

Reviewers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4741
2017-04-06 16:33:47 +09:00
Mike Blumenkrantz 833444ac2a theme: remove event gaps in enlightenment window frames
@fix
2017-03-17 15:15:25 -04:00
Mike Blumenkrantz ea84ae576f theme: make bryce vertical clipping work as expected
ref a94351a789
2017-03-17 15:15:25 -04:00
Andy Williams 01972e5e25 luncher: improving engage animations 2017-03-16 22:57:03 +00:00
Andy Williams 17c04aef7f luncher: Smoothing engage theme 2017-03-11 23:11:10 +00:00
Andy Williams b7ea8fc01e luncher: Update theme to ensure we're sending scale reset signls 2017-03-10 22:14:29 +00:00
Stephen 'Okra' Houston 1a5563ab63 Luncher theme: Prepare to size engage correctly. 2017-03-08 18:20:10 -06:00
Amitesh Singh d6e8ae62e7 slider: theme - fix warnings
Fixes warnings related to  "disabled_visible" states
not present in "limits" part.

fixes T5123
2017-02-21 20:54:40 +05:30
Youngbok Shin a6fff5bc1e Edje calc: Fix textblock size calculation logic
Summary:
In singleline textblock, using "text.min: 1 0" and min, max width,
Edje allows to use expandable text with ellipsis. It shows ellipsis
when only text's width reach the max width.
But, Edje couldn't support same feature on multiline textblock.
Edje dose not use max height or text.max properly if ellipsis is enabled.
This feature is very useful to make a layout with dynamically aligned text.
@fix

Reviewers: cedric, tasn, woohyun, raster, herdsman

Subscribers: z-wony, eagleeye, jpeg

Differential Revision: https://phab.enlightenment.org/D3595
2017-02-14 16:17:02 +09:00
Stephen 'Okra' Houston e3bdfae54c Sysinfo gadget themes: Account for vertical theme. 2017-02-10 11:59:18 -06:00
Stephen 'Okra' Houston e7b2dc0017 Give Batman it's own edc. 2017-02-08 08:55:20 -06:00
Stephen 'Okra' Houston e07a5b7840 Cpumonitor theme - Set an aspect preference other than both so we can properlyl size the gadget. 2017-02-02 15:02:58 -06:00
Davide Andreoli 07b6699293 mem gadget: document all the values received in the edje message
So that themers are aware of the unused fields
2017-01-29 14:52:12 +01:00
Stephen 'Okra' Houston 8cb493dd01 Battery Theme: Don't set min sizes -- Fixes sizing of batman. 2017-01-26 09:34:04 -06:00
Andy Williams 633bcfbefb luncher: Until we fix expansion zoom a little less.
This allows an area in the middle where you are only over 1 icon...
clicktastic
2017-01-22 10:07:03 +00:00
Jean-Philippe Andre caf3b95a6d elm_test: Make the animated filter a bit prettier
This is a basic example of fire text.

The gif was generated with a GIMP script from
http://fence-post.deviantart.com/art/GIMP-Animated-Fire-Script-84921148
2017-01-17 14:35:31 +09:00
Davide Andreoli 262f8dae34 net gadget: try to improve the theme
* make the 2 monitors fill based on tx/rx percentage vals
* try a more bluish version (still need a bit of love)

Note that this is not working atm (okra need to fix in E)
2017-01-15 16:05:21 +01:00
Andy Williams 051013f4e1 Luncher: Fix engage theme to scale more smoothly.
There is still a layering issue and the algorithm could be improved
2017-01-13 22:51:01 +00:00
Carsten Haitzler 4fe9144c9d efl_ui_win - switch to the element being used for border type 2017-01-13 18:04:17 +09:00
Carsten Haitzler 11432d42a7 elm theme/test - add start of nviframe window style and test it 2017-01-12 20:21:04 +09:00
Stephen 'Okra' Houston 277865c410 Elm theme: Center previews again in the luncher theme. 2017-01-09 14:50:12 -06:00
Davide Andreoli 2cee30b0bc cpu + mem gadget: implemented vertical layouts 2017-01-09 20:59:55 +01:00
Davide Andreoli dfd0e5d665 New theme for the new cpu gadget 2017-01-08 20:32:27 +01:00
Davide Andreoli 127c1c88aa mem gadget: update to use a single msg from c code 2017-01-08 19:06:32 +01:00
Davide Andreoli 979416fc3c A new theme for the new E memory gadget
hope you will like the new design
2017-01-08 17:56:37 +01:00
Stephen 'Okra' Houston 0cf00dbcdf E module themes: Improve sizing wrt to text. 2017-01-07 11:29:13 -06:00
Stephen 'Okra' Houston f9928b75c8 Elm Theme: Add style alias for no inset shadow on scroller. 2017-01-06 17:15:07 -06:00
Stephen 'Okra' Houston 85e8adafbf Theme: Add necessary theme files for the new sysinfo gadget. 2017-01-06 16:09:16 -06:00
Jean-Philippe Andre 3be0e7b63b Revert "elm theme makefile.am - remove misleading makefile not used"
This reverts commit 5eef9da416.

This breaks full rebuilds with the following error (Jenkins logs):

00:25:40 configure: creating ./config.status
00:25:41 config.status: creating Makefile
00:25:41 config.status: error: cannot find input file: `data/Makefile.in'

This also broke incremental builds with a different but just
as confusing autofoo error message.
2016-12-22 19:22:57 +09:00
Carsten Haitzler 5eef9da416 elm theme makefile.am - remove misleading makefile not used 2016-12-22 16:57:28 +09:00
Hosang Kim 2b3bee1301 scrollable_interface: fixed logic for calcualting position to scroll.
Summary:
When width of parameter(w) is bigger than or equal to scroller's width(pw),
scrollable object must be scrolled to x position.

Test Plan: elementary_test -> focus 4

Reviewers: woohyun, SanghyeonLee, Hermet, cedric, jpeg, raster

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4491
2016-12-16 15:26:00 -08:00
Jean-Philippe Andre a07877bd57 elm: Add a test case for evas masking
This tests masks of masks in a genlist, with maybe a map.
Nothing crazy.
2016-12-16 19:18:29 +09:00
Jean-Philippe Andre c4bceb796d test.edc: Fix indentation of a group 2016-12-16 14:55:44 +09:00
Jean-Philippe Andre bdb4977dda win: Implement stronger theme compatibility for frame_obj
The frame object requires a theme of version 119 or more. In fact
I think until we are totally happy with the window API (for EO) we
might want to bump that version regularly. That would indeed disallow
theme customization for border.edc until it's done.

This patch uses a pretty brute force way to set the theme file to
the default file from EFL installation. elm_config is not reliable
here.

This is very custom made and there may be a more generic way to force
a widget to use a minimum theme version. Yes that could mean ugly
widgets if we change the theme API but at least that would make them
work. Note that the border theme contains no visual elements, so the
colors of the background, etc... should all depend on the user
selected theme. But of course CSD (in Wayland) will have to use the
default theme -- and look grey.

Fixes D4976
2016-12-08 16:13:32 +09:00
Jee-Yong Um 967c7c7195 Elm.Button: fix color class descriptions
Reviewers: cedric, jpeg

Reviewed By: jpeg

Differential Revision: https://phab.enlightenment.org/D4457
2016-12-06 14:08:15 +09:00
Stephen okra Houston 2500a2d03e Luncher theme: Make sure to check the geometry of the opposite coordinate to ensure the cursor is inside of the icon. 2016-12-01 12:12:24 -06:00
Jean-Philippe Andre 0dde22488a theme: Add bevel around background (window)
This should fix (some) issues with exactness.
2016-11-30 15:15:02 +09:00
Jean-Philippe Andre 1f9dfe2ed3 win: Move main menu to the framespace
After reverting 8a21384759, I figured out how to move
the main menu back to the border group. This time the menu is in the
framespace and its layout algos have been adapted to allow non-zero
root coordinates.
2016-11-29 16:36:29 +09:00
Jean-Philippe Andre c7f2308e6c Revert "win: Move main menu back to win.edc (fix sizing)"
This reverts commit 8a21384759.
The following commit will reintroduce the menu slot inside the
border edc.
2016-11-29 16:36:05 +09:00
Woochan Lee 6c04755a92 elm/calendar: apply focus UI feature.
Summary:
elm_calendar is not subject to current automated focus policies due to internal implementation issues.
(Each date in the calendar is an edje part. )

For the above reasons, I have implemented the focus policy support manually.

Test Plan: elementary_test - calendar sample.

Reviewers: bu5hm4n, woohyun

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-11-28 11:35:27 -08:00
Jean-Philippe Andre 8a21384759 win: Move main menu back to win.edc (fix sizing)
As Andy reported, the main menu geometry is not correct after
my recent changes, as the application contents slide underneath
the menu bar. In fact the menu bar is just floating above
everything else.

So I've tried to move the menu to the framespace (as it should
belong to the frame), but the sizing algos for both the window
and the menu make some assumptions that render this task quite
difficult. Eventually I would like to be able to swallow the
menu somewhere else inside the border... but not right now.
2016-11-28 15:52:09 +09:00
Jean-Philippe Andre 8c06c47301 theme: Fix 1 pixel offset and hide clipped regions
Thanks @raster for pointing this out: title bar and menu bar
were resized down to 1 pixel high rather than 0. This meant that
all CSD windows would see a 1-pixel line between the title bar
and the app content, while SSD windows would see a 2-pixel line.

Also clip out the icon, this makes a 1x1 pixel disappear from the
top-left corner.
2016-11-25 11:04:00 +09:00
Jean-Philippe Andre 9fa608d631 win: Fix framespace when using CSD
This was broken for X and WL after the previous patch.
2016-11-24 17:44:29 +09:00
Jean-Philippe Andre 246023d1b3 win: Fix (hack around) E internal windows in Wayland
My previous patches have broken E Wayland internal windows, as
the compositor wants to create Server-Side Decorations[1] but
based on some mysterious heuristics, E will decide to show or
not SSD. It seems the surface geometry, window geometry,
input region and maybe opaque region need to all match. There
was a pixel difference in the theme which broke everything,
also CSD shadows must be turned off in that case.

This also fixes inputs as for some reason a mismatching input
region vs window geometry would break pointer move/up/down in
those internal windows.

[1] I believe this is not a great idea and E should never draw
    any server-side decorations in Wayland. Wayland was supposed
    to mean only CSD, no more SSD.
2016-11-24 17:05:27 +09:00
Jean-Philippe Andre 0fc049a321 win: Move modal blocker to border group
Legacy themes are still supported with a fallback code.
2016-11-23 13:04:13 +09:00
Jean-Philippe Andre 0de72b44c1 win: Fix support for legacy themes (elm_bg)
For standard windows, we want to create an elm_bg object if
the theme is a legacy one. Otherwise the default theme
doesn't require an extra object, just a rectangle.
2016-11-23 13:04:13 +09:00
Jean-Philippe Andre 8c505e3191 win: Remove menu from EDC group (fixes compatibility)
This fixes compatibility with legacy themes (ie. every single
theme in existence beyond the default one, for now), by checking
where to swallow the menu widget. If a legacy theme is used,
the legacy swallow should be used, and it will all look correct.

Moving forward I hope to get rid of the internal edje object
entirely, except for compatibility reasons.
2016-11-23 13:04:13 +09:00
Jean-Philippe Andre 5f6673f623 win: Implement unresizable mode (fixed size windows)
This sends a signal to the CSD frame to hide the bottom
bar and disable the resize borders.
2016-11-23 13:04:13 +09:00
Jean-Philippe Andre 9fb4f0ab2b theme: Implement CSD & non-CSD styles in window.edc
Also converts border.edc to lazEDC (easier to read, imho).

This is still work in progress but currently this supports
CSD & no-CSD modes for normal, maximized, main menu usage, shadow
on and off.

Note that shaded support is not implemented. I've made some
attempts towards this goal, with some success under X but it
was ugly code, and didn't work under Wayland (weston). So, no
extra support for shaded mode yet.
2016-11-23 13:04:12 +09:00
Jean-Philippe Andre 4b2d822733 theme: Move ews stuff to its own file
This move ews from border.edc to ews.edc
2016-11-23 13:04:12 +09:00
Jean-Philippe Andre 0e52264ae0 win: Add background part to the win border
Use Efl.Part for window to manipulate the background.

Two part names are used in EDC:
 - elm.rect.background
 - elm.swallow.background

For apps the part name is only "background".

To set a solid color background (alpha is ok):
 efl_gfx_color_set(efl_part(win, "background"), r, g, b, a);

To set an image:
 efl_file_set(efl_part(win, "background"), "image.jpg", NULL);

To set an object:
 efl_content_set(efl_part(win, "background"), subobj);

The solid bg is invisible by default, will become visible and use
COPY render mode if a color is set. Standard window uses the
swallow part.

@feature
2016-11-23 13:04:12 +09:00
Jean-Philippe Andre cb172de3da win: Move main menu to the border edje group
The main menu can now be contained inside the CSD border
rather than inside the win edje group.
2016-11-23 13:04:12 +09:00
Stephen okra Houston 6a4ae67f63 Luncher Theme: Add parts needed for the new Luncher grid. 2016-11-22 21:20:52 -06:00
Stephen okra Houston 243eb40d88 Luncher theme: Fix alignment of icons. 2016-11-21 10:07:51 -06:00
Stephen okra Houston d5183d7ab7 Luncher: Add the engage style that can be selected for luncher.
Please make sure your e and efl are updated together while using this.  It is not perfect and fairly buggy currently so use at your own risk.
2016-11-18 14:15:39 -06:00
Mike Blumenkrantz 06db737a23 elm_cursor: restore compat with previous theme api
adding new theme groups/parts is fine, but compat must be maintained for
released theme api: anything which is namespaced

ref 1422e61e62
2016-11-18 11:05:27 -05:00
Mike Blumenkrantz a94351a789 theme: unclip bryce scroller along opposing orientation axis 2016-11-10 11:52:57 -05:00
Mike Blumenkrantz ada0c1bba5 theme: remove clips from bryce themes
this is automatically clipped by the scroller
2016-11-10 11:22:20 -05:00
Amitesh Singh b8903b87d8 elm: remove datetime widget internal code
datetime legacy APIs are based on Efl.Ui.Clock public APIs.
2016-11-09 16:13:38 +05:30
Daniel Zaoui c66668f041 Genlist: remove not described style content
elm.swallow.icon is declared in message style but not described later in
the section.
2016-11-09 07:42:57 +02:00
Stephen okra Houston 5e53ecb9e6 Luncher Gadget Theme: Fix alignment just a hair to a solid middle ground between Dave's theme and mine. 2016-11-08 17:10:55 -06:00
Davide Andreoli 39d266df0e Launcher gadget: keep the icon aligned
and add 2 px offset from the external border
2016-11-08 23:01:09 +01:00
Stephen okra Houston 8b523c21e2 Luncher theme: Handle the updated signal for icons in their off state. 2016-11-05 10:27:04 -05:00
Stefan Schmidt ba71b90ea7 themes: add missing uiclock edc file to build for distcheck
Another (hopefully the last) missing file from the ui clock commit which did
not make it to the tarball.
2016-11-04 14:49:53 +01:00
Amitesh Singh b0d2e987f3 Efl.Ui.Clock: Add elm module & theme
Summary: depends on D3938

Reviewers: yashu21985, bu5hm4n, woohyun, Hermet, raster, jpeg

Subscribers: gohwoon.jeong, cedric, seoz, jpeg

Differential Revision: https://phab.enlightenment.org/D3939
2016-11-03 11:59:32 +05:30
Mike Blumenkrantz 90afe6ab61 theme: remove text.min from bryce sizing text
this causes bogus min size calc values

ref T4809
2016-11-02 11:29:49 -04:00
Mike Blumenkrantz e92a8cdb81 theme: trigger recalc from time's clock themes when object is resized 2016-11-02 11:20:20 -04:00
Stephen okra Houston ff6bb81465 Luncher: Improve indicator theme. 2016-10-28 15:05:12 -05:00
Chris Michael c7fc41a2fc elementary_theme: Add 'xterm' cursor into theme
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-28 14:28:04 -04:00
Stephen okra Houston cf3b1a2235 Luncher: Add the necessary theme files for Enlightenment's new launcher 2016-10-28 13:20:41 -05:00
Chris Michael 61b1203528 elementary_theme: Standardize cursor hotspot swallow names
Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-28 14:04:06 -04:00
Michaël Bouchaud (yoz) 51eafa137d elm theme: Add volume control theme to "e/widgets/border/default/border" 2016-10-27 22:20:44 +02:00
Mike Blumenkrantz bbf189c993 theme: slightly expand e/gadget/clock/digital/advanced sizer width 2016-10-25 11:38:31 -04:00
Davide Andreoli 71efc8ee9d Better icon names in elm external tests 2016-10-22 11:10:58 +02:00
Chris Michael 2b493bf4ab elementary: Add EFL pointers to elementary pointer edc
This adds more pointers to elm/pointer so that we can use these to
provide "EFL mouse pointers" inside Wayland Client applications.

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-10-21 15:32:47 -04:00
Davide Andreoli e0c45058fe FDO icons: add missing system-file-manager icon
Fix T4638

(cherry picked from commit 3fe1429eee)
2016-10-09 21:42:53 +02:00
Jaehyun Cho 93dfe1251b naviframe: Fix to show/hide item view.
Naviframe item view did not become visible if top item view is deleted
by elm_object_item_del().
To resolve this problem, program for "elm,state,visible" is fixed and
"elm,state,invisible" is added.
2016-10-05 18:12:09 +09:00
Jaehyun Cho 2ad7a110d3 naviframe: Remove redundant programs.
The redundant programs emit duplicate signals incorrectly.
2016-10-05 18:12:07 +09:00
Stefan Schmidt ce97a042e3 data: elm: images: fix double data file definitions leading to races
For a while now I had strange races during make install on Jenkins where some
image files either already existed or chmod was called on files not there yet.

It took some digging but it turns out commit
8dcd5207cc broke this as a side effect. The black
magic that already installed the files JP refers to is sitting in
data/Makefile.am. It is plain autofoo stuff and just includes the images
Makefile to get the list of files.

JP was correct though that the glayer files have not been installed into the
correct subdir. Fixing this as well here.
2016-09-28 14:33:18 +02:00
Jean Guyomarc'h 19a16ecb6d elementary: remove unused part in segmentcontrol theme
The empty ("") state was never used, and is actually just an alias to
the "default" state, so let's just remove it.
2016-09-28 08:18:07 +02:00
Jean Guyomarc'h b2ddadd941 elementary: fix invalid state in segmentcontrol
This fixes runtime errors such as:

ERR<29027>:edje lib/edje/edje_calc.c:756 _edje_part_description_apply()
Cannot find description "normal" in part "text2" from group
"elm/segment_control/item/default". Fallback to default description.

The "normal" (non-existant) state corresponds to a disabled state,
which is provided by the "default" state.
2016-09-28 08:18:07 +02:00
Andy Williams 553788d7b1 elm_toolbar: Show icons in icon only mode
When passing NULL as label the icon would get hidden.
@fix
2016-09-25 15:57:08 +01:00
Stephen Houston ea7939897c Add updated drop part for the new pager gadget. This will be required for the new pager to work. 2016-09-23 09:38:15 -05:00
Michaël Bouchaud (yoz) a9a9240421 elementary: Introduce a new edje_external param to the progressbar widget.
This widget was lacking an edje_external param to notify the widget to start or
stop pulsing from edje.

@fix Now the edje_external progressbar test works as expected.
2016-09-02 02:13:19 +02:00
Stephen okra Houston 19cf910321 Elementary Theme: Add "indent" genlist item style. This style allows non tree items to match tree items. 2016-08-26 10:05:20 -05:00
Davide Andreoli a0e8a9aeaa FDO icons: correctly list the intl icons in theme description file
@fix
2016-08-23 19:04:25 +02:00
Davide Andreoli 3b02375290 FDO icon theme: correct Inherits value
This should have been done this way from the start...my bad
@fix
2016-08-20 15:13:45 +02:00
Jean-Philippe Andre 8dcd5207cc elm: Install elm test images in the right place
This moves g_layer images to their folder.
Some kind of dark magic managed to install the base images
in the proper folder already.

This fixes elementary_test -to "Gesture Layer 2"

@fix
2016-08-19 15:19:08 +09:00
Stefan Schmidt 961a1ada0f Manual revert of: commit 07404215a9
combobox: add Multiple selection feature

This exposes problems with name clashes and behaviour change for the legacy API.
Revert for now and we can revisit for 1.19.

Git revert got to confused as this was committed before we merged elm in. I did
the revert manually.
2016-08-11 12:14:07 +02:00
Carsten Haitzler c416dfa6eb Revert "elementary: keep theme consistent regarding the disabling of odd/even."
Revert "elementary: disable visual hint at odd/even."

This reverts commit c64071ae13.
This reverts commit 7affe8c204.

This reverds the odd/even theme changes because this BREAKS
ENLIGHTENMENT COMPLETELY. Enlightement also uses odd/even list looks
and REMOVING this REMOVES every 2nd lost item member (it makes them
0x0 sized). This is a major break in actual FUNCTIONALITY in the name
of looks. NO. Revert.

We ship with this look. no more breaking stuff like this in the name
of cosemtics and not ACTUALLY fixing any bug at all. it creates bugs.
2016-08-07 18:30:38 +09:00
Cedric Bail c64071ae13 elementary: keep theme consistent regarding the disabling of odd/even.
This is another patch that should be reverted as soon as we start
7affe8c204 and is still a work around
T3086.
2016-08-03 17:30:35 -07:00
WooHyun Jung bb2e4195d7 elm focus default theme: fix wrong resizing
When focus is moved rapidly, final size of focus highlight is not
matched well with the focused object.
Without running anim in edc, it shows right performance.

@fix
2016-08-03 19:19:42 +09:00
Carsten Haitzler 4352747956 data for elm - remove misleading and unused Makefile.am 2016-07-30 08:34:34 +09:00
Carsten Haitzler d10348802d elm button theme - fix anchor style to not pass events when disabled
@fix
2016-07-25 16:23:45 +09:00
Carsten Haitzler 1433d66bfa elm button default theme - fix disabled events to not pass through
this fixes T2955
@fix
2016-07-25 15:42:05 +09:00
Cedric BAIL 7affe8c204 elementary: disable visual hint at odd/even.
This is a work around a huge bug in how genlist handle index. Fixing
it in genlist for this release is way to risky. The default theme is
temporary updated to not use this feature and this patch should be
reverted as soon as we start working on 1.19.
2016-07-21 11:19:44 -07:00
Mike Blumenkrantz ff702ee67a theme: copy border icon click -> elm,action,signal program 2016-07-19 14:15:15 -04:00
Chris Michael 4b67b79171 elementary: Clip window swallow clients
This commit sets up a client_clip for the windows client being
swallowed so that during resize, any window contents do not draw
outside the window.

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
2016-07-12 09:43:19 -04:00
Chris Michael cd1f2539fd Revert "efl theme for wayland borders - dont accept events on client swallow"
This reverts commit fdaefdbf9a. This is
being reverted because the issue of wayland borders not swallowing
clients has now been fixes and thus mouse_events work as expected wrt
client swallow.
2016-07-12 09:42:23 -04:00
Carsten Haitzler fdaefdbf9a efl theme for wayland borders - dont accept events on client swallow 2016-07-12 21:04:27 +09:00
Jiwon Kim 5e2b1dde68 elm_calendar: provides way for configuration of weekend text color
Summary:
Suggest new mark_type for elm_calendar_mark_add().
The mark names are "weekend/day1", "weekend/day2".
It can be used for each country.
Some country can apply to "weekend/day2" to friday if day rest only a day for a week.
Until now, there is no way to separate holiday, saturday and sunday.

Test Plan:
1. saturday
```
struct tm t = { 0, 0, 12, 6, 0, 0, 6, 6, -1 };
elm_calendar_mark_add(obj, "weekend/day1", &t, ELM_CALENDAR_WEEKLY);
```
2. sunday
```
 struct tm t = { 0, 0, 12, 7, 0, 0, 0, 0, -1 };
 elm_calendar_mark_add(obj, "weekend/day2", &t, ELM_CALENDAR_WEEKLY);
```

Reviewers: CHAN, cedric, raster

Reviewed By: raster

Subscribers: raster, akanad, id213sin, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D4148
2016-07-11 16:10:35 +09:00
Youngbok Shin 8e93b88175 edje: update a style when a style is added as class's member
Summary:
If there is no member styles when a text_class is updated,
newly added styles can't be updated.
So, newly added styles as member of text_class should be updated.
@fix

Test Plan:
Test case is included.

1. Run "elementary_test -to "font overlay""
2. Press Next button. Check the font size.
3. Press Prev button.
4. Put font_size as 50
5. Click Apply button.
6. Press Next button. Check the font size is not changed.

Reviewers: cedric, tasn, herdsman, raster

Subscribers: jpeg, z-wony, Blackmole

Differential Revision: https://phab.enlightenment.org/D4125
2016-07-11 13:13:39 +09:00
Woochan Lee 04eb9d2ed5 spinner: fix entry align of spinner.
Summary:
Spinner's entry align changed to center.
(Makes same align with spinner's text.)

Test Plan: elementary_test

Reviewers: jpeg

Subscribers: cedric, jpeg

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-07-08 10:04:00 -07:00
Stefan Schmidt 2ab73f5db0 data: fix last set of data files with executable bit 2016-07-07 14:32:41 +02:00
Jean-Philippe Andre 8fb3fc166f theme: Add fade-in/out for block regions (popup & notify)
Those are a bit faster than the content transitions. I believe the
popup transition time should be reduced. 500ms is way too long for
such animations.
2016-07-04 18:10:38 +09:00
Jean Guyomarc'h 9622146c3d elementary: add test for edje external combobox 2016-07-03 21:40:03 +02:00
Andy Williams 460308a95b elementary: Update connman theme for all security
Provide the appropriate lock icon for less common security types.
@fix
also allow the icons to grow on scaled displays
2016-07-03 17:25:37 +01:00
Jean-Philippe Andre e0cda40515 slider: fix edje warning for vertical style
Follow-up of D4117
2016-06-30 16:11:32 +09:00
Shuhrat Dehkanov 0757e209d2 slider: fix edje warning
Summary:
ERR<18878>:edje lib/edje/edje_calc.c:2767 _edje_part_recalc_single() file /usr/local/share/elementary/themes/default.edj, group elm/slider/horizontal/default has a non-fixed part 'elm.swallow.icon'. You should add 'fixed: 1 0'. But in order to optimize the edje calc, we add it automatically.
ERR<18878>:edje lib/edje/edje_calc.c:2767 _edje_part_recalc_single() file /usr/local/share/elementary/themes/default.edj, group elm/slider/horizontal/default has a non-fixed part 'elm.swallow.end'. You should add 'fixed: 1 0'. But in order to optimize the edje calc, we add it automatically.

Test Plan: Launch an app with slider, open the slider and observe the console output

Reviewers: cedric, singh.amitesh, jpeg

Subscribers: seoz, minkyu

Differential Revision: https://phab.enlightenment.org/D4117
2016-06-30 16:10:10 +09:00
Jee-Yong Um 8a988717e1 elementary/layout: attach edje object API with eo compositing
Test Plan: make check

Reviewers: Hermet, jpeg, cedric

Subscribers: slotus.lee

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

Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
2016-06-27 11:18:05 -07:00
Jiwon Kim 7a17f6fb47 elm_entry: restrict focus region to inside of entry object area
Summary:
Focus region must be located in entry object.
Therefore if it get out of entry,
 it just returns last cursor position that can be shown.

@fix

Test Plan:
1. elementary_test "Entry on Page Scroll"
2. click 2nd btn and close popup
3. page should not be scrolled

Reviewers: raster, herdsman, id213sin, woohyun, tasn, cedric

Subscribers: jpeg

Differential Revision: https://phab.enlightenment.org/D4072
2016-06-27 15:45:10 +09:00
Jean Guyomarc'h e8dc7fb6fd elementary: add test for external icons
The ExtIcon elementary test shows how edje external icons
can be used.
2016-06-26 23:11:59 +02:00
Daniel Hirt dbc82782d1 Ui text: introduce this new text widget
This composite object utilizes the Efl.Canvas.Text, Efl.Canvas.Text.Cursor and
Efl.Ui.Interactive API to server as a proper replacement for the Elm Entry
widget.

@feature
2016-06-16 19:15:20 +01:00
Davide Andreoli 39a565e538 FDO icons: improve looks of some Actions icons
following a 16x16 grid to make them render better at small sizes
2016-06-13 00:16:28 +02:00
Davide Andreoli 839c4d1bd9 FDO icons: added International flags 2016-06-12 21:35:47 +02:00
Davide Andreoli 7fc6192cf4 FDO icons: complete the Status category
...4 icons still missing
2016-06-12 17:33:24 +02:00
Davide Andreoli b1ff6beefc FDO icons: complete the Devices category 2016-06-12 14:15:54 +02:00
Davide Andreoli de0dd85096 FDO icons: complete the Actions category 2016-06-12 13:18:47 +02:00
Davide Andreoli 9c7827071f FDO icons: complete the Emblems category 2016-06-12 10:23:05 +02:00
Andy Williams da1506d4e8 elementary: Fix elm_code theme lookup and use correct naming 2016-06-06 23:59:52 +01:00
Tom Hacohen 8809ed1629 Merge elm code, a code editing widget into the efl
It was decided to merge this and mark the code as BETA for now.
It's currently being used by EDI and should also be used by enventor and etc.
2016-06-06 14:28:16 +01:00
Davide Andreoli 5eff3ee9dd FDO icons: and finally install the icons in fdo format
After this commit you will find a new icon theme in your system,
it is called Enlightenment-X and is build using the same icons used
in the elm theme. Using this theme you can have non-efl
and efl apps to use the same icons.

#StupidAutotools that require me to list each icon and each folder
to be able to install them
2016-06-05 16:13:00 +02:00
Cedric BAIL efb9c26a1c elementary: integrate elm_code theme. 2016-06-03 13:55:24 -07:00
Carsten Haitzler aec0cb9a67 elm fileselector - make ok/cancel in selector configurable per os
so the theme build can order ok/cancel based on preference for an os,
so make configure have an option for this and build the theme
specifically based on that option. enable the option if you want mac
style cancel, ok or default ok, cancel as is common elsewhere.

  --enable-cancel-ok

is the option

@feature
2016-06-02 18:38:57 +09:00
Jean Guyomarc'h 098aa1615f elementary: fix runtime warning about missing fixed part 2016-06-01 22:46:31 +02:00
Davide Andreoli 343cd4da0e FDO icons: better icon for "preferences-other"
This is the icon apps should use for their settings
2016-05-29 16:55:39 +02:00
Jiwon Kim f20f4c6e50 Elm entry: fix returning wrong focus region
Summary:
In on_focus_region function,
entry returns relative x,y position from edje object.
It should be calculated from elm object's position.

@fix

Test Plan:
1. $elementary_test "Entry on Page Scroll"
2. click under button
3. click upper text in entry
4. page should not be scrolled

Reviewers: tasn, cedric, woohyun, Hermet, herdsman, raster

Subscribers: Blackmole, id213sin, cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3923
2016-05-26 17:25:57 +09:00
Amitesh Singh 534c035fb7 slider: theme - fix warnings
Fixes warnings related to "disabled" & "disabled_visible" states
not present in respective parts.

@fix
2016-05-25 11:47:18 +05:30
Amitesh Singh c983b3e1e6 slider: move range as a group in theme
Most of the used cases would be slider without range, hence move
range feature to a new theme.
"elm/slider/range/../.."
2016-05-25 10:35:38 +05:30
Davide Andreoli f891cdc251 FDO icons: better icons for zoom-* 2016-05-22 13:25:21 +02:00
Davide Andreoli 07a47cae0d FDO icons: added all the Devices icons 2016-05-21 18:54:37 +02:00
Hermet Park 9dea21d126 elementary/colorselector: apply scale factor.
Some parts of ui have scale factor, but some don't
Apply scale factor to whole parts for working properly.
2016-05-18 17:53:05 +09:00
Davide Andreoli 0c26ef2d16 FDO icons: duplicate icons instead of symlink usage.
Windoz do not support symlinks :(
2016-05-15 17:06:35 +02:00
Davide Andreoli 771a3da650 FDO icons: add some Application icons
mostly the ones used by elm_config
2016-05-15 15:34:42 +02:00
Mike Blumenkrantz 6c26857190 theme: add clip for disabling focus effects on some windows
ref T3408
2016-05-10 12:30:14 -04:00
Davide Andreoli 4da0722a8d FDO icons: more work on Places icons 2016-05-08 19:06:48 +02:00
Davide Andreoli 8186eaf36e FDO icons: redesigned all the actions icons 2016-05-08 14:24:11 +02:00
Davide Andreoli ba1e70278e FDO icons: reenable all the new icons, this time in png format
#SecondTry
2016-05-07 16:55:40 +02:00
Davide Andreoli 45aabe5162 FDO icons: convert the Status ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli 893b3ce0b4 FDO icons: convert the Actions ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli dfc5fc2c21 FDO icons: convert the Categories ctx to png 2016-05-07 16:39:24 +02:00
Davide Andreoli ca687f4698 FDO icons: convert the Emblems ctx to png 2016-05-07 16:39:23 +02:00
Davide Andreoli 52197df02a FDO icons: convert the Places ctx to png 2016-05-07 16:39:23 +02:00
Davide Andreoli f0025b34c8 Disable the new svg icons for the moment :(
As explained in the ml we are hitting an issue with the svg loaders not included in efl
2016-05-05 23:17:46 +02:00
Davide Andreoli 6c2c9bc63a Fix distcheck wrt new fdo icons
distcheck is still not working for the lacks of the svg loader in efl
2016-05-05 22:41:09 +02:00
Davide Andreoli 43e4fac316 fdo icons: added Categories icons
this icons are blindly copyed from the RaveX/Faenza themes,
they are a bit alien in looks, I consider them as a
placeholder for some more eflish icons
2016-05-05 20:46:14 +02:00
Davide Andreoli 9420eb05c3 Elm icons: keep all old icons for compat 2016-05-05 19:11:50 +02:00
Davide Andreoli 7ee36225e2 Add (quite) all the status icons 2016-05-05 19:11:50 +02:00
Davide Andreoli 5feb9c6e52 Add all the Action icons, and TODO placeholder for ALL FDO icon names.
I really don't like the look of those new icons, will improve them in a second step
2016-05-05 19:11:50 +02:00
Davide Andreoli 3c8597d3fc Initial structure for a proper FDO compliant icon theme.
The idea here is to provide a "real" fdo icon theme along the icons in the elm edje theme.

To minimize file redundancy the icons are profided directly in a fdo structure and picked
in icon_fdo.edc. Also I'm using all the icons in svg format so that we don't need to provide
all the creazy sizes as per fdo spec.

More icons will comes in the next commits
2016-05-05 19:11:50 +02:00
Jaehyun Cho 37667cb69f Revert "genlist: Change group_index swallow parts to be squares."
This reverts commit 5f59e134eb.

This causes that icon region of genlist group_index item is displayed
although icon is not set.
2016-05-03 11:28:47 +09:00
Hermet Park 05394eabab elementary button: fix a anchor style edc error.
keep clicked description since inherited program still requires it.
2016-05-02 16:53:37 +09:00
Jaehyun Cho 5f59e134eb genlist: Change group_index swallow parts to be squares.
"elm.swallow.icon" and "elm.swallow.end" of group_index item were not
squrares. So change those swallow parts to be squares like default
item's swallow parts.
2016-04-29 20:10:12 +09:00
Andy Williams 7c19fed3e3 elementary: Re-add some old icon names as deprecated 2016-04-27 22:22:09 +01:00
Andy Williams 36113b1535 elementary: fix a few non-standard icon names
moving the widgets away from non-standard names.
Tidy the icon sets to clarify what's standard.
2016-04-27 00:01:08 +01:00
Mike Blumenkrantz 0ab0622a3a theme: don't use timed transition for comp focus out glow 2016-04-22 15:24:21 -04:00
Mike Blumenkrantz c832ca1732 theme: explicitly hide focus glow for comp menu themes
this was getting clipped under x11 and was displaying itself (poorly) on wayland
2016-04-22 15:15:33 -04:00
Amitesh Singh ea6027b3c8 theme: add nstate.edc in Makefile.am
fixes make dist
2016-04-08 09:20:24 +05:30
Amitesh Singh 56ab435998 elm_nstate: introduce nstate widget and inherit check from it
Test Plan:
elementary_test -to "nstate"

@feature

Reviewers: yashu21985, tasn, Hermet, seoz, smohanty, felipealmeida, JackDanielZ, jypark, woohyun, herdsman, raster, cedric, jpeg

Subscribers: saurabhbunty, seoz

Differential Revision: https://phab.enlightenment.org/D3786
2016-04-07 19:05:57 +09:00
Stephen Houston 31114fb650 Elementary: Don't send selected signal to a part with no selected state. Removes warnings. 2016-04-05 20:39:35 -05:00
Mike Blumenkrantz 56fcdd5150 theme: fix a bunch of the fixed: X Y edje errors 2016-04-01 16:22:45 -04:00
Andrii Kroitor 1f4c7f171b elementary: fix errors in default theme
Summary: fix errors with missing "fixed" and with missing descriptions

Test Plan: elementary_test

Reviewers: cedric, Hermet

Subscribers: jpeg, reutskiy.v.v

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

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2016-03-30 14:15:15 -07:00
Mike Blumenkrantz 18cbf953d6 Revert "theme: undo recent changes to elm window border shadow_spacer part"
This reverts commit aaf8b86179.

it turns out that this was irrelevant and there was some less-than-competent
engine code trying to manhandle surface sizes
2016-03-30 15:45:06 -04:00
Cedric BAIL 984dac4d36 elementary: make theme depends on its files again. 2016-03-29 16:31:12 -07:00
Stefan Schmidt 2dfd517c8a theme: make sure new theme images from slider range change get distributed
In commit 1152fb3e35 two new image have been
added but not added to the list of image files need to distributed. This
broke make distcheck.
2016-03-29 11:57:41 +02:00
Mike Blumenkrantz aaf8b86179 theme: undo recent changes to elm window border shadow_spacer part
this breaks window sizing in wayland

partially reverts c413544ef7
2016-03-28 17:06:32 -04:00
Yeshwanth Reddivari 1152fb3e35 Slider: Theme - Add support for range in edc
phab: https://phab.enlightenment.org/D3821
Test Plan: elementary_test -to slider

@feature

Change-Id: Ibc3f7c93efb927a6fc602f246a795c426f80bd39
2016-03-28 13:41:27 +05:30
Carsten Haitzler c413544ef7 elm theme: do some slickening up of shadows
so i had a separate flat theme i was working on but i just can't keep
up with changes so i'm just putting in some of the nicest bits here
slowly like nicer shadows.

@feat
2016-03-25 11:04:35 +09:00
Cedric Bail 6ffdc07f76 elementary: and now compile all left over data. 2016-03-24 11:23:11 -07:00
Cedric Bail 7a57e27108 elementary: build themes. 2016-03-24 11:23:11 -07:00
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00