Commit Graph

792 Commits

Author SHA1 Message Date
Carsten Haitzler ac1460dab3 elm theme - more cc work 2021-06-04 12:29:22 +01:00
Carsten Haitzler 6fb139f5f1 elm theme - more cc work 2021-06-01 10:07:18 +01:00
Carsten Haitzler c550b16c3a elm theme - more cc's 2021-05-31 12:23:16 +01:00
Carsten Haitzler 96f10ecba0 elm theme - more cc work 2021-05-26 19:18:02 +01:00
Carsten Haitzler 0083affabc elm theme - cc work 2021-05-26 17:49:23 +01:00
Carsten Haitzler 36458db9dd elm theme - more cc work 2021-05-26 03:43:15 +01:00
Carsten Haitzler 434fddacdb elm theme - more cc 2021-05-26 03:43:15 +01:00
Carsten Haitzler 630f887657 elm theme - more cc work 2021-05-26 03:43:15 +01:00
Carsten Haitzler 47b0fc1384 elm theme - more cc's 2021-05-21 13:14:57 +01:00
maxerba 4e20d09570 updating french and italian translations 2021-05-19 14:24:16 +02:00
Carsten Haitzler 14d6d85ca3 elm theme - pager popup - scale 2021-05-18 13:42:07 +01:00
Carsten Haitzler 01123ab654 elm theme - fix dialog text cc - wrong name 2021-05-17 15:55:17 +01:00
Carsten Haitzler 6c4fc5bc8d elm theme - more cc's 2021-05-15 13:39:29 +01:00
Carsten Haitzler d07ddb74db elm theme - more cc work 2021-05-15 11:26:11 +01:00
Carsten Haitzler f3bec3dc42 elm theme - elm entry - colorclass me up baby... 2021-05-15 11:01:24 +01:00
Carsten Haitzler a7c8ec2a56 elm theme - cc's for mono icons 2021-05-15 10:32:52 +01:00
Carsten Haitzler 2920834a3d elm theme - csd shadow - mirror ssd shadow colorclasses 2021-05-15 10:27:58 +01:00
Carsten Haitzler fe11ac1e92 elm theme - do cc's for border 2021-05-14 19:18:06 +01:00
Carsten Haitzler cabf08e6de elm config - add palette config and adjust icons in toolbar 2021-05-11 12:20:23 +01:00
Carsten Haitzler 598a2c9328 elm theme - more list cc work 2021-05-10 20:58:55 +01:00
Carsten Haitzler d9484cf293 elm theme - genlist polishin + colorclasses 2021-05-10 19:55:43 +01:00
Carsten Haitzler 53e64a9967 el, theme - genlist - fix compress mode 2021-05-10 18:23:26 +01:00
Carsten Haitzler b159df022a elm theme - more colorclasses 2021-05-09 20:24:48 +01:00
Carsten Haitzler ba64f5e8a1 elm theme - more color classes 2021-05-09 20:23:07 +01:00
Carsten Haitzler 87f8156ef2 elm theme - fix shadow border scale to match image 2021-05-08 13:15:37 +01:00
Carsten Haitzler bd16e7d903 elm theme - colorsel - fine tuning 2021-05-07 14:25:12 +01:00
Carsten Haitzler bd1656ed48 elm theme - add add and sub icons 2021-05-07 14:25:12 +01:00
Carsten Haitzler 64e02a0413 elm theme - do more colorclasses 2021-05-07 14:25:02 +01:00
Carsten Haitzler e80779d67d elm - config - compress default configs 2021-05-07 00:02:05 +01:00
Carsten Haitzler 8b6e91d8bd elm - add color palette file build with the start of a default palette 2021-05-07 00:02:05 +01:00
Carsten Haitzler f7449d802c elm theme - begin applying colorclasses 2021-04-29 01:05:03 +01:00
maxerba 994f520bfd Updating french translation 2021-04-23 18:16:49 +02:00
Carsten Haitzler 492a310840 elm theme - combobox - make dropdown event area obvious 2021-04-22 11:21:49 +01:00
Carsten Haitzler 42f3b49d05 elm win - fix eval to not be delayed after shows and state changes
this allows insgtant response to being de-iconified which mean instant
beginniung of rendering. we should enable this by default too so
modify config to do just that.

this basically means if a window is iconified, efl will not render to
it to save power/effort. it'll start again when it de-iconifies
2021-04-20 18:55:17 +01:00
Carsten Haitzler 7f02c57092 elm theme - add clock freeze/thaw support 2021-04-20 10:16:51 +01:00
Carsten Haitzler 301bd78a19 elm theme - emit right signal for frame close 2021-04-18 20:20:36 +01:00
Carsten Haitzler 5f89819782 elm theme - fix e slider theme vert to scale 2021-04-18 13:19:57 +01:00
Carsten Haitzler 7c16765e1b elm frame - add more styles (icon, border and overlay variants)
this shoulpd have been day 0, but now add new styles that add an
elm.swallow.icon spot for an icon in the frame and a style that looks
like a border (also with icon as borders have them) and a close button
too. overlay variants are for overlaying so might be semi-transparent
2021-04-18 00:59:09 +01:00
Carsten Haitzler 6a657acf13 elm theme - add icon 2021-04-18 00:59:09 +01:00
Carsten Haitzler 5b17444313 edje - edje_cc - add no warning for unused images and use it
a test edje has lots of unused images - it's not important so silence
warnings.
2021-04-16 04:09:06 +01:00
Carsten Haitzler 0c0d2c33bc elm theme - add orig svg icon used for e mods 2021-04-14 23:27:41 +01:00
Carsten Haitzler 7ea786d7df elm theme - add gradient bg's 2021-04-10 21:53:35 +01:00
Carsten Haitzler 7d0715ca77 elm theme - bg - add stripe and check std bg's 2021-04-10 19:53:22 +01:00
Carsten Haitzler 9c6469d974 elm theme - some more original svgs used for e modules - handy in flat 2021-04-10 18:34:15 +01:00
Carsten Haitzler 71024f30e2 elm theme - redo zoom icons to work better at small sizes 2021-04-10 18:31:27 +01:00
Carsten Haitzler 4a080fc315 elm theme - add sub icon in addition to add 2021-04-10 17:31:35 +01:00
Carsten Haitzler 220992f85c elm theme - make about dialogs scale more nicely - also match buttons 2021-04-10 12:41:07 +01:00
Carsten Haitzler 012d3cf797 elm theme - sysncon - polish scaling 2021-04-09 13:29:53 +01:00
Carsten Haitzler 69cd4b4188 elm theme - polish theme - add util-term icon for edi elm code cols 2021-04-07 11:33:43 +01:00
Carsten Haitzler bc2ddc85ee elm theme - fix outdent frames and edi match color 2021-04-05 16:28:09 +01:00
Carsten Haitzler 5bfae355b0 elm theme - elm code - make selections semi-trans like entry 2021-04-05 13:18:32 +01:00
Carsten Haitzler a2680bb138 elm theme - fix centering of icon only buttons 2021-04-02 12:33:07 +01:00
Carsten Haitzler 0e97ae043f elm theme - add menu icon (hamburger menu) 2021-04-02 12:16:22 +01:00
Carsten Haitzler 61d816659c elm theme - remove color_classes - preparing to redo them 2021-04-02 01:53:26 +01:00
Carsten Haitzler 638b1a7c9b elm theme - icons - give them a logical min size of ICMIN 2021-04-01 20:42:19 +01:00
Carsten Haitzler c4128bd580 elm theme - fix efl ui progress signal handling 2021-04-01 16:56:22 +01:00
Carsten Haitzler 39152ab174 elm theme - fix efl ui progress icon 2021-04-01 16:56:22 +01:00
Marcel Hollerbach 8900c8048c theme: only emit press once
otherwise things go haywire.
2021-04-01 16:59:15 +02:00
Carsten Haitzler f4dc9d24de elm theme - fix fixed warning for radio 2021-04-01 14:55:51 +01:00
Carsten Haitzler 72f19cc9fa elm theme - fix disabled text style - missing heading 2021-04-01 00:41:44 +01:00
Carsten Haitzler d883a747eb elm theme - fix clip of efm toolbar 2021-03-31 19:03:21 +01:00
Carsten Haitzler 712cf6a2ce elm theme - work on sizing of icons 2021-03-31 18:47:25 +01:00
Carsten Haitzler b90a8a1819 elm theme - add overlay and blank styles for buttons
useful for things like entice
2021-03-31 11:29:33 +01:00
Carsten Haitzler a878f5f9b4 elm theme - improve mixer svg 2021-03-30 14:52:05 +01:00
Carsten Haitzler ef0df8f441 elm theme - fix hoversel button align to match items 2021-03-30 14:41:45 +01:00
Carsten Haitzler aebedcafdf elm theme - add heading tag 2021-03-30 14:41:39 +01:00
Carsten Haitzler 8dd317ffd8 elm theme - add more icons for more audio devices 2021-03-29 11:34:23 +01:00
Carsten Haitzler db6dc82a41 elm theme - add some more icons for e
speakers and headphones
2021-03-29 01:24:43 +01:00
Carsten Haitzler 6f110a80e4 elm theme - add gadgets icon 2021-03-28 22:51:53 +01:00
Carsten Haitzler ff765e8856 elm theme - add battery e icon 2021-03-28 22:30:11 +01:00
Carsten Haitzler a2f672455c elm theme - fix svg 2021-03-28 21:56:23 +01:00
Carsten Haitzler f65377db30 elm theme - remove commented out img 2021-03-28 15:31:48 +01:00
Carsten Haitzler 7b246f19ba elm theme - remove more images 2021-03-28 15:28:49 +01:00
Carsten Haitzler d684401fd0 elm theme - remove access image - use rect 2021-03-28 15:14:50 +01:00
Carsten Haitzler f7e83e8f73 elm theme - remove more old images 2021-03-28 15:12:34 +01:00
Carsten Haitzler fe092932da elm - theme - remove more old dark images 2021-03-28 15:08:00 +01:00
Carsten Haitzler ccae27fcbe elm theme - remove more unused images 2021-03-28 14:59:27 +01:00
Carsten Haitzler b5cf6c874c elm - theme - clean up old randr theme design to nuke old images 2021-03-28 14:52:02 +01:00
Carsten Haitzler 9a37e49949 elm - theme - remove ews stuff as now gone and remove images not needed 2021-03-28 14:04:13 +01:00
Carsten Haitzler 0e3a2e6ec7 elm theme - move to usnig same icons and remove unused images 2021-03-28 02:20:24 +01:00
Carsten Haitzler d40e2d8771 elm theme - sys - nuke unused images and be flat 2021-03-28 02:13:18 +01:00
Carsten Haitzler 235d2c9a2f elm theme - use proper icon not png direct 2021-03-28 02:07:55 +01:00
Carsten Haitzler 41407f2516 elm theme - remove unused groups and edc files
bryce is no more and it was experimental so... remove. less stuff to
work on.
2021-03-28 02:03:52 +01:00
Carsten Haitzler 423fd93ef3 elm - theme - fix border move/resize hover info to be fully flat 2021-03-28 00:39:44 +00:00
Carsten Haitzler 75d62f9b92 elm - theme - remove commented out png from about theme 2021-03-28 00:28:05 +00:00
Carsten Haitzler 41143faf57 elm theme - fix dup i-home icon 2021-03-28 00:26:53 +00:00
Carsten Haitzler 56059389e0 elm - theme - comment out icon not used yet for less warnings 2021-03-28 00:22:34 +00:00
Carsten Haitzler c73afd9023 elm - theme - make theme smaller with lz4hc and 91perc qual background 2021-03-28 00:19:56 +00:00
Carsten Haitzler 46cdab7050 elm - theme - clean out lots of unused image files 2021-03-27 19:13:51 +00:00
Carsten Haitzler 5f3e662184 elm theme - efl ui tag - fix to be rect part 2021-03-27 18:54:15 +00:00
Carsten Haitzler 0499b6bdf4 elm them - gnelist - remove unused image entries 2021-03-27 18:53:29 +00:00
Carsten Haitzler 93a0ac694e elm theme - tab bar - fix old unused images - rmeove entries 2021-03-27 18:52:26 +00:00
Carsten Haitzler 830ebaf22d elm - theme - remove unused images and fix efl.ui separator 2021-03-27 18:49:45 +00:00
Carsten Haitzler 272adbfbc3 elm - make elm test edje build again - was including default theme stuff 2021-03-27 18:05:29 +00:00
Carsten Haitzler bf4e5b3afa elm theme - remove unused jpegs 2021-03-27 16:31:57 +00:00
Carsten Haitzler f59b5fd0e0 elm theme - move svg's to svg dir as they are src files not in build 2021-03-27 16:29:43 +00:00
Carsten Haitzler 3bad72a824 elm theme - remove edc includes that were removed 2021-03-27 15:07:48 +00:00
Carsten Haitzler 3ed3f82ca5 x 2021-03-27 15:04:33 +00:00
Carsten Haitzler 84c2da2c0f eln - theme - flat theme lands
This is where flat is now good enough to get to master, so ... in it
goes. it needs a lot of cleaning. lots of images no longer used in the
tree. needs wortk on colorclasses and what not. needs polishing for
scaling (much better than old default though). probably needs a
once-over yto ensure things have not been missed.

@feat
2021-03-27 15:02:13 +00:00
Alastair Poole d8023529a1 theme: border procstats use swallow.
This is all debatable and "up in the air", but, using a swallow
here is probably better.
2021-03-06 11:05:38 +00:00
Alastair Poole b3a1c400ac theme: Silence warning. 2021-02-09 19:31:08 +00:00
thierry1970 97f95e7362 Added the heif loader
Summary: that supports images : *.heif, *hiec and *.avif I have disabled *.avif images, there is already a loader.

Reviewers: stefan_schmidt, raster

Subscribers: raster, vtorri, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12135
2021-02-06 18:58:04 +00:00
Alastair Poole f3014132ce theme: border pass events. 2020-09-24 00:32:24 +01:00
Alastair Poole 9e57a89965 theme: basic theme handling of procstats. 2020-09-23 19:51:48 +01:00
Alastair Poole 86b5b6128c ibox: Preview Theme Code
Summary: Dependency for https://phab.enlightenment.org/D12046

Reviewers: raster

Reviewed By: raster

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D12047
2020-07-07 15:54:06 +01:00
Taehyub Kim df06418b6f Support WebP Animation Image Files
Summary:
Support WebP Animate Format Imaeg Files.
To support webp animation, apply webp animation decoder.

Test Plan:
1. compile src/exmaple/elementary/image_webp_example_01.c and 02.c
2. run the samples

Reviewers: Hermet, kimcinoo, jsuya, bu5hm4n

Reviewed By: Hermet, kimcinoo, jsuya

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11876
2020-05-29 11:40:37 +09:00
Carsten Haitzler 7beee62d6a elm theme - add support for smooth restart for e
just extra data item and extra program only used if it's a new e
2020-04-19 23:27:01 +01:00
Carsten Haitzler dff3bc6a5f elm - theme - add outline style for frames
new standard style. outline.
2020-04-19 18:41:39 +01:00
Mike Blumenkrantz a59956680d elm/config: fix thumbscroll config
this was broken a while ago by failing to correctly update all the configs

ref 6409cfa41b

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11294
2020-02-14 09:20:36 +01:00
Ali Alzyod a92f8c210b efl.ui.textbox: add and use keyboard bindings
As other widgets, efl.ui.textbox will use keyboard bindings instead of listen to keyboard events

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11236
2020-02-04 09:14:04 +01:00
Marcel Hollerbach 02245a2494 theme: rework a bit the tab_pager theme
the theme now works in a way where the current tab is in one color with
the content, so its correctly assosiated. The not selected items are in
a bit more gray setting so its meant to be in the background.

https://pasteboard.co/IB1UV8o.png

Differential Revision: https://phab.enlightenment.org/D10305
2020-02-03 17:16:06 +01:00
Ali Alzyod fab12448a4 config: replace evil tabs with spaces
Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11232
2020-01-29 16:37:17 +01:00
Simon Tischer b8ccf5e5e7 theme: fix close issue for notification popup
This gives back the ability to close the notification.

fixes T8316
2020-01-24 09:17:16 +01:00
Marcel Hollerbach bac185e8f3 Introduce Separator
Summary:
this is just like elm_separator, just written for unified widgets.
This inherits from item, which has the advantage that this separator can
also be added into item container.

Reviewers: zmike, segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11125
2020-01-17 16:10:40 +01:00
Marcel Hollerbach 3ee174a5bf theme: remove not yet used groups
these groups are not used yet. So remove the groups for now.

ref T8501

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11077
2020-01-16 09:18:16 +01:00
Marcel Hollerbach 7c0ea35097 theme: make spin button work better
this is now using the EFL_UI_CLICKABLE_PART_BIND macro, which makes
multiple clicks work correctly, which improves the overall usability of
the widget.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D11000
2020-01-13 15:57:16 +01:00
Carsten Haitzler d958f6907d elm - theme - fix corner case of double-select on new radio styles 2019-12-30 14:06:50 +00:00
Carsten Haitzler f989cea52d elm - add plain and icon style radio and check and elm tests for it
this will be common enough to put into elm - there is no way to do a
gimp style "tool palette" where you select one of them (like one from
a set of radio buttons) at all times... but you don't want the "round
circle" but instead want it to look more like a button to fit in with
a palette style look. this calls for styles... so here they are.

@feat
2019-12-28 20:39:08 +00:00
Marcel Hollerbach c49880076c efl_ui_item: use signals from the theme and not object
the problem here is that when we are using the signals from the object,
then the edje object itself will receive press/unpress events before
any content that is swallowed into the edje object.

This means, that no clickable content, added to a item could be clicked
without selecting / unselecting the item. Which was a problem.

With this commit the theme is sending signals which are then passed to
the efl.input.clickable mixin, this way, the part is stacked below the
added content, which means, clickable content will not select / unselect
the item anymore.

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10892
2019-12-20 10:33:38 -08:00
maxerba cfec50e9cf Updating french translation 2019-12-05 18:06:12 +01:00
Marcel Hollerbach acfd031e47 efl_ui_spotlight_indicator: make this undependend from the main widget
the main widget before presented a layout to hold the indicator,
however, for the causual case, this is not really needed. The indicator
itself is anyways going to be a more general prupose widget soon, where
the layout here can be taken as an starting point.

Additionally, this fixes general displaying of the indicator, before the
box padding refactor, a padding would have changed the minsize of the
mix, this is not the case anymore, which forces us to calculate the
minsize of the indicator theme.

Differential Revision: https://phab.enlightenment.org/D10764
2019-12-02 18:30:20 +01:00
Marcel Hollerbach d51bdf3c77 efl_ui_spotlight: move event rectangle
for now the eventrect was a swallow part, created by the container, set
to the edje layout. However, the only real user for this is the scroll
spotlight manager.
Which means, we have mostly unneeded element resized by edje, which is
quite an overhead. With this commit, this is moved to the scroll
manager, which makes the usage with stack and plain less memory heavy.

Differential Revision: https://phab.enlightenment.org/D10763
2019-12-02 18:30:19 +01:00
Alastair Poole 53dd5857af icon_dummy: replace existing image.
This icon is used whenever an icon cannot be found. It's most
commonly found within E itself. The previous iteration has been
with us since at least Black and White (theme), which is pre
E17. Tried to keep it simple yet informative.
2019-12-01 15:45:39 +00:00
Marcel Hollerbach ebf8d0cf30 theme: rename pager to spotlight
that mirrors the name of the widget.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D10706
2019-11-27 15:55:15 +01:00
Marcel Hollerbach 14c9d43f98 theme: remove unused parts
they seem totally useless, no idea why they are there.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D10705
2019-11-27 15:55:13 +01:00
Marcel Hollerbach 58a2fa931b efl_ui_spotlight_manager: remove the group object
i do not know why its there, it caused a bug in the past (in regards of
clippers and visibility). Now we can get rid of it completly, the state
of it is always compatible to the one of the widget itself, soooo ...

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D10702
2019-11-27 15:55:03 +01:00
Woochanlee 3b743715a0 theme: Delete max that seems not right.
Summary:
It prevents popup edje resize.
So not we cant see slider indicator.
T8483

before that edje calc in render time.
But now we dont calc for no size edje.

Limit max 0 0 is really looks weird.

Test Plan: elementary_test->slider ->check indicator.

Reviewers: eagleeye, Hermet, cedric, smohanty, Jaehyun_Cho

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8483

Differential Revision: https://phab.enlightenment.org/D10721
2019-11-25 19:10:41 +09:00
Carsten Haitzler 2ef20d1489 elm theme - ensure hotspot is visible so it is calculated
new changes to avoid calcs on invisible parts means the hotspot doesnt
recalc thus doesnt move thus... is wrong. make it visible in the theme
to ensure it is.
2019-11-16 13:02:10 +00:00
Marcel Hollerbach a23b545249 theme: redo scroller theme of elm
Summary:
this was a little bit weird. There was a script that did what we already
do in C and pass it on via signals, however, there was also somewhere a
bug in this script, the arrow was not getting enabled, even if the
position is not completly max and not completly min, the problem here
was that the numbers that are passed to edje are not 100% correct (I
think they got somehwere on the way casted to an int).

With this commit we just use the signals from c in the theme and replace
the theme, this should also make everything a bit easier on the
mainloop, as a single movement of the scroller does not schedule 10
timers anymore.

ref T4918

Reviewers: zmike, eagleeye, woohyun

Reviewed By: zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T4918

Differential Revision: https://phab.enlightenment.org/D9906
2019-10-25 14:04:40 -04:00
junsu choi 3f51e30976 elementary_test: Add the value provider test for animation_view
Summary:
Add an Value Provider item to test vector animation on elementary_test.
This test is to apply Efl.Gfx.Vg.Value_Provider to the loaded efl_ui_animation object.
If Evas Vg Json(Lottie) Loader is not supported,
use the vector class to output the svg file.

Depends on D9874
Depends on D9897

Test Plan: elementary_test -> Value Provider

Reviewers: Hermet, kimcinoo, smohanty

Reviewed By: Hermet

Subscribers: cedric, #committers, #reviewers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10015
2019-10-02 14:38:45 +09:00
Jaehyun Cho a969f84d03 theme: remove duplicated version 119
Summary: Since the current version is 123, duplicated version 119 is removed.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10248
2019-09-30 07:21:41 -04:00
Jaehyun Cho 839b0f7d61 theme: port to efl.ui.clickable and use macro for anchor style
This patch applies the following commits to anchor style.
bb1388798b
122ca2fa2f

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D10247
2019-09-30 09:47:04 +02:00
Xavi Artigas 18ea5fd118 themes: Rename "dragable" to "draggable"
Summary:
"Dragable" is a misspelling:
https://en.wiktionary.org/wiki/dragable

We have it EVERYWHERE in EFL, even with jokes:
./src/lib/efl/interfaces/efl_ui_drag.eo:1

This patch only fixes the theme API so it does not get carved in stone for this release.

Depends on D10217

Test Plan: No functional changes.

Reviewers: zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10218
2019-09-27 08:42:27 -04:00
Jaehyun Cho b5a917c120 theme: replace hbar and vbar to horizontal_bar and vertical_bar
Summary:
To make clear the meaning, hbar and vbar are replaced to horizontal_bar
and vertical_bar.

Reviewers: zmike, woohyun, segfaultxavi

Reviewed By: zmike, segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10217
2019-09-27 08:40:35 -04:00
Jaehyun Cho 04a2b7a048 theme: remove efl.track.slider and efl.track2.slider from efl_ui_slider
Summary:
efl_ui_slider does not support popup which shows the current value.
Therefore, efl.track.slider and efl.track2.slider swallows which set the
popup size and position are not required in efl_ui_slider.

Reviewers: zmike, woohyun

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10216
2019-09-26 23:21:48 -04:00
Mike Blumenkrantz bc855ec8b6 theme: add spec documentation for all stabilized theme groups in 1.23
Summary:
this is just output from edje-theme-spec tool. it isn't really enough to
be considered full theme documentation, but it's better than nothing

ref T8231
Depends on D10196

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10197
2019-09-26 18:00:32 +02:00
Mike Blumenkrantz 253e7d51db theme: remove efl_ui_slider "disabled" styles
Summary:
these should be handled in the regular theme group, no idea why they
existed
Depends on D10195

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10196
2019-09-26 18:00:32 +02:00
Mike Blumenkrantz 59709bc907 theme: migrate all efl,anim,activate (and similar) signals to efl,state,animation,activated
Summary:
ref T8231
Depends on D10166

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10167
2019-09-25 17:56:17 -04:00
Mike Blumenkrantz aab9341766 theme: efl,state,anim,stop -> efl,state,animating,stopped
Summary:
ref T8231
Depends on D10165

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10166
2019-09-25 17:56:11 -04:00
Mike Blumenkrantz 3ec56e0dc4 api: efl,state,busy,(start|stop) -> efl,state,busy,(started|stopped)
Summary:
ref T8231
Depends on D10163

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10165
2019-09-25 17:56:06 -04:00
Mike Blumenkrantz ecd3d2723b theme: remove unused scroller group
Summary:
this is just copied from legacy but not used for anything

ref T8231
Depends on D10162

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10163
2019-09-25 17:56:01 -04:00
Mike Blumenkrantz 6d6bfeecfa theme: use more explicit signal names for C <- theme scrollbar signals
Summary:
ref T8231

Depends on D10161

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10162
2019-09-25 17:55:55 -04:00
Mike Blumenkrantz edab064de9 theme: efl,action,clicked -> efl,action,click
Summary:
action signals should infinitives

ref T8231
Depends on D10160

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10161
2019-09-25 17:55:50 -04:00
Mike Blumenkrantz ab8306135c theme: use more explicit signal names for C -> theme scrollbar signals
Summary:
ref T8231

Depends on D10159

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10160
2019-09-25 17:55:45 -04:00
Mike Blumenkrantz 41f37c328e theme: use 'visible' style signals for spin_button button/entry visibility
Summary:
ref T8231
Depends on D10158

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10159
2019-09-25 17:55:40 -04:00
Mike Blumenkrantz 9b18e5a291 theme: efl,state,(content|text),(set|unset) -> efl,(content|text),(set|unset)
Summary:
this is versioned, so the correct signal will always be emitted for the theme
version that is provided

ref T8231

Depends on D10164

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10158
2019-09-25 17:55:35 -04:00
Mike Blumenkrantz 75c8fd1cc2 api: move eo-based radio and check widgets to use selectable signal names
Summary:
this is a more standardized name

ref T8231

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10157
2019-09-25 17:55:24 -04:00
Mike Blumenkrantz d2adb0d308 theme: /efl,orient,(horizontal|vertical)/efl,state,(horizontal|vertical)/
Summary:
these signals aren't actually used by anything, just changing for grep

ref T8231

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10156
2019-09-25 17:55:19 -04:00
Mike Blumenkrantz c99f7d06cb efl_ui/spin_button: fix signal namespacing
Summary:
efl,anim,activate is the signal used by buttons, which is what this is

ref T8231

Depends on D10099

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10100
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz cc88a1f875 efl_ui/timepicker: rename and namespace visibility signals
Summary:
this is consistent with efl api 'visible' property

ref T8231

Depends on D10098

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10099
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz 25fddaa748 efl_ui/scroller: remove unused "looping" signals
Summary:
this feature is not implemented

revert this patch to restore signal handling when the corresponding
features are implemented by widgets

ref T8231

Depends on D10097

Reviewers: cedric

Reviewed By: cedric

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10098
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz 9f7417ddde efl_ui/focus: rename focus visibility signals
Summary:
this is consistent with efl api 'visible' property

ref T8231

Depends on D10096

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10097
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz 84f7998cae efl_ui/scroller: rename bar visibility signals
Summary:
this is consistent with efl api 'visible' property

ref T8231

Depends on D10095

Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10096
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz 3d9b2f6666 efl_ui/alert_popup: rename show/hide signals to visible,on/off
Summary:
this is consistent with the efl api

ref T8231
Depends on D10081

Reviewers: segfaultxavi, cedric

Reviewed By: cedric

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10095
2019-09-24 17:12:01 -04:00
Xavi Artigas 63358e4286 theme: add 'required' to efl/border parts
Summary: ref T8231

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10094
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz d13bd5fa8e efl_ui/alert_popup: use normal C-based part aliasing and remove theme alias
Summary:
part aliasing should be done at the layout level, not using bespoke string
comparisons. also this removes the "title" part of the alert_popup theme
which was previously considered api

Depends on D10091

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10092
2019-09-24 17:12:01 -04:00
Mike Blumenkrantz c85e6e147d theme: manually specify version info for all eo-based widget themes
Summary:
this needs to be provided to verify that the theme corresponds to the
current version of the widget

ref T8231
Depends on D10079

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl_widgets

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10080
2019-09-24 17:12:01 -04:00
Xavi Artigas 5de77bd005 theme: add 'required' to efl/tab_pager group parts
Summary: ref T8231

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10087
2019-09-23 16:15:44 -04:00
Mike Blumenkrantz 0c0db1650a doc: wrap comment for EFL_UI_CLICKABLE_PART_BIND docs in edc
Reviewers: segfaultxavi

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10089
2019-09-23 22:09:42 +02:00
Xavi Artigas b90bcbd3b5 theme: add 'required' to efl/button:anchor group parts
Summary: ref T8231

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10086
2019-09-23 15:50:28 -04:00
Xavi Artigas 84dd06aa66 theme: add 'required' to efl/spin_button group parts
Summary: ref T8231

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10084
2019-09-23 15:50:28 -04:00
Xavi Artigas 27ec3c7c67 theme: add 'required' to efl/timepicker parts
Summary: ref T8231

Reviewers: zmike, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Maniphest Tasks: T8231

Differential Revision: https://phab.enlightenment.org/D10083
2019-09-23 15:50:28 -04:00
Mike Blumenkrantz 40b22d644d theme: add 'required' to efl/bg group parts
ref T8231

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10056
2019-09-23 10:33:27 -07:00
Mike Blumenkrantz db71c07646 theme: add 'required' to efl/popup (and related group) parts
ref T8231

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10057
2019-09-23 10:33:25 -07:00
Mike Blumenkrantz c4f87b46a6 theme: add 'required' to efl/scroller group parts
ref T8231

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10058
2019-09-23 10:33:23 -07:00
Mike Blumenkrantz acad0bd163 theme: add 'required' to efl/datepicker parts
ref T8231

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D10059
2019-09-23 10:33:21 -07:00
Mike Blumenkrantz 659e0fc00c theme: efl/photocam -> efl/image_zoomable
the theme group for a class should match its class name

ref T8231

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D10052
2019-09-23 15:52:29 +02:00
Mike Blumenkrantz 527ca2e6c0 theme: remove dead popup theme groups
these widgets were removed

ref T8231

Reviewed-by: Xavi Artigas <xavierartigas@yahoo.es>
Differential Revision: https://phab.enlightenment.org/D10054
2019-09-23 15:52:28 +02:00
Marcel Hollerbach 7024e6f03f efl_ui_collection: update theme name
item_container was the wrong name here. this fixes this to use the
correct name in the theme. Additionally the file name in the file is
adjusted.

Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9849
2019-09-10 09:10:11 +02:00
Marcel Hollerbach ef3d88dfc9 introduce efl_ui_tab_bar_default_item
Summary:
Tab bar used a direct layout to implement all this functionality by its
own. However, it seems that we can reuse a lot of object functionality
that is already part of efl.ui.item. With this commit the features that
are not part of Efl.Ui.Item are moved to Efl.Ui.Tab_Bar_Default_Item.

The tab bar is changed in a way that you do not need to pass the icon
and label by hand anymore, you can rather just pass the tab_bar default
item. Additionally, the item for a tab_page can now directly be
generated from a page.

This is the first commit in order to cleanup efl_ui_tab_bar, tab_page &
tab_pager. The goal is also to implement our interfaces for inserting
elements on those objects. So our common test suites can also be used.

Reviewers: zmike, segfaultxavi, cedric, woohyun, bowonryu

Reviewed By: woohyun

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9726
2019-08-29 21:07:48 +09:00
Marcel Hollerbach e7ee0926a8 efl_ui_text: theme rename efl.end -> efl.extra
Reviewed-by: SangHyeon Jade Lee <sh10233.lee@samsung.com>
Differential Revision: https://phab.enlightenment.org/D9772
2019-08-29 08:29:56 +02:00
Marcel Hollerbach c467dc6e81 efl_ui_item: add keybindings for selecting changes
This started as a small commit, when pressing enter -> set the item as
selected.
However, it was a bit more complex, it seems that there was never config
update code to copy bindings into the user profile. Which lead to the
fact that you are missing a lot of keyboard related features if you
havnt wiped your config in the last 1-2 years. For me keybindings for
Efl.Ui.Scroller Tab_Bar Image_Zoomable (Item) have been missing and were
never inserted. WHich is a problem for a user just constantly updating.

For now i created a function that copies over the bindings from the
system config, and they are merged into the user config. Intentional
leaving our of keybinding structs for a user-config will result in them
beeing merged again on the next config update. If you want to get rid of
key bindings as a user you can just keep the empty struct, which is the
signal for "i know what i am doing, i do not want to have them". The
problem that the system config is partly invalidated (due to moving the
key bindings struct to the user config), is fixed due to the fact that
the config is reloaded after that.

This function should be called everytime someone updates the config in
regards of the keybindings.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9723
2019-08-26 14:42:47 +02:00
Mike Blumenkrantz 235e2dbed0 theme/scroller: don't "check" bar positions randomly in other programs
Summary:
this should be correctly triggered from the widget in order to avoid
recursive program/calc loops

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl_widgets

Differential Revision: https://phab.enlightenment.org/D9680
2019-08-23 13:38:33 -04:00
Mike Blumenkrantz bedb6df973 efl_ui/popup: remove anchor_popup class
Summary:
all functionality is now merged into the base popup class. this greatly
simplifies the codebase and deduplicates a lot of code

ref T7902
Depends on D9651

Reviewers: cedric

Reviewed By: cedric

Subscribers: herb, cedric, #reviewers, #committers

Tags: #efl_widgets

Maniphest Tasks: T7902

Differential Revision: https://phab.enlightenment.org/D9652
2019-08-21 10:42:04 -04:00
Hermet Park 1ada3e7427 example: replace svg resource and load it properly. 2019-08-21 18:14:48 +09:00
junsu choi 7a7d6a858d elementary_test: Add the animation view test
Summary:
Add an animation view item to test vector animation on elementary_test.
If Evas Vg Json(Lottie) Loader is not supported,
use the vector class to output the svg file.

Depends {D9451}

Test Plan:
elementart_test
Animation View

Reviewers: Hermet, smohanty, kimcinoo, zmike

Subscribers: zmike, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9472
2019-08-21 18:03:00 +09:00
Marcel Hollerbach 3ce3b3d48c introduce group item
this brings a group item in the style of genlist / gengrid group items.

The group item theme does currently not provide the signals in the theme
that would be needed for selecting it. This is kind of intended, but we
might need API to express that.

ref T8115

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9583
2019-08-21 07:50:46 +02:00
Mike Blumenkrantz e7cc65bdeb efl_ui/popups: convert from elm_scroller to efl_ui_scroller internally
efl_ui widgets should not use legacy widgets internally

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9596
2019-08-19 16:47:18 -07:00
Mike Blumenkrantz 067d65361e efl_ui/text: handle disabled text
no idea what's going on here with new styling but this makes it look
like it should

ref T6649

Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D9502
2019-08-06 09:26:36 +02:00
Marcel Hollerbach 6d0f514126 efl_ui_check/radio: use clickable
Summary:
with this commit the state of the check / radio buttons are changes when
the Widget is clicked. The Widget is now using clickable and emits all
the events.

ref T7865

Reviewers: segfaultxavi, zmike, Jaehyun_Cho, woohyun

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7865

Differential Revision: https://phab.enlightenment.org/D9456
2019-07-31 09:12:07 -04:00
Marcel Hollerbach 577b82dad6 Introduce Efl.Ui.Item_Container
this is a new widget which aims to replace Efl.Ui.Grid / Efl.Ui.List.
The widget is split up in a widget and a interface for item placement.

Efl_Ui_Item_Position_Manager: The interface contains API which is used
by the Item_Container to place the items, there is also a set of common
tests which tests for the casual tripping wires, and ensures that the
events are emitted in the correct moments (the later part still can be
improved)

Efl_Ui_Item_Container: The widget itself, it contains the API for the
enduser to add Items to the widget, it handles the different modes for
selection type and emits the events for selection changes. The pack API
is conform with the spec unit test. An additional set of tests is
defined which should be able to be run on every widget with a specific
position_manager beeing set.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D9285
2019-07-24 10:38:22 -07:00
Marcel Hollerbach d8f32042c4 efl_ui_spin_button: make theme consistent
this reduces the amount of code needed in the widget itself,
additionally, the theme now follows a scheme.

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D9230
2019-07-08 19:56:40 +02:00
Mike Blumenkrantz 0e65d0c651 efl_ui: remove nstate widget
Summary:
this doesn't seem to serve a purpose anymore and there's no point in
keeping it in tree

fix T7866

Reviewers: woohyun, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl_widgets

Maniphest Tasks: T7866

Differential Revision: https://phab.enlightenment.org/D9176
2019-06-26 10:25:14 -04:00
Marcel Hollerbach 48215560ab remove more files
Summary: those files are leftover from autotools. They have been missed before

Reviewers: stefan_schmidt, zmike

Reviewed By: zmike

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9143
2019-06-20 13:05:31 -04:00
Marcel Hollerbach 639869703f autotools: REMOVAL!
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW!
All praise to meson!

This time the final version, ci has been adjusted, and now does not try
anymore to build a removed buildsystem. However, the scripts in there
need cleaning up.

Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18 08:56:34 +02:00
Marcel Hollerbach 4f8e15c16c Revert "autotools: REMOVAL!"
This reverts commit e8c69667b0.

git push on a wrong branch, sorry. This will land today, but not now.
2019-06-18 08:12:53 +02:00
Marcel Hollerbach e8c69667b0 autotools: REMOVAL!
Get your seatbelt fastend! It is happening! AUTOTOOLS IS GONE NOW!
All praise to meson!

Differential Revision: https://phab.enlightenment.org/D9027
2019-06-18 08:11:55 +02:00
Mike Blumenkrantz 24a7682ab0 theme: fix fileselector search button layout
Summary:
to correctly (and quickly) calculate part geometry when setting a part relative
to another part, align must be set on the axis that is relative to another part.
also since the height on this part should not be changing, set fixed on the
vertical axis to optimize geometry calcs

@fix

Depends on D9009

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9010
2019-06-10 08:45:48 -04:00
Mike Blumenkrantz a17ab7f044 elm_test: add text mask case to masking demo
Summary: Depends on D8853

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8872
2019-05-31 09:19:26 -04:00
Mike Blumenkrantz 7387410019 elm_test: add smart object mask test to existing masking test
Summary:
this adds another masking functionality using a layout object to the test
when the toggle mask button is clicked enough times
Depends on D8849

Reviewers: cedric

Reviewed By: cedric

Subscribers: cedric

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8850
2019-05-31 09:19:26 -04:00
SangHyeon Jade Lee 57233f552c efl_ui: rename list empty item to list placeholder item.
Summary:
legacy full style item is introduced Efl.Ui.ListEmptyItem Class in new Efl Interface,
but using "Empty" name is too ambiguous to present style usage.
Thanks to @cedric and @segfaultxavi,
I found better name for this class, Efl.Ui.ListPlaceHolderItem,
as item hold the place which need to be replaced and relayouted by user generated content.

Depends on D8582

Reviewers: cedric, segfaultxavi, eagleeye

Reviewed By: eagleeye

Subscribers: cedric, #reviewers, segfaultxavi, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9034
2019-05-30 15:40:31 +09:00
SangHyeon Jade Lee 01cb1c32bd efl_ui : refactoring efl.part in item based classes.
Summary:
Most of item-based class will have similar efl.part such as text, icon, end.
creating this efl part per each class will be very hard to maintaining the class
and unnecessary eo generation.
so combine them in efl.parts of efl_ui_item.
sub item classes can use this efl.part by declairing ther own eo definition.

Reviewers: cedric, Jaehyun_Cho, segfaultxavi, eagleeye

Reviewed By: cedric, eagleeye

Subscribers: herb, woohyun, q66, lauromoura, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8582
2019-05-30 15:01:24 +09:00
Marcel Hollerbach 122ca2fa2f theme: add a macro file for making themes easier
CLICKABLE_SIGNAL_EMITS now can be used to setup all the events required
to have automatically emission of all the clickable events

Reviewed-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Differential Revision: https://phab.enlightenment.org/D8899
2019-05-15 18:53:57 +02:00
Marcel Hollerbach 81d8d8ee55 efl_ui_frame: migrate to efl.ui.clickable
Summary:
frame now uses efl.ui.clickable, which ensures correct click emittion.
The click event is not needed in the event anymore. However, now
efl,action,press / efl,action,unpress is needed.

Depends on D8825

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8826
2019-05-15 09:09:04 -04:00
Jaehyun Cho b60ca22839 efl_ui_popup: add efl.background swallow part
To make background part cover popup's bg image, efl.background swallow
part is added.
2019-05-15 19:39:46 +09:00
Marcel Hollerbach 282b76e2bd efl_ui_panes: migrate to efl_ui_clickable
Summary:
the implementation of efl_ui_clickable is now used to tricker the
events. efl,action,click and efl,action,click,double is not needed
anymore from the theme.

Depends on D8824

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8825
2019-05-14 15:50:53 -04:00
Marcel Hollerbach bb1388798b efl_ui_button: port to efl.ui.clickable
Summary: Depends on D8820

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8821
2019-05-14 15:50:25 -04:00
Carsten Haitzler 346e5d1324 edje src - mark with efl version so we don't get warnings 2019-05-13 14:40:08 +01:00
Yeongjong Lee a47f062633 navigation_layout: set efl.content y-axis align to 0.0
Summary:
If `efl.content` min size is greater than edc area size, `efl.bar` and
`efl.content` are overlapped because default y-align is 0.5.

This patch avoid it.

Test Plan:
Sample code:
```
// gcc -o efl_ui_stack_example efl_ui_stack_example.c `pkg-config --cflags --libs elementary`

EAPI_MAIN void
efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
   Eo *win = efl_add(EFL_UI_WIN_CLASS, efl_main_loop_get());

   Eo *stack = efl_add(EFL_UI_STACK_CLASS, win);
   efl_content_set(win, stack);

   Eo *nl = efl_add(EFL_UI_NAVIGATION_LAYOUT_CLASS, stack,
                    efl_ui_stack_push(stack, efl_added));

   Eo *bn = efl_add(EFL_UI_NAVIGATION_BAR_CLASS, stack);
   efl_text_set(bn, "Title Text");
   efl_ui_navigation_layout_bar_set(nl, bn);

   Eo *btn = efl_add(EFL_UI_BUTTON_CLASS, nl,
                     efl_text_set(efl_added, "Button 1"),
                     efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(50, 80)),
                     efl_content_set(nl, efl_added));

   efl_gfx_entity_size_set(win, EINA_SIZE2D(100, 80));
}
EFL_MAIN()
```

Reviewers: Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8868
2019-05-09 15:42:13 +09:00
Marcel Hollerbach 4edf8036e0 meson: correctly use the correct dependency
Summary:
edje_cc calls epp, so we should not only add edje_cc to the depends on
target, but rather also ensure that epp is availble. Additionally, this
removes unneccessary depends on declarations when we do cross compile.
Depends on D8561

Reviewers: zmike, segfaultxavi, cedric

Reviewed By: zmike

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8562
2019-04-05 08:15:39 -04:00