Commit Graph

688 Commits

Author SHA1 Message Date
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