Commit Graph

166 Commits

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