Compare commits

..

439 Commits

Author SHA1 Message Date
junsu choi 2b252c4584 Fix vg_cache
If cached file have a vp_list it should disable file caching.
2020-02-18 09:56:15 +09:00
junsu choi 4f0bb0a4e7 Add dynamic proerty sample- 1 -color change 2020-02-13 15:20:05 +09:00
junsu choi b4af222526 fix proxy 2020-02-06 20:48:26 +09:00
junsu choi 60e4c91ae8 hotfix 2020-02-06 20:48:26 +09:00
Hermet Park f959b10546 Merge branch 'devs/hermet/lottie' of git+ssh://git.enlightenment.org/core/efl into devs/hermet/lottie 2020-01-31 11:35:48 +09:00
Hermet Park 17b3d98a62 canvas vector: fix incorrect caching hit.
animated vector(lottie) caches current playing resource data,
for resuing if it's possible, but it must take care of the drawing size.

Previous logic missed that part, fixed it.
2020-01-28 18:04:05 +09:00
Hermet Park e8459a8e4b Merge branch 'master' into devs/hermet/lottie 2020-01-28 13:14:42 +09:00
Hermet Park d30dd3140c Merge branch 'master' into devs/hermet/lottie 2020-01-23 10:16:22 +09:00
Hermet Park 911c1c49f9 Merge branch 'master' into devs/hermet/lottie 2020-01-22 10:23:51 +09:00
Hermet Park 4255c7896c Merge branch 'master' into devs/hermet/lottie 2020-01-21 10:16:10 +09:00
junsu choi 3f1c7492f9 vg_common_json: Supports transform properties
Summary:
Supports scale, position, and rotation properties
related to transform among properties supported by value provider.

Test Plan:
Remove 'json' in evas-loaders-disabler
build
elementary_test -to "value provider"
(path : layer.box1)

Reviewers: Hermet, smohanty, kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D11129
2020-01-20 17:01:39 +09:00
Hermet Park c85bb1b46d change meson options 2020-01-20 13:12:46 +09:00
Hermet Park fe4247ee13 Merge branch 'master' into devs/hermet/lottie 2020-01-20 12:04:27 +09:00
Hermet Park 1715761f3d change binding options. 2020-01-17 13:50:17 +09:00
Hermet Park 5c549c3736 Merge branch 'master' into devs/hermet/lottie 2020-01-17 10:56:01 +09:00
Hermet Park fd801a340c Merge branch 'master' into devs/hermet/lottie 2020-01-16 16:31:47 +09:00
Hermet Park 645b76f03b Merge branch 'master' into devs/hermet/lottie 2020-01-15 10:21:19 +09:00
Hermet Park cd10c27cfa Merge branch 'master' into devs/hermet/lottie 2020-01-14 11:03:53 +09:00
Hermet Park 509d475e35 Merge branch 'master' into devs/hermet/lottie 2020-01-13 13:46:19 +09:00
Hermet Park fbda1a374b Merge branch 'master' into devs/hermet/lottie 2020-01-10 10:53:04 +09:00
Hermet Park 9d398b1bdc evas ector: ++safety.
add return value by ector_begin() for vector safety.
2020-01-09 15:00:22 +09:00
Hermet Park cfdce45a61 Merge branch 'master' into devs/hermet/lottie 2020-01-09 13:08:29 +09:00
Hermet Park 7259b266b0 Merge branch 'master' into devs/hermet/lottie 2020-01-08 10:29:23 +09:00
Hermet Park a0efb72f15 enable ibus in default 2020-01-07 17:10:49 +09:00
Hermet Park ddf1215ec4 Merge branch 'feature/themes/flat' into devs/hermet/lottie 2020-01-07 16:36:36 +09:00
Hermet Park 11b4de71e3 Merge branch 'master' into devs/hermet/lottie 2020-01-07 16:36:24 +09:00
Hermet Park 700ee0ae15 canvas vg: remove redudant code.
The render preparation of vector nodes will be
done by user_vg_entry_render().
2020-01-07 13:22:18 +09:00
Carsten Haitzler a3d13013e4 TH - video player 2020-01-06 19:39:49 +00:00
Carsten Haitzler 9ac3a57efe TH slider - fix range aliases - bug was in default theme and copied over 2020-01-06 18:37:06 +00:00
Carsten Haitzler 3eb70a250a TH - slider - fix inverted vertical to not be off-center 2020-01-06 18:26:10 +00:00
Carsten Haitzler 0d7bae88f3 TH - tidy up video wrapper 2020-01-06 18:26:00 +00:00
Carsten Haitzler 6b6a6d5092 TH - colorselector 2020-01-06 17:01:21 +00:00
Carsten Haitzler 7829dc4db8 TH - flip selector 2020-01-06 14:54:44 +00:00
Hermet Park cae0379646 Merge branch 'master' into devs/hermet/lottie 2020-01-06 12:59:40 +09:00
Carsten Haitzler 336e788298 TH - battery - tweak mouseover look 2020-01-04 20:06:28 +00:00
Carsten Haitzler 029f207a9e TH - clean battery bg 2020-01-04 19:49:24 +00:00
Hermet Park 21c043f5fa evas map: ++Safety for range overflow.
This might fix this issue.

{T8199}
2020-01-03 20:53:27 +09:00
Hermet Park 26e07862e9 Revert "Revert "Revert "evas map: diable high quality texture mapping feature."""
This reverts commit 1cb7d11ea8.
2020-01-03 20:38:36 +09:00
Hermet Park 5739920ba7 Merge branch 'master' into devs/hermet/lottie 2020-01-03 12:43:27 +09:00
Hermet Park 121f177fde Merge branch 'feature/themes/flat' into devs/hermet/lottie 2020-01-02 16:58:45 +09:00
Hermet Park 9106fa7ebe ui_image: fix wrong scale_method expand behavior.
Previous fix 46ee203331 is not perfect
at some cases, its condition should be this.
2020-01-02 14:14:47 +09:00
Hermet Park de134ae78f fix mater merge conflict broken 2020-01-02 11:02:55 +09:00
Hermet Park c9a3d3eb4c Merge branch 'master' into devs/hermet/lottie 2020-01-02 10:45:02 +09:00
Hermet Park 4e453674da enable glib in default. 2020-01-02 10:24:11 +09:00
Hermet Park 36719d4125 evas gl: enable GL_LINE_SMOOTH only at gles 1.x
As the GLES specification,
GL_LINE_SMOOTH is not supported since GLES2.
2019-12-31 16:27:25 +09:00
Hermet Park c14b37b212 vector container: skip re-ordering as possible.
don't try anything if the stack is already top or bottom.
2019-12-31 15:13:45 +09:00
Hermet Park f75dbeecef vector lottie: update shape layer order properly.
Shape layer order can be changed during animation,
We should rearrange them if it's necessary.
2019-12-31 14:32:53 +09:00
Hermet Park 0b19ba38f8 evas vg: add an new interface efl_canvas_vg_container_children_direct_get()
We need an efficient method to navigate children faster.
2019-12-31 14:15:49 +09:00
Hermet Park a89844f2ba evas vg: rewrite efl_gfx_stack_raise_to_top, lower_to_bottom()
The implementation was totally stupid,
previous function were wrongly working.

Thus, we rewrite it simple again.
2019-12-31 13:29:24 +09:00
Hermet Park 341cb4ff56 Merge branch 'master' into devs/hermet/lottie 2019-12-31 09:51:56 +09:00
Carsten Haitzler 9c04c1d1c8 TH - clean up new radio styles 2019-12-30 14:19:03 +00:00
Hermet Park 1aa5bbadd2 Merge branch 'master' into devs/hermet/lottie 2019-12-30 15:16:59 +09:00
Carsten Haitzler a1c21eb59e TH - fix new radi+check style bar scale 2019-12-29 02:22:04 +00:00
Carsten Haitzler 2b942b6b87 TH - add new radioa nd check styles from master 2019-12-28 23:22:48 +00:00
Carsten Haitzler f9533884c5 Merge branch 'master' into feature/themes/flat 2019-12-28 20:39:48 +00:00
Hermet Park 7bd9f4319e Merge branch 'master' into devs/hermet/lottie 2019-12-27 10:03:44 +09:00
Hermet Park c3bbcfc813 Merge branch 'master' into devs/hermet/lottie 2019-12-24 11:26:47 +09:00
Hermet Park ed0cc02253 ui image: fix scale_method expand behavior.
As efl_gfx_image_expand specification,
it scales the image to cover the entire object area on one axis
while maintaining the aspect ratio though image may become larger than the object.

Thus, this option must work as one of fit_width / fit_height
by detertimining either way.

Previously, it was logically wrong.

@fix
2019-12-23 14:04:35 +09:00
Carsten Haitzler 45fca5d736 Merge branch 'master' into feature/themes/flat
fix conflicts in merge
2019-12-20 16:31:56 +00:00
Hermet Park 9e97beb332 Merge branch 'master' into devs/hermet/lottie 2019-12-20 11:48:17 +09:00
Hermet Park 488faa76fa ector software: catch up losing tasks among the threads.
This is a subsequent change after 8465904c19.

The major change is almost same but just for gradient stuff.
2019-12-19 20:27:11 +09:00
Hermet Park 939c2ffd9d ector sw: remove unnecessary job. 2019-12-19 16:09:47 +09:00
Hermet Park 4a9cf98aaf ector software: catch up losing tasks among the threads.
ector sw uses thread pool internally to process rle job parallel.

First of all, we lost task handles which allocated to each threads,
we must free the task data after thread done.

Secondly, tasks can be managed by one shape instance,
the instance can't catch upon multiple instances alive.
only last task can be attached to the shape instance.

Thus, obvisouly the instance doesn't expect to handle multiple tasks
at the same time, one instance only take care of one task on threading pool.
2019-12-19 15:23:08 +09:00
Hermet Park b3af3ddc8b Merge branch 'master' into devs/hermet/lottie 2019-12-19 10:16:44 +09:00
Hermet Park b022ee1e1f evas vg: fix memory leak. 2019-12-18 21:51:54 +09:00
Hermet Park bbc24cfb02 Merge branch 'master' into devs/hermet/lottie 2019-12-18 11:52:29 +09:00
Hermet Park 64bf6427e7 evas mapping: fix memory leak.
These two dynamically allocated properties were not freed.
free them when cow data is reset.
2019-12-17 17:18:51 +09:00
Ali Alzyod 3b77b7a9ed efl_canvas_textblock: allow style_apply with wrap=none
Summary:
1- passing style_apply("wrap=none") had no effect previously, and now disable wraping
2- style_all_get() by default return "wrap=word", but now return  "wrap=none"

refer to T8523

Reviewers: segfaultxavi, woohyun, cedric

Reviewed By: segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10888
2019-12-17 17:18:51 +09:00
Xavi Artigas a458365200 elm_test: workarounds for canvas_textblock style
The horizontally scrollable single-line text input box does not currently visible.
This patch turns it into a vertically scrollable multiline input box, with an
arbitrary minsize.
Also, make the label unselectable.
2019-12-17 17:18:51 +09:00
WooHyun Jung 9fadbc5620 elm_slider: remove unused file
Summary:
Just removed elm_slider_eo.legacy.h which did not
have any dependency with other files

Test Plan:
1. sudo ninja install
2. elementary_test
3. Slider

Reviewers: segfaultxavi, bu5hm4n, zmike

Reviewed By: segfaultxavi

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10876
2019-12-17 17:18:51 +09:00
Hermet Park 6dc6e925f5 ui position_manager: fix doc typo. 2019-12-17 17:18:51 +09:00
SangHyeon Jade Lee 4083fbf3bc efl_ui : stablized factory classes.
Summary:
for mvvm publizing,
caching factory and layout factory need to be out of beta.

Reviewers: cedric, bu5hm4n, segfaultxavi

Reviewed By: cedric

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10855
2019-12-17 17:18:51 +09:00
Hermet Park e5374fc4a1 ,Merge branch 'master' into devs/hermet/lottie 2019-12-16 11:43:43 +09:00
Hermet Park a05cfedaa9 evas vg: revise buffer caching method.
for better precise buffer cache key,
We make a unique key name combining root node + size + frame index.

Now, we can reuse the root node for animation and caching buffers.
2019-12-13 17:22:54 +09:00
Hermet Park 025dca5c77 evas vg: fix memory corruption for user entry.
Container must have a set parent after construction.
efl_add_ref() with a parent won't work this case
because container needs some jobs in overriding parent_set() after proper intialization.
2019-12-13 11:54:05 +09:00
Hermet Park a8b1cfb6fc Merge branch 'master' into devs/hermet/lottie 2019-12-13 10:14:05 +09:00
Hermet Park 421836c116 Merge branch 'master' into devs/hermet/lottie 2019-12-11 13:04:21 +09:00
Carsten Haitzler 008b8da792 TH - diskselector 2019-12-10 23:09:52 +00:00
Carsten Haitzler 67fce62aa1 TH - dayselector 2019-12-10 23:02:28 +00:00
Hermet Park 6fa91c71d8 Merge branch 'master' into devs/hermet/lottie 2019-12-10 19:23:20 +09:00
Hermet Park a1ea861d88 Revert "backup filter optimization"
This reverts commit 802d575baf.
2019-12-10 19:22:01 +09:00
Hermet Park 8eef00a0e2 Revert "evas ector: applied some memory buffer cache mechanism."
This reverts commit 3329beef66.
2019-12-10 19:21:38 +09:00
Hermet Park 3329beef66 evas ector: applied some memory buffer cache mechanism.
This is a local memory pool mechanism to optimize the filter performance.
I observed there are a lot of volatile memory allocations each frames,
By using memory pool we can avoid huge memory allocations
that brings filter performance up to about 30%.
2019-12-10 19:20:49 +09:00
Hermet Park 31a8f10418 Merge branch 'master' into devs/hermet/lottie 2019-12-09 15:43:00 +09:00
Hermet Park 802d575baf backup filter optimization 2019-12-06 22:08:26 +09:00
Hermet Park ef189025ba evas vector: add one comment todo. 2019-12-06 18:58:54 +09:00
Hermet Park e00eb4b2d1 Merge branch 'master' into devs/hermet/lottie 2019-12-06 16:12:59 +09:00
Hermet Park 948b436bd3 evas vg: --remove log 2019-12-06 15:30:50 +09:00
Hermet Park f43b1a5279 vg ector: Call a pair of ector begin/end for ector buffer drawing.
While we render vector drawing on ector,it uses ector buffers for subsequent compositions.
In this sequence, it switches ector buffer with a composition target,
while resuing the global ector context.

Previously, it trickly switched ector buffer, it broke the ector begin/end pair.
Now, it needs to recover global ector buffer once the composition finished.
Thus ector buffer need to return the current pixels information for this.
2019-12-06 15:22:56 +09:00
Hermet Park 0992ef8c80 Merge branch 'master' into devs/hermet/lottie 2019-12-06 11:45:56 +09:00
Hermet Park 5c9a233c2f Merge branch 'master' into devs/hermet/lottie 2019-12-04 19:18:14 +09:00
Hermet Park a25e094cf0 Merge branch 'master' into devs/hermet/lottie 2019-12-02 10:24:17 +09:00
Hermet Park ad41c5c5aa switch to debug mode 2019-12-02 10:22:06 +09:00
Carsten Haitzler 4a792e06d7 TH - naviframe 2019-12-01 22:07:21 +00:00
Hermet Park 3e0556531f vector cache: skip animation update as possible.
Since the vector file data is shareable among the multiple vg instances,
vfd could keep the requested frame data already by the other instance.

This case vector cache quickly return the vector data withouth any further progress.
2019-11-29 11:18:15 +09:00
Hermet Park 8e79dd7e67 Merge branch 'master' into devs/hermet/lottie 2019-11-29 10:53:49 +09:00
Hermet Park f5df605457 evas vector: operate cached vector file data per evas instances.
each vfd loaders construct vector tree data, these can be belongs to evas instance,
they are not likely shareable.

We should operate vfd separately.
2019-11-29 10:48:59 +09:00
Hermet Park 55cd6fd492 Merge branch 'master' into devs/hermet/lottie 2019-11-28 15:06:51 +09:00
Hermet Park f970803cfa evas vector: make it stable caching logic.
We need a more precise caching mechanism to save memory.
Current root node(key) is limited for caching buffers,
when to share by the multiple animated instances.

This patch is a step for further optmization work,
at the moment we disable the caching buffers for the animated instances.
2019-11-28 14:16:01 +09:00
Hermet Park d7fe39a0e9 Merge branch 'master' into devs/hermet/lottie 2019-11-27 21:08:16 +09:00
Hermet Park a3b3e02523 vector container: skip copying compositions precisely.
+ added some comments for future tasks.
2019-11-27 21:05:15 +09:00
Hermet Park 420174b872 evas json: up-to-date vector-tree logging. 2019-11-27 17:51:42 +09:00
Hermet Park ec0c0df6d5 Merge branch 'master' into devs/hermet/lottie 2019-11-27 13:59:52 +09:00
Hermet Park afa15b2ad1 Merge branch 'master' into devs/hermet/lottie 2019-11-26 15:26:50 +09:00
Hermet Park a916935a97 Merge branch 'master' into devs/hermet/lottie 2019-11-26 10:41:22 +09:00
Hermet Park 4f7e8b4389 Merge branch 'master' into devs/hermet/lottie 2019-11-25 13:41:21 +09:00
Hermet Park a86fdafb15 evas vector: initialize data member properly.
user entry root should be initialized to null before accessing it.

in a certain scenario it could occur a crash with an invalid root data.

@fix
2019-11-25 13:26:52 +09:00
Hermet Park f62bfa2465 Merge branch 'master' into devs/hermet/lottie 2019-11-22 11:54:37 +09:00
Hermet Park f8d8d2c810 disable broken edje lottie animation. 2019-11-21 17:43:01 +09:00
Hermet Park 953eeb231c vector lottie: reset vg tree each frames.
Since vector tree nodes are reusing instead of reconstrucion,
We make it sure that dangling nodes invisible by clearing all nodes visibility.

Only valid nodes will be reset to visible while setting up in the progress.
2019-11-21 17:42:09 +09:00
Hermet Park 489eace875 Merge branch 'master' into devs/hermet/lottie 2019-11-21 12:09:37 +09:00
Hermet Park 8e0b46975d Merge branch 'master' into devs/hermet/lottie 2019-11-20 14:13:41 +09:00
Hermet Park 583e7465cb vector container: don't copy composite target duplicatedly.
Container copied composite target in prior to duplicate children,

the composite target is one of the children, it should skip to handle it again.
2019-11-20 14:09:00 +09:00
Hermet Park 2d704c935b Merge branch 'master' into devs/hermet/lottie 2019-11-19 13:27:12 +09:00
Hermet Park 704d95fcea evas vector: removed useless calls.
It turns out ector engine doesn't use any color mixing with gradients fill.
Removed unnecessarities unless we can find a way to use them in the future.
2019-11-19 13:22:50 +09:00
Hermet Park b4dd0997ac vector svg: apply fill-opacity to graidents fill objects.
If node has a fill-opacity attirbute it must propagtes it to
its fill objects.

Previous our implementation missed this behavior.

@fix
2019-11-19 13:18:42 +09:00
Hermet Park caf8c5dc41 Revert "evas: migrate the vg json example"
This reverts commit a1f1cd6dd6.
2019-11-18 12:50:45 +09:00
Hermet Park e95bace1e1 evas image cache: drop cache properly,
the default reference is 1,
thus we should drop it unless if it's more than 1,
2019-11-18 11:49:52 +09:00
Hermet Park 6f601cbf2e evas vg: improve caching methods for better precise behaviors.
Previously, json file data won't be shared between instances.
Now, objects can share the json data if they use the same file resource.
2019-11-18 11:48:40 +09:00
Hermet Park b0a842206e Merge branch 'master' into devs/hermet/lottie 2019-11-18 11:45:29 +09:00
Carsten Haitzler db185ed01c TH - ibar - thumb popup - fade dont zoom to avoid fixed size sadness 2019-11-16 14:25:20 +00:00
Carsten Haitzler db5d663717 TH - pointer - visible hot 2019-11-16 14:25:05 +00:00
Carsten Haitzler fc772553bb TH - clean up status for pkgkit gad 2019-11-11 10:30:32 +00:00
Carsten Haitzler 8374d7b0b8 TH - more packagekit 2019-11-10 02:13:00 +00:00
Carsten Haitzler ffdaabc0ad TH - entry magnifier and handles 2019-11-09 21:43:55 +00:00
Carsten Haitzler 5d13e41f6c TH - pkgkit improve 2019-11-09 20:58:20 +00:00
Carsten Haitzler 02f69bb7cb TH - notify + popup 2019-11-08 19:21:04 +00:00
Carsten Haitzler 5495ab8753 TH - tooltips 2019-11-08 09:42:37 +00:00
Carsten Haitzler 12000206c1 TH - fix fixed sizes 2019-11-08 09:42:11 +00:00
Carsten Haitzler 99ae858eaa TH - comment unused signals 2019-10-26 14:22:08 +01:00
Carsten Haitzler e23f916bae TH - format 2019-10-26 14:19:51 +01:00
Carsten Haitzler 4b1f3c4e44 TH - scroller - remove unused script 2019-10-26 14:18:28 +01:00
Hermet Park 62f265b0e3 vector json: clone the root node from the one singleton json.
lottie(json) data is a singleton resource that is shareable among the instances,
if they are using a same file, each instances can play different frames,
they must clone the vector tree data from the lottie data.

Previously, they all indicated one same vector root, multiple animation was corrupted.
2019-10-18 21:03:20 +09:00
Hermet Park 53843ef0f4 Merge branch 'master' into devs/hermet/lottie 2019-10-18 15:53:13 +09:00
Hermet Park 7e29feaa32 vector json: fix a ordering issue of stroke.
for optimization, we created a shape node in a lazy way,
This introduced corrupted layering order issue.

We fix it by keeping the object creation order.

Layzing creation is just for an ideal case,
It doesn't verified the performance.
2019-10-17 17:39:26 +09:00
Hermet Park c978a051cc vector json: optimize logic.
if a layer is full transparent, skip it further processing.
2019-10-17 16:59:14 +09:00
Hermet Park 9d46b8eef7 vector json: use lottie apis case by case.
We can request loading from data only in case of actual memory map.
The lottie-player would take care of the parsing on utf8/16/32 formats
more precisely so that we don't need to take care of this converting
from the memory.
2019-10-15 15:03:47 +09:00
Hermet Park ee1d9553b0 Merge branch 'master' into devs/hermet/lottie 2019-10-15 10:20:30 +09:00
Hermet Park 87611f8f9e canvas vg: don't draw images if it's full transparent. 2019-10-14 17:52:47 +09:00
junsu choi 250b2f2d2c vg_common_json: Apply image's alpha color
Summary:
This patch needs latest rlottie that contain below commit.
c3ab82ec2c

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10368
2019-10-14 17:40:14 +09:00
Hermet Park 9ba33294d6 efl_ui_animation_view: fix migration error. 2019-10-14 17:38:32 +09:00
Hermet Park ece350f315 Merge branch 'master' into devs/hermet/lottie 2019-10-14 17:32:48 +09:00
Carsten Haitzler d1f8133c4c TH - photo 2019-10-13 22:25:30 +01:00
Carsten Haitzler 0b615a7acf TH - actionslider 2019-10-13 21:55:50 +01:00
Carsten Haitzler 4dd8feb612 TH - elm thumb 2019-10-13 20:21:30 +01:00
Carsten Haitzler 6575fee2a9 TH - multibuttonentry 2019-10-13 19:39:06 +01:00
Carsten Haitzler 33dc7bf846 TH - focus display 2019-10-13 14:05:06 +01:00
Carsten Haitzler 5d79ef891f TH - buttons - go back to grey blue is just too much keep shadow 2019-10-10 22:39:09 +01:00
Hermet Park 7b3036a992 Merge branch 'master' into devs/hermet/lottie 2019-10-07 15:56:56 +09:00
Hermet Park 4ea78b8451 Merge branch 'master' into devs/hermet/lottie 2019-10-02 13:58:53 +09:00
Hermet Park 16cab85111 Merge branch 'master' into devs/hermet/lottie 2019-10-01 10:27:36 +09:00
Hermet Park c867d2ea90 Merge branch 'master' into devs/hermet/lottie 2019-09-27 13:38:29 +09:00
Hermet Park 6d993f34c1 quick fix for build error 2019-09-27 13:36:08 +09:00
Hermet Park da0fd08439 Merge branch 'master' into devs/hermet/lottie 2019-09-26 11:42:57 +09:00
Hermet Park f2012f3c6e Merge branch 'master' into devs/hermet/lottie 2019-09-24 11:53:28 +09:00
Hermet Park f8306e19aa evas vg: fix gradient stroke fill memory leaks.
There were continous creation of gradient objects,
We can stop it by caching it properly,

Also, fix mismatched ref/unref counts.
2019-09-24 11:46:50 +09:00
Hermet Park 1fe81e4937 ector engine: +null checking.
Null pixels is allowed when drawing region is 0,

In that case, the pixel buffer can be destroyed earlier by vg.

@fix
2019-09-23 21:12:07 +09:00
Hermet Park 9db0a20139 Merge branch 'master' into devs/hermet/lottie 2019-09-23 13:31:11 +09:00
Carsten Haitzler efb8fbcaef TH - make noeffect/fast groups legacy 2019-09-19 20:04:44 +01:00
Hermet Park cf210149bc Merge branch 'master' into devs/hermet/lottie 2019-09-19 10:29:22 +09:00
Hermet Park 8f1010c288 canvas vg: code refactoring.
remove unnecessary reference cooridnates.
2019-09-18 21:51:14 +09:00
Hermet Park fc9fb3a7aa ector: refer exact stride size for jumping buffer lines.
Actual buffer and used width size could be different,
stride must be referred.
2019-09-17 12:01:25 +09:00
Hermet Park cdce6c3e4e Merge branch 'master' into devs/hermet/lottie 2019-09-17 10:17:52 +09:00
Hermet Park 5aa6b79453 Merge branch 'master' into devs/hermet/lottie 2019-09-16 13:29:49 +09:00
Carsten Haitzler db399c0b43 TH - sync comp fade of parts 2019-09-11 10:54:12 +01:00
Hermet Park 1c1f9b8623 evas vg: optimize memory in layer blending.
Same method to 321035d1e7

By far, with previous memory optimization,

The memory usage is reduced to half of composition buffer size.
2019-09-11 15:12:35 +09:00
Hermet Park 321035d1e7 canvas vg: optimize memory usage in composition.
Ector buffer allocates memory in default,
We don't need to allocate buffer memory additionally to handle over outside.
We can map/unmap ector buffer for reusing this.
2019-09-11 14:27:47 +09:00
Hermet Park 4d674f342d ector: removed cairo backend.
For reducing maintainability burden,
We drop supporting cairo backend.

The default backend is to software implementation from now.
It's well maintained so far and works good.x
2019-09-11 13:12:08 +09:00
Hermet Park 76c48b1600 Merge branch 'master' into devs/hermet/lottie 2019-09-11 12:03:18 +09:00
Hermet Park 470e7dd9fd ector: don't alloc memory if the size is 0. 2019-09-11 12:00:28 +09:00
Hermet Park ba51e55ac1 ector: code refactoring.
more neat and clean code, no logical changes.
2019-09-11 11:59:21 +09:00
Hermet Park 7cc63b9b8f Merge branch 'master' into devs/hermet/lottie 2019-09-10 14:53:48 +09:00
Hermet Park 7b0dd3a16f Merge branch 'master' into devs/hermet/lottie 2019-09-09 12:20:05 +09:00
Carsten Haitzler f90cb8e762 TH - really change pager shadow stuff (deskmirror) 2019-09-08 10:35:32 +01:00
Carsten Haitzler 5caf163c02 Revert "TH pager - use shadow border with no leftover grey bevel bit"
This reverts commit 5d3d6c898e.
2019-09-08 10:32:14 +01:00
Carsten Haitzler 5d3d6c898e TH pager - use shadow border with no leftover grey bevel bit 2019-09-08 10:29:09 +01:00
Hermet Park 1ac9d365f3 ector: code refactoring.
Current vector drawing requires several methods for compositing,
it's shouldnt have only masking but other blending functions
such as matte in lottie, porter&duff in android, etc.

Previously we didn't specify this method name,
just reserved the options and now we started to define the methods
with ector_renderer_composite_method() with Efl.Gfx.VG_Composite_Method
instead of mask_set().
2019-09-06 17:52:38 +09:00
Hermet Park e97c4f3749 Merge branch 'master' into devs/hermet/lottie 2019-09-06 10:20:08 +09:00
Hermet Park 27cc89c24d Merge branch 'master' into devs/hermet/lottie 2019-09-04 20:03:42 +09:00
Hermet Park fd869bb04b vg_common_svg : Initialize "display" attribute
Summary:
In e850e3e, the code to initialize this property is missing.
That makes the object invisible when printing svg through edje.
This is a patch to fix it.
@fix

Test Plan: N/A

Reviewers: Hermet, smohanty, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9833
2019-09-04 12:09:31 +09:00
junsu choi 444cffe37d freetype: Prevent lose of data when fixed point divide calculation.
Summary:
In environments that long is 4byte, fixed-point division calculations will cause data loss.
fixed-point division need to more space.
Therefore, change all long types to long long types.

Test Plan: N/A

Reviewers: Hermet, kimcinoo, smohanty

Subscribers: vtorri, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9817
2019-09-04 11:52:06 +09:00
Hermet Park 1191388b78 Merge branch 'master' into devs/hermet/lottie 2019-09-04 10:31:40 +09:00
Carsten Haitzler 9d33d29b6a TH - elm menus 2019-09-03 19:23:00 +01:00
Hermet Park 8d707424d0 Merge branch 'master' into devs/hermet/lottie 2019-09-02 17:34:01 +09:00
Carsten Haitzler 4a0b72ed5c TH - fileman 2019-08-29 23:31:23 +01:00
Hermet Park 97963242f7 ector: xxx 2019-08-29 21:46:33 +09:00
Hermet Park 1bc9574ad5 ector: ++safety 2019-08-29 21:33:09 +09:00
Hermet Park 32fc30cbfa ector: fix not to over access memory. 2019-08-29 21:14:25 +09:00
Hermet Park a4d6fa4b53 ector: replace to use stack memory,
Guess stack is cheaper than heap in this case.
2019-08-29 21:08:51 +09:00
Hermet Park 2acf8c0131 ector: code refactoring.
renamed internal variable, no logical changes.
2019-08-29 21:07:13 +09:00
Hermet Park 1e2b3d5406 Merge branch 'master' into devs/hermet/lottie 2019-08-29 10:58:15 +09:00
Hermet Park 1a9d2dd759 Merge branch 'master' into devs/hermet/lottie 2019-08-28 11:00:13 +09:00
Hermet Park d0dd14c293 Merge branch 'master' into devs/hermet/lottie 2019-08-27 20:31:55 +09:00
Carsten Haitzler 8792bdc1bb TH - buttons - blue/orange. netstar likes it for sure. let's try 2019-08-22 23:19:31 +01:00
Carsten Haitzler fbcbd00758 TH - fix build... 2019-08-22 20:25:32 +01:00
Hermet Park 6b1bd2d334 Merge branch 'master' into devs/hermet/lottie 2019-08-22 14:29:02 +09:00
Hermet Park 9815d034c2 Revert "ector: code refactoring."
This reverts commit bacf73015e.
2019-08-21 16:51:59 +09:00
Hermet Park bacf73015e ector: code refactoring.
Current vector drawing requires several methods for compositing,
it's shouldnt have only masking but other blending functions
such as matte in lottie, porter&duff in android, etc.

Previously we didn't specify this method name,
just reserved the options and now we started to define the methods
with ector_renderer_composite_method() instead of mask_set().
2019-08-20 18:18:31 +09:00
Hermet Park 27c3eef8ef canvas svg: fix to apply premultipled color.
fill colors should be premultiplied with fill opcaity.
2019-08-20 11:23:59 +09:00
Hermet Park ca0504ea21 evas vg: code refactoring.
try reduce code section size,
no logical changes.
2019-08-20 10:54:32 +09:00
Hermet Park 4575b2f92c Merge branch 'master' into devs/hermet/lottie 2019-08-20 10:24:53 +09:00
Hermet Park caacd8bd67 evas svg: fix svg spec compatibility.
Minus degree value must be transformed to the signed before Radian.

It's easily tested i.e. the rotation degree is -350.

@fix
2019-08-19 21:36:38 +09:00
Hermet Park 30a34765d4 Merge branch 'master' into devs/hermet/lottie 2019-08-19 18:09:51 +09:00
Hermet Park 28e30f8367 edje: fix compatibility issue.
Obviously previous edje object file set would try reload file
even though the file is already loaded.

This brings different result if the file data has been modified or changed.
2019-08-19 18:04:38 +09:00
Hermet Park a2a491ccf0 efl_ui_animation_view: on implementing part contents 2019-08-16 21:54:21 +09:00
Hermet Park a621b3c634 Merge branch 'master' into devs/hermet/lottie 2019-08-16 19:34:32 +09:00
Hermet Park 08863f3f63 efl_ui_animation_view: on implementing part contents 2019-08-14 21:51:14 +09:00
Hermet Park 68d181f839 efl_ui_animation_view: on implementing part contents 2019-08-14 20:23:43 +09:00
Hermet Park 21433b9534 efl_ui_animation_view: on implementing part contents 2019-08-14 19:45:05 +09:00
Hermet Park 24a368abf5 efl_animation_view: on implementing part contents 2019-08-14 17:35:42 +09:00
Hermet Park 64e6e44776 Merge branch 'master' into devs/hermet/lottie 2019-08-14 12:21:40 +09:00
Hermet Park 8a2aa92968 efl_ui_animation_view: on implementing "part content" functions. 2019-08-13 21:55:45 +09:00
Hermet Park f683f22207 efl_ui_animation_view: updated changes as upstream code review. 2019-08-13 17:50:18 +09:00
Hermet Park 254257eb28 efl_ui_animation_view: updated doc events syntax for c# generation. 2019-08-13 17:37:50 +09:00
Hermet Park a09d8357fe efl_ui_animation_view: on implementing "part content" functions. 2019-08-13 17:30:03 +09:00
Hermet Park 0fe2e93000 animation_view: fix typo 2019-08-13 15:02:26 +09:00
Yeongjong Lee 65a7241412 efl_ui_animation_view: change to Animation_View_State to resolve name conflict
Summary:
When cs file is generated, there is compiler error like
`Error CS0101 The namespace 'Efl.Ui' already contains a definition for 'AnimationView'`.
bacause `Efl.Ui.Animation_View` is class name, `Efl.Ui.Animation_View` can't be
namespace of `State` enum.

This patch will prevent name conflict between namesapce of enum and class name.

Test Plan: meson setup builddir -Dbindings=mono,cxx -Dmono-beta=true

Reviewers: Hermet, jsuya

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9555
2019-08-13 11:30:34 +09:00
Carsten Haitzler c3591e56d8 TH - e about - make more consistent with the flat look 2019-08-10 01:08:15 +01:00
Hermet Park ea38bcef46 Merge branch 'master' into devs/hermet/lottie 2019-08-09 21:29:52 +09:00
Hermet Park 43d285fe2f efl_ui_animation_view: on implementing efl_content_set() 2019-08-09 19:34:04 +09:00
Hermet Park 260d92eb59 Merge branch 'master' into devs/hermet/lottie 2019-08-06 10:47:22 +09:00
Hermet Park c6450a0a94 Merge branch 'master' into devs/hermet/lottie 2019-08-05 21:11:39 +09:00
Hermet Park 391c645d12 Merge branch 'master' into devs/hermet/lottie 2019-08-05 20:44:55 +09:00
Hermet Park fca14bfdea Merge branch 'master' into devs/hermet/lottie 2019-08-05 11:44:36 +09:00
Carsten Haitzler c34fe5d3c9 TH - segmentcontrol 2019-08-02 19:17:13 +01:00
Carsten Haitzler a524025758 TH - separators scale 2019-08-02 17:29:59 +01:00
Carsten Haitzler f2b529a295 TH - toolbar finish 2019-08-02 16:42:36 +01:00
Hermet Park f273d3981c efl_canvas_rectangle: rendering optmization.
There was a weird profiling result that rectangles drawing is much much slower than images.
Checked reason, the computation rect clip area is the overload point.

I don't think it's necesary but we can simplely improve the performance here
by replacing native function.

I tested this by drawing 400 number of rectangles,
and this patch improved up abt 10 fps(sw), 20fps(gl).

@TEST CODE

   MAX_SIZE = 400;

   for(int i=0; i< MAX_SIZE; i++)
   {
      Evas_Object *rect = evas_object_rectangle_add(layout);

      int x = rand() % WINDOW_WIDTH;
      int y = rand() % WINDOW_HEIGHT;

      evas_object_resize(rect, ELM_SCALE_SIZE(200), ELM_SCALE_SIZE(200));
      evas_object_move(rect, x, y);
      evas_object_color_set(rect, (rand() % 256), (rand() % 256), (rand() % 256), 255);
      evas_object_show(rect);

      Elm_Transit *transit = elm_transit_add();
      elm_transit_object_add(transit, rect);

      int dX = rand() % WINDOW_WIDTH;
      int dY = rand() % WINDOW_HEIGHT;

      elm_transit_effect_translation_add(transit, 0, 0, dX - x, dY - y);
      elm_transit_repeat_times_set(transit, -1);
      elm_transit_duration_set(transit, 1.0);

      elm_transit_go(transit);
   }
2019-08-02 18:25:56 +09:00
Hermet Park 3075bdb648 evas rectangle: code refactoring.
Just removed white spaces, fixed indentation.

No logical changes.
2019-08-02 18:13:14 +09:00
Hermet Park 0268a423c5 Merge branch 'master' into devs/hermet/lottie 2019-08-02 12:08:09 +09:00
Carsten Haitzler a8c937f4a1 TH - tiling border has shadows now too 2019-08-01 14:50:59 +01:00
Carsten Haitzler 21ba5265a8 TH tiling - fix icon 2019-08-01 13:12:47 +01:00
Hermet Park 9680154b6b efl_ui_radio: fix broken merge 2019-08-01 10:21:55 +09:00
Carsten Haitzler 8a9d989868 TH - wp2 2019-07-31 13:30:51 +01:00
Hermet Park 67978df5f4 Merge branch 'master' into devs/hermet/lottie 2019-07-31 14:58:47 +09:00
Carsten Haitzler 1482f3e6f4 TH - finish up old e widgets 2019-07-30 18:17:35 +01:00
Hermet Park c594cffde4 vg json: --log level
Vector needs to try load a lottie file in a brutal force way,
If the input source is not identified.
2019-07-30 16:58:02 +09:00
Hermet Park be23f9bc8d Merge branch 'master' into devs/hermet/lottie 2019-07-30 16:04:32 +09:00
Hermet Park c015b9d92c ecore_evas: prevent double free evas.
When user manually free the ecore evas,
it could delete evas internally,
then evas_invalidate would be triggered,
invalidate callback would try free evas again,
this causes double free evas.

TEST SCENARIO:
   ee = ecore_evas_new(...);
   ...
   ecore_evas_free(ee);
      -> free evas
         -> invalidated cb
            -> free evas (**double free)
2019-07-26 16:49:45 +09:00
Hermet Park 0a0f559d5a efl_ui_animation_view: + null check.
The transit handle could be danglinged,
User could stop the animation in "play,start" callback.
2019-07-26 15:33:30 +09:00
Hermet Park c5d756d780 Merge branch 'master' into devs/hermet/lottie 2019-07-25 11:10:20 +09:00
Hermet Park 56e7b76e2d Revert "[elm] Add missing sizing eval hook at check"
This reverts commit 8c90deecd7.
2019-07-24 17:14:53 +09:00
Hermet Park 188dddd86c Merge branch 'master' into devs/hermet/lottie 2019-07-24 10:23:34 +09:00
Hermet Park 05a50dc2eb Merge branch 'master' into devs/hermet/lottie 2019-07-22 13:23:59 +09:00
Hermet Park 755f944f4d Merge branch 'master' into devs/hermet/lottie 2019-07-18 10:59:15 +09:00
Hermet Park 5bfcc5033a Merge branch 'master' into devs/hermet/lottie 2019-07-16 10:16:28 +09:00
Hermet Park 30d702a3ac Merge branch 'master' into devs/hermet/lottie 2019-07-15 13:23:37 +09:00
Hermet Park 48c447a516 vector lottie: register node name as it's designed.
Caller could find/access a specific node with the name.
2019-07-11 20:10:17 +09:00
Hermet Park bce4a12be5 vector json: replace the data type properly. 2019-07-11 17:08:20 +09:00
Hermet Park efe0887552 Merge branch 'master' into devs/hermet/lottie 2019-07-11 10:16:30 +09:00
Hermet Park a48eb000bb Merge branch 'master' into devs/hermet/lottie 2019-07-09 21:22:35 +09:00
Carsten Haitzler d5dd331c4a TH wizard 2019-07-04 18:36:06 +01:00
Carsten Haitzler 932b06adee TH fix scale of small shadow 2019-07-04 18:35:56 +01:00
Hermet Park 9fdfffb14e Merge branch 'master' into devs/hermet/lottie 2019-07-01 20:47:35 +09:00
Hermet Park 8bbac405db Merge branch 'master' into devs/hermet/lottie 2019-06-26 20:40:30 +09:00
Hermet Park 4164f412a0 Merge branch 'master' into devs/hermet/lottie 2019-06-21 17:49:30 +09:00
junsu choi ac36ab587b vg_common_json: Set container's alpha color
Summary: If the layer has an alpha value, we have make it available to container.

Test Plan: N/A

Reviewers: Hermet, smohanty

Reviewed By: Hermet

Subscribers: cedric, #reviewers, kimcinoo, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9081
2019-06-11 19:01:11 +09:00
Hermet Park b4121c7ef6 Merge branch 'master' into devs/hermet/lottie 2019-06-11 19:00:41 +09:00
Hermet Park a4b04e40e8 canvas vg: optmize lottie vector tree.
Skip invisible stroke nodes as possible.
2019-06-05 16:42:15 +09:00
Hermet Park e1d1228e2d efl_ui_animation_view: access only valid transit. 2019-06-04 13:43:21 +09:00
Hermet Park a697f919e9 Merge branch 'master' into devs/hermet/lottie 2019-06-03 20:08:04 +09:00
Hermet Park cfe65b75fd Merge branch 'master' into devs/hermet/lottie 2019-05-29 11:27:12 +09:00
Hermet Park 38e2c4a737 sync with upstreaming. 2019-05-23 20:56:48 +09:00
Hermet Park f524ff072e sync with upstreaming. 2019-05-23 17:37:26 +09:00
Hermet Park 1522ca4e57 Merge branch 'master' into devs/hermet/lottie 2019-05-23 15:38:30 +09:00
Hermet Park 511ac43993 Merge branch 'master' into devs/hermet/lottie 2019-05-22 14:14:00 +09:00
Hermet Park 463e3a73fd Merge branch 'master' into devs/hermet/lottie 2019-05-20 18:56:49 +09:00
Carsten Haitzler 5fba347e3d TH - spinner 2019-05-16 17:01:50 +01:00
Carsten Haitzler baffded560 TH - rewmove warnings 2019-05-13 14:49:35 +01:00
Carsten Haitzler e6f3d3af26 Merge branch 'master' into feature/themes/flat 2019-05-13 14:47:29 +01:00
Hermet Park 0d063171c6 Merge branch 'master' into devs/hermet/lottie 2019-05-13 15:44:55 +09:00
Carsten Haitzler f00cd1b622 TH - spectrum 2019-05-10 11:58:10 +01:00
Carsten Haitzler 03e91d8565 TH - unzip shadows 2019-05-10 11:31:17 +01:00
Carsten Haitzler fe416c440a TH - make vg's raw so they thumbnail nicer 2019-05-10 11:28:24 +01:00
Carsten Haitzler e8f9bb971a TH - bz4 done 2019-05-10 11:19:39 +01:00
Carsten Haitzler bf8a67f409 TH - add bt svg originals 2019-05-10 11:14:00 +01:00
Carsten Haitzler 730e05fcf4 TH - make appmenu scale better 2019-05-09 18:22:50 +01:00
Carsten Haitzler 17a8354a93 TH - finish ilist typebuffer 2019-05-09 18:13:01 +01:00
Carsten Haitzler d8e15e0606 TH - e textblock 2019-05-09 18:08:50 +01:00
Carsten Haitzler 92c3f1ce95 TH - efm finish off 2019-05-09 16:19:11 +01:00
Hermet Park 3be39cef25 Merge branch 'master' into devs/hermet/lottie 2019-05-09 19:31:41 +09:00
Hermet Park 29a81476e7 Merge branch 'master' into devs/hermet/lottie 2019-05-07 16:39:42 +09:00
Carsten Haitzler de01570dc0 TH - everything popup 2019-05-03 17:34:06 +01:00
Hermet Park b75cb6ce80 animation_view: fix a regression bug by ad040eec2e
The initial progress must be reverted in stop status.
otherwise rewind animation progress will be courrpted.
2019-05-02 16:18:25 +09:00
junsu choi d58ca566bb efl_ui_animation_view: Set max progress when play back.
Summary:
If we start an animation object with play_back, the current frame is 0 in "start" callback.
Since transit_go is called after "start" callback,
we need to advance the animation start advance to the last progress.

Test Plan: N/A

Reviewers: Hermet, kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8802
2019-05-02 15:45:10 +09:00
junsu choi ad040eec2e efl_ui_animation_view: Set PLAY state before call "start" callback.
Summary:
In transit_cb state set PLAY.
But before that "Start" callback is called.
So the state in the callback function is STOP or another state.

Test Plan: N/A

Reviewers: Hermet, kimcinoo

Reviewed By: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8801
2019-05-02 15:43:08 +09:00
Hermet Park 51c7a0ab49 Merge branch 'master' into devs/hermet/lottie 2019-04-29 12:50:55 +09:00
junsu choi 270bd9f7c7 efl_ui_animation_view : Change transit facade sequence.
Summary:
  Call PLAY_START smart callback first. before call tansit_go.
  Because PLAY_UPDATE smart callback is called when transit_go is called
  and transit_cb is called.

Test Plan: refer to comment this revision

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8718
2019-04-26 17:48:28 +09:00
junsu choi 9a376e2c7a efl_ui_animation_view: Fix current frame calc.
Summary:
pd-> progress is always 0 to 1, even if min/max_frame/progress_set is set.
Because it follow the progress of transit.
Therefore, if min/max_frame/progress is set, frame_get returns an invalid value.
Modify it to return frame with min/max_frame/progress applied.

Test Plan: N/A

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8716
2019-04-26 17:44:30 +09:00
junsu choi 81e5ad8715 efl_ui_animation_view: Update callback is called only actual change time.
Summary:
The transit_cb is called from 0 to 1 depending on the duration.
Since the update callback is called even if there is no actual change,
we change it to call when there is a change in the frame.

Test Plan: N/A

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8715
2019-04-26 17:42:40 +09:00
junsu choi 5e014df906 vg_common_json: Support mask with matte case.
Summary:
The layer can have both a mask node and a matte node.
In this case, one of them may be missing because it uses one mask_set api.
If there is a matte, the mask is to be child of the matte.

Test Plan:
.._mask_set(layer, matte);
.._mask_set(layer, mask);

Reviewers: Hermet, kimcinoo

Reviewed By: Hermet

Subscribers: cedric, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8709
2019-04-26 10:46:06 +09:00
junsu choi 1735fac416 efl_ui_animation_view: Remove docs in set/get.
Summary:
   it is not used. and not generated at docs of C# and python languages.

Test Plan: N/A

Reviewers: kimcinoo, Hermet

Reviewed By: kimcinoo

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8711
2019-04-25 17:32:48 +09:00
junsu choi dd577f27f9 Efl.Ui.Animation_View: Enhance documentation of elm_animation_view.
Summary:
 - Add "Animation View" item at elementary_main.
 - Change EAPIs naming.
 - Change version 1.22 to 1.23.

Test Plan:
make doc
firefox doc/html/widgetslist.html
Go "Animation View"

Reviewers: Hermet, kimcinoo, segfaultxavi

Subscribers: segfaultxavi, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8675
2019-04-25 10:16:36 +09:00
Hermet Park f954a2315e Merge branch 'master' into devs/hermet/lottie 2019-04-24 11:30:54 +09:00
junsu choi 7c0998216b efl_ui_animation_view: Fix cmake build error
Summary: Change file name

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8674
2019-04-23 09:42:44 +09:00
Hermet Park 9f98d55ba1 Merge branch 'master' into devs/hermet/lottie 2019-04-19 15:29:18 +09:00
Carsten Haitzler d515bfb53b Merge branch 'master' into feature/themes/flat 2019-04-18 12:06:51 +01:00
Carsten Haitzler c80ad31195 TH - panes 2019-04-18 12:04:30 +01:00
Hermet Park 3a5ca4d1d9 Revert "evas gl: move to floating point coordinate system."
This reverts commit 2ac93b5005.
2019-04-18 15:24:55 +09:00
junsu choi dd11b54f87 vg_json: Set multiple mask from json
Summary:
This patch supports multiple masks for multiple attributes on a layer.
Make main_mask_layer and make each mask EFL_CANVAS_VG_CONTAINER_CLASS and connect them.
main_mask_layer is made for masks
The masks are composited into main_mask_layer in order.
main_mask_layer exists for the intersect option in last order
This can be optimized later, and is created and used temporarily in this patch.

Test Plan:
If there are three masks, they can be created as below.
mask_set(clayer, main_mask);
mask_set(main_mask, mask_1);
mask_set(mask_1, mask_2);
mask_set(mask_2, mask_3);

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, kimcinoo, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8507
2019-04-18 10:22:36 +09:00
Hermet Park 2ac93b5005 evas gl: move to floating point coordinate system.
Summary:
GL engine has used integer coordinates system since it's born though
OpenGL basically uses floating point vertex coordinates system.

There were many dissatisfaction, complaints about this
since object's transition is jiggled, not perfectly smooth.

It's obvious because Positioning must be stepping with integer units
without any subpixel rendering.

Our gl engine currently supports msaa options and evas map allows to
have double precivion coordinates system, our engine must do handle this over as well,
to work together.

If you don't like change,

We could switch behaviors optionally (turn on, only when msaa is enabled)
But I think it's pointless using integer coordinates system in GL thesedays.
It just make code complex to maintain.

There will be an additional patch coming for SW backend map behavior soon.

Left: before patch
Right: after patch

{F3694624}

Reviewers: #committers, raster

Subscribers: raster, cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8552
2019-04-15 17:53:22 +09:00
Hermet Park 75e9a15fc6 Merge branch 'master' into devs/hermet/lottie 2019-04-15 13:59:45 +09:00
Hermet Park e10f7b5c3d Merge branch 'master' into devs/hermet/lottie 2019-04-11 14:52:52 +09:00
Hermet Park 19137664f8 efl_ui_animation: don't access a null pointer. 2019-04-03 14:20:40 +09:00
Hermet Park 6b90f0d264 canvas vg: code refactoring.
Remove unnecessary argument of an internal function.
2019-04-02 17:28:03 +09:00
Hermet Park d7a0e92ab3 canvas vg: fix wrong key pass for caching surface.
There is a wrong case that fails caching ector surfaces.
Those vector objects manually constructing shapes,
passed wrong pointer as the cacahing key instead of root node pointer.

This fixes it.
2019-04-02 15:17:24 +09:00
Hermet Park 42839d2535 Merge branch 'master' into devs/hermet/lottie 2019-04-02 11:26:26 +09:00
Carsten Haitzler 2af38da300 TH - tiling 2019-04-01 01:09:55 +01:00
Carsten Haitzler 6a705567df TH - tiling 2019-04-01 01:02:10 +01:00
Carsten Haitzler 1758c0db4a TH - evry 2019-04-01 01:01:38 +01:00
Hermet Park 0968740d50 vg json: code refactoring.
just rename internal variable.
2019-03-27 16:24:54 +09:00
Hermet Park a2f0adc51a vg json: set mask parent to current tree node, not the root.
+ clean up trivial code.
2019-03-27 16:15:24 +09:00
Hermet Park 39003ec344 Merge branch 'master' into devs/hermet/lottie 2019-03-27 13:46:09 +09:00
Hermet Park 104c597ce0 evas vg: remove evas_object_vg_mmap_set()
the api is not necessary, remove it before official release.
2019-03-13 14:16:58 +09:00
Hermet Park 395741b2e0 evas vg: sync with upstream master 2019-03-13 14:09:56 +09:00
Hermet Park d24acb69e2 canvas vg: install legacy headers properly. 2019-03-13 13:59:02 +09:00
Hermet Park 624d140b8d efl_ui_animation_view: install legacy additionally. 2019-03-12 16:39:37 +09:00
Hermet Park ee10859808 efl_ui_animation_view: fix back to work properly. 2019-03-12 14:25:32 +09:00
Hermet Park c287acfb41 Merge branch 'master' into devs/hermet/lottie 2019-03-12 14:05:03 +09:00
Hermet Park 173af0ee1f evas vg: sync with master 2019-03-12 13:12:19 +09:00
Hermet Park 44145cd1d4 Revert "Revert "canvas vg: fix up a regression error by file_load(),""
This reverts commit fd01eec0f5.
2019-03-11 21:22:39 +09:00
Hermet Park deb0756e60 evas vg: remove mmap internal usage.
This doesn't useful anymore.
2019-03-11 21:21:40 +09:00
Hermet Park 5a1f1c4d5f evas vg: clean up code. 2019-03-11 20:57:49 +09:00
Hermet Park fd01eec0f5 Revert "canvas vg: fix up a regression error by file_load(),"
This reverts commit d696a12ac7.
2019-03-11 20:50:51 +09:00
Hermet Park d696a12ac7 canvas vg: fix up a regression error by file_load(),
When a new efl file is set, ex-file will be invalid.
Since vg cache hashes all file entries,
we must remove it from vg cache before we lost file handle.
2019-03-11 20:50:10 +09:00
Hermet Park 078fa2ff10 edje svg: revert temporarily modified meson build script 2019-03-11 20:11:45 +09:00
Hermet Park 3fc217b4dc canvas vg: remove efl_file_loaded() overriding.
vg_entry ptr can't gurantee that new setting file is loaded or not.
2019-03-11 20:09:39 +09:00
Hermet Park a0bb2dd866 evas vg: sync with upstream master 2019-03-11 17:01:44 +09:00
Hermet Park 05075a566b Merge branch 'master' into devs/hermet/lottie 2019-03-11 16:28:27 +09:00
Hermet Park 43e122d1de Merge branch 'master' into devs/hermet/lottie 2019-03-11 16:05:08 +09:00
subhransu mohanty 2538e19e77 evas/vg: Adapt to the recent change in lottie api. 2019-03-07 19:37:48 +09:00
Carsten Haitzler 067b35104c TH - pkgkit1 2019-03-02 16:57:29 +00:00
Hermet Park bdf39fc669 efl_ui_animation_view: replace naming, keyframe to progress.
To make consistency with Xamarin-Lottie interfaces,
here replace the api. Progress is more clear to understand.
2019-02-25 13:52:40 +09:00
Hermet Park 80d37a6de0 efl_ui_animation_view: update interfaces usages. 2019-02-25 13:43:10 +09:00
Hermet Park 11fb20f40a Merge branch 'master' into devs/hermet/lottie 2019-02-25 13:21:44 +09:00
Hermet Park 6895d3ff2c Merge branch 'master' into devs/hermet/lottie 2019-02-21 10:39:46 +09:00
Carsten Haitzler cebdebc7a5 TH - init splash - fix 2nd screen 2019-02-14 09:38:12 +00:00
Carsten Haitzler 998d8c3957 TH - systray padding 2019-02-13 15:30:49 +00:00
Carsten Haitzler c4ad0169eb TH - make arrows flat white triangles - pager, ibox etc.
x
2019-02-13 15:17:08 +00:00
Carsten Haitzler e8346ffea4 TH - winlist 2019-02-13 12:24:12 +00:00
Carsten Haitzler 6514b7c07d TH - pointer - fade in on startup nicely 2019-02-13 12:04:20 +00:00
Carsten Haitzler 340d56347f TH - splash - fade in nicely and out too 2019-02-13 12:04:06 +00:00
Hermet Park 01c175bdba Merge branch 'master' into devs/hermet/lottie 2019-02-11 14:14:09 +09:00
junsu choi 0d1e9857ed evas json: Load mask property from rlottie.
Summary:
   Load the mask information of the layer for implement the mask feature.
   The mask shape is transformed into a EFL_CANVAS_VG_CONTAINER and used like a matte.
   The mask interface uses the option implemented for matte temporarily.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, SanghyeonLee, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7891
2019-02-11 14:07:01 +09:00
junsu choi 1db9a6c1c1 Efl.Canvas.Vg.Object : Fix unnecessary resize function call.
Summary:
   When size of view changed, call resize function in render.

Test Plan: N/A

Reviewers: Hermet

Subscribers: cedric, SanghyeonLee, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7890
2019-02-07 18:57:58 +09:00
Hermet Park cb070a5f96 Merge branch 'master' into devs/hermet/lottie 2019-02-07 13:43:32 +09:00
Carsten Haitzler a22c88fd5b TH - do preview theme bits 2019-01-31 18:00:02 +00:00
Carsten Haitzler e1e9f66956 TH - conf - gagdet - remove box - looks nicer in shelf 2019-01-31 17:44:49 +00:00
Carsten Haitzler db0d0d706c TH - fix popup close
fixes T7662
2019-01-30 10:10:13 +00:00
Carsten Haitzler 5b13eff273 TH - fix toolbar sizing when no icons 2019-01-30 09:56:22 +00:00
junsu choi f74bdf5ee3 efl_gfx_image_animation_controller: Rename '*.Image_Animation_*' to '*.Frame_*'
Summary:
Efl.Gfx.Image_Animation_Controller name refers to the control of an animatable image.
However, the method we use is closer to controlling the frame.
We can change the name to Efl.Gfx.Frame_Controller and enhance the functionality of the frame control.

efl_gfx_image_animation_controller: Applies name changed history

Applies the change history changed
from Efl.Gfx.Image_Animation_Controller to Efl.Gfx.Frame_Controller
(409dcfb560e2c3006756787676c86160a226255c)

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7820
2019-01-30 12:27:52 +09:00
Hermet Park 05e0fa5459 Merge branch 'master' into devs/hermet/lottie 2019-01-29 19:13:07 +09:00
junsu choi 28eeccdf61 Efl.Ui.Animation_View: Implement Min/Max_Progress/Frame_Set/Get
Summary:
Implements APIs to set the range when playing.
If we set progress or frame's min and max, it will play within the set value.
keyframe sets the value based on min/max, not the whole frame.

void efl_ui_animation_view_min_progress_set(Eo *obj, double min_progress);
double efl_ui_animation_view_min_progress_get(const Eo *obj);
void efl_ui_animation_view_max_progress_set(Eo *obj, double max_progress);
double efl_ui_animation_view_max_progress_get(const Eo *obj);
void efl_ui_animation_view_min_frame_set(Eo *obj, int min_frame);
int efl_ui_animation_view_min_frame_get(const Eo *obj);
void efl_ui_animation_view_max_frame_set(Eo *obj, int max_frame);
int efl_ui_animation_view_max_frame_get(const Eo *obj);

Test Plan:
Evas_Object *anim_view = elm_animation_view_add(win);
elm_animation_view_auto_repeat_set(anim_view, 1);
elm_animation_view_file_set(anim_view, "a.json", NULL);
elm_animation_view_play(anim_view);
evas_object_show(anim_view);

evas_object_size_hint_align_set(anim_view, EVAS_HINT_FILL, EVAS_HINT_FILL);
evas_object_size_hint_weight_set(anim_view, 1, 1);

elm_animation_view_min_progress_set(anim_view, 0.3);
elm_animation_view_max_progress_set(anim_view, 0.8);

//or
elm_animation_view_min_frame_set(anim_view, 5);
elm_animation_view_max_frame_set(anim_view, 15);

Reviewers: Hermet

Subscribers: cedric, smohanty, #reviewers, SanghyeonLee, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7818
2019-01-29 18:59:51 +09:00
Stephen 'Okra' Houston 042888c0dd Flat theme: Fix cpuclock theme.` 2019-01-28 14:53:17 -06:00
Hermet Park d3ec5efdea evas vg: fix a regression bug in caching logic.
drop previous cached surface if new caching surface is coming,
Now, evas vg could keep only 1 surface cache ignoring size.
2019-01-28 17:27:20 +09:00
Hermet Park ac636e2b0c evas vg: improve masking render logic.
Previous masking image is generated on vg rendering time,
though context is changed to main vg rendering to masking,
This had a issue that ector context switching which is not allowed
in software backend because of asynchronou method.

Now, this improvment brings the masking rendering move to
vg render pre step with synchronous rendering method,
then use the masking surface in the main vg rendering.
2019-01-28 16:53:42 +09:00
Carsten Haitzler aaf2eb1e52 TH - music control title 2019-01-24 14:03:43 +00:00
Hermet Park 1a8e7e1417 efl_ui_animation: fix wrong installation header files. 2019-01-24 18:12:25 +09:00
Stephen 'Okra' Houston 67a5bd2043 Wireless Theme: Make the cloud work as it is supposed to on wifi. 2019-01-23 16:13:46 -06:00
Stephen 'Okra' Houston a427979cce Flat theme: Finish converting new gadgets. 2019-01-23 15:24:16 -06:00
Carsten Haitzler a08f678ae3 TH - music control 2019-01-23 17:30:56 +00:00
Carsten Haitzler a0f1d7103b gadman - make popup padding scale 2019-01-23 16:04:08 +00:00
Hermet Park d2e3aad0a2 elementary animation_view: correct header file installation.
there is a regression error after elm_animation_view to interface.
2019-01-23 18:48:40 +09:00
Hermet Park 51b1c03b5b m4: update dependency check.
lottie-player has been changed to rlottie.
2019-01-23 17:02:39 +09:00
Hermet Park 4fb1e659bc rename package lottier-player to rlottie 2019-01-23 15:47:29 +09:00
junsu choi 073e6874b5 Efl_Ui_Animation : Fix type errors for legacy APIs
Summary:
In eo file, eolian can't declear legacy type enum.
so We should to declear legacy enum in legacy header for legacy APIs.
and fix some docs.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, SanghyeonLee, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7716
2019-01-22 15:57:50 +09:00
Hermet Park 61384ffda8 evas vg: fix a memory leak.
if a vector file data is not sharable,
it must close the file immediately when
the instance is destroyed.
2019-01-22 14:10:34 +09:00
Hermet Park c929cb2c78 elementary animation_view: correct to proper efl_ui prefix. 2019-01-21 17:39:35 +09:00
Hermet Park d242ab4156 elementary animation_view: up to date with latest interface grammar. 2019-01-21 17:10:34 +09:00
Hermet Park 7ac79d5f72 Merge branch 'master' into devs/hermet/lottie 2019-01-21 17:03:54 +09:00
junsu choi 375eda4efd Elm_Animation_View: Change Elm.Animation_View to Efl.Ui.Animation_View
Summary:
   Change class name for using Efl.Ui namespace.

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: segfaultxavi, cedric, smohanty, #reviewers, SanghyeonLee, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7668
2019-01-21 16:47:17 +09:00
Carsten Haitzler 81b6a29b8f TH - fix edje_cc errors with new edje_cc 2019-01-18 18:30:16 +00:00
Carsten Haitzler 2e95f35127 Merge branch 'master' into feature/themes/flat 2019-01-18 18:22:10 +00:00
Hermet Park d81467c117 Merge branch 'master' into devs/hermet/lottie 2019-01-18 13:50:12 +09:00
Hermet Park 484354a3b8 elementary animation_view: correct max frame number. 2019-01-17 19:33:02 +09:00
Hermet Park a05f4f66fb evas vg: correct max frame number. 2019-01-17 19:32:40 +09:00
Hermet Park bff0cfd0a4 evas vg: improve caching mechanism.
json loader doesn't proper to share the file loader data,
since the loader need to track animation frame data.

If some instances open a same resource, but have different animation frames,
This won't be the best.

So, don't share file loader instance by loader demand.
2019-01-17 18:00:29 +09:00
junsu choi 346a21ef1c Elm_Animation_View : Change some EAPI to EOAPI
Summary:
enum Elm_Animation_View_State -> enum Elm.Animation_View.State
elm_animation_view_state_get -> Elm.Animation_View.state.get
elm_animation_view_is_playing_back -> Elm.Animation_View.is_playing_back
elm_animation_view_frame_count_get -> Elm.Animation_View.frame_count.get

Test Plan: N/A

Reviewers: Hermet

Reviewed By: Hermet

Subscribers: cedric, SanghyeonLee, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7632
2019-01-16 18:52:12 +09:00
Hermet Park 83a254434a elementary animation_view: updated doc.
frame number is more clear than frame index.
2019-01-16 10:37:49 +09:00
junsu choi ca715ad43f Elm_Animation_View : Add elm_animation_view_frame_set/get apis
Summary:
   elm_animation_view_frame_set is index of frame of animation view.
   Range of frame value is 0 to elm_animation_view_fame_count - 1.
   This value calculated with keyframe value.

   elm_animation_view_frame_get return index of current frame.

Test Plan:
   setenv("ECTOR_BACKEND", "default", 1);
   setenv("ELM_ACCEL", "gl", 1);

   elm_init(argc, argv);

   Eo *win = elm_win_util_standard_add(NULL, "test");
   evas_object_smart_callback_add(win, "delete,request", win_del, 0);
   elm_win_autodel_set(win, 1);

   //Animation View
   Evas_Object *anim_view = elm_animation_view_add(win);
   elm_animation_view_auto_repeat_set(anim_view, 1);
   elm_animation_view_file_set(anim_view, "a.json", NULL);
   evas_object_show(anim_view);

   evas_object_size_hint_align_set(anim_view, EVAS_HINT_FILL, EVAS_HINT_FILL);
   evas_object_size_hint_weight_set(anim_view, 1, 1);

   elm_win_resize_object_add(win, anim_view);

   evas_object_resize(win, WIDTH, HEIGHT);
   evas_object_show(win);

   printf("Get frame count : %d\n", elm_animation_view_frame_count_get(anim_view));
   printf("Set frame : 35\n");
   elm_animation_view_frame_set(anim_view  , 35);
   printf("Get frame : %d\n", elm_animation_view_frame_get(anim_view));
   printf("Get keyframe : %f\n", elm_animation_view_keyframe_get(anim_view));

   printf("Set frame : 0\n");
   elm_animation_view_frame_set(anim_view  , 0);
   printf("Get frame : %d\n", elm_animation_view_frame_get(anim_view));
   printf("Get keyframe : %f\n", elm_animation_view_keyframe_get(anim_view));

   printf("Set keyframe : 0.5\n");
   elm_animation_view_keyframe_set(anim_view  , 0.5);
   printf("Get keyframe : %f\n", elm_animation_view_keyframe_get(anim_view));
   printf("Get frame : %d\n", elm_animation_view_frame_get(anim_view));

   elm_run();
   elm_shutdown();

Reviewers: Hermet

Subscribers: YOhoho, cedric, SanghyeonLee, #reviewers, smohanty, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7624
2019-01-16 10:28:00 +09:00
Hermet Park 849d457f25 evas vg: improve cache logic.
1. drop cached surface if the size is changed,
2. only cache target needs to acquire cached surface.
2019-01-15 20:22:29 +09:00
Hermet Park 1ce86269ae Merge branch 'master' into devs/hermet/lottie 2019-01-15 13:32:33 +09:00
junsu choi 0d3591b21c Elm_Animation_View: Add elm_animation_view_frame_count_get api
Summary:
elm_animation_view_frame_count_get is return
to the total number of frames of vector.

Test Plan: N/A

Reviewers: Hermet

Subscribers: cedric, #reviewers, #committers, smohanty, SanghyeonLee

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7616
2019-01-14 18:59:26 +09:00
Hermet Park 845c0f8908 evas doc: fix minor typos. 2019-01-10 15:48:37 +09:00
Hermet Park d4abf223bd elementary: introduce a new widget - elm_animation_view
Elm_Animation_View is designed to display Efl_Canvas_Vg Animation (Lottie),

has a set of animation control functions.

@feature
2019-01-10 15:35:04 +09:00
Hermet Park bcdc48b326 evas vg: expose a set of lottie feature legacy apis.
evas_object_vg_animated_frame_count_get()
evas_object_vg_animated_frame_duration_get()
evas_object_vg_file_set()
evas_object_vg_mmap_set()
evas_object_vg_animated_frame_set()
evas_object_vg_animated_frame_get()
2019-01-10 15:25:54 +09:00
Hermet Park b7465d6ece evas json: add lottie animation example. 2019-01-10 15:03:46 +09:00
YoungBok Shin 5cd22b8c11 edje: add json file support feature
It also starts to support following new edc properties.
This is backported patch from Tizen 5.0

1. frame
desc { "default"
   vector {
      frame: 0.5; // 0.0 ~ 1.0
   }
}

2. actions
program { "vector_animation";
   // VG_ANIM_PLAY, VG_ANIM_PLAY_BACK, VG_ANIM_LOOP,
   // VG_ANIM_STOP, VG_ANIM_PAUSE, VG_ANIM_RESUME
   action: VG_ANIM_PLAY;
   target: "your_vector_part";
}

@feature
2019-01-10 14:42:02 +09:00
Hermet Park 111d1c018f evas vg: clear mask buffer properly.
when mask buffer is reused, it must be cleared first.
2019-01-10 14:15:07 +09:00
Hermet Park 5b0c43cbbc evas json: introduce lottie animation in efl.
lottie animation is a new format of animation data
that works based on vector graphics and key frames.

lottie-player is a standalone library that manipulate
lottie animation scenes. Since lottie animation file format
is json, evas json loader is added here and it parses json data
using lottie player and construct vector nodes graphs
by accessing lottie-player interfaces.

Since evas vector is designed for static image,
here changes vg object interfaces to newly afford animation controller
by expanding Gfx.Image.Animation_Controller and expand vg cache routines
for caching first and last frame images which is mostly used repeatedly
in common scenarios.

@feature
2019-01-10 14:13:16 +09:00
Hermet Park 865c60373a evas vg: refactor internal function name.
Specify explict svg name in vg common function
since the functiona is totally depends on svg spec.

No logic changes.
2019-01-09 13:56:15 +09:00
Carsten Haitzler 366ab5c3bc TH - clock date string color 2018-12-27 12:31:06 +00:00
Carsten Haitzler 3151c68b2c TH - genlist - adjust flip area to match icon extremities 2018-12-11 23:55:34 +00:00
Carsten Haitzler 209dfb415d TH - check/radio (e) 2018-12-06 19:45:46 +00:00
Carsten Haitzler 09817872d6 TH - slider (e) 2018-12-06 16:35:34 +00:00
Carsten Haitzler a3c436bc07 TH - fileman 2018-12-05 17:13:54 +00:00
Carsten Haitzler 3858a5343e TH - toolbar 2018-12-05 17:13:54 +00:00
Carsten Haitzler 5999b5d4b5 TH - conf 2018-12-05 17:13:49 +00:00
Carsten Haitzler dfa82c2e36 TH - dialogs 2018-12-05 14:36:05 +00:00
Carsten Haitzler 3152ae1d36 TH - fontpreview 2018-12-05 14:36:05 +00:00
Carsten Haitzler 2ee2966dd5 TH - ilist 2018-12-05 14:35:58 +00:00
Carsten Haitzler deca87730e TH - orig pointer 2018-12-04 17:25:29 +00:00
Carsten Haitzler 2b5fa62c58 TH - pointers 2018-12-04 17:25:09 +00:00
Carsten Haitzler 3ae3ac620f TH - inwin 2018-11-30 16:47:01 +00:00
Carsten Haitzler 0f91d5bf74 TH - slider (elm) 2018-11-30 16:11:15 +00:00
Carsten Haitzler 05e4f7edb8 RTH - time - merge with clock mokstly 2018-11-11 00:02:32 +00:00
Carsten Haitzler 5c1cf85be8 TH - - therm bryce gadget update 2018-11-10 11:38:12 +00:00
Carsten Haitzler d09021f88f TH - fix start theme for bryce gadgets 2018-11-10 11:22:07 +00:00
Carsten Haitzler a4bd5ac068 TH - fix bryce spacing 2018-11-10 11:21:52 +00:00
Carsten Haitzler 081fe902c6 TH - add bluez5 gadget theme element 2018-07-16 22:06:53 +09:00
Carsten Haitzler be5b2766dd Merge branch 'master' into feature/themes/flat 2018-07-06 14:36:07 +09:00
Carsten Haitzler 40d8a6d2b2 Merge branch 'master' into feature/themes/flat 2018-07-06 14:10:39 +09:00
Carsten Haitzler 60e2bfe21b TH - fix everything comp frame to have the shadow visible again 2018-06-14 21:54:55 +09:00
Carsten Haitzler 2ce9c3afbe TH - fix check and radio alignmenty to be left next to the check/radio 2018-05-31 12:39:18 +09:00
Carsten Haitzler 83c3f042b4 TH - list - adjust offscale and min sizes to match genlist 2018-05-21 13:43:02 +09:00
Carsten Haitzler edf8c20cc9 TH - genlist goes flat 2018-05-21 13:38:52 +09:00
Carsten Haitzler 94002cc458 TH - progress - move to the same busy anim on ibar/wins... and
also add a hidden style for the wheel style so it has no bg so it can
hide until things are busy, and add bare style h/v bars with nothing
but a rect (and a bg) with with a hidden version to use as progress
bars like android does - along the edge of some element flush with the
edge... :)
2018-05-12 02:24:21 +09:00
Carsten Haitzler 739d638ab3 TH - make vertical busy spinner a possibility 2018-05-11 18:27:42 +09:00
Carsten Haitzler 8197c18ff8 TH - fix content sizing min in icons with shared text def + fix btn 2018-05-10 21:31:07 +09:00
Carsten Haitzler 587679b92c TH - done flat progressbar now. 2018-05-10 21:16:36 +09:00
Carsten Haitzler 545ee7ab24 TH - pointer - adjust pointer suspend/resume
move to 0.5 sec to match comp fade in/out in theme
2018-03-31 15:30:08 +09:00
Carsten Haitzler cf836455e1 TH - remove left over blue glow on focus that isnt "flat" 2018-03-26 20:25:43 +09:00
Carsten Haitzler 64e0ee92d5 TH - gadget - music control - improve it slightly. popup not fully done 2018-03-09 20:46:55 +09:00
Carsten Haitzler ec8682e4cf TH - e scrollframe - match elm scroller 2018-03-09 20:30:00 +09:00
Carsten Haitzler 7ed1d9114d TH - elm CSD border - match min titlebar fix like e borders 2018-03-09 20:02:43 +09:00
Carsten Haitzler dad5cb1288 TH - some minor adjusments on borders to keep sizing consistent
i noticed different sans fonts on the system (biststream vera vs
dejavu make sizing chnage a fair bit ... enough to affect menu icons
so they clip and titlebars also get thinner that expected. this
corrects that with a minimum size.
2018-03-05 17:58:31 +09:00
Stephen Houston 978a3db7f9 The bar size for indicators is 5. 2018-02-27 00:44:17 -06:00
Stephen Houston dc676fec0a Flat theme: Get Bryce up to speed with flat theme, as well as luncher and pager for bryce. Add alternate and translucent themes to shelf and bryce that actually fit and match theme. 2018-02-26 17:10:13 -06:00
Carsten Haitzler 775f1c373f TH - work on some efm icons 2018-02-25 19:11:48 +09:00
Carsten Haitzler 7883f92a95 add originals for bg 2018-02-24 23:21:02 +09:00
Carsten Haitzler 442dec2706 TH - finally change default background for flat theme 2018-02-22 02:07:22 +09:00
Carsten Haitzler e6b0c3c5e2 TH - hover+hoversel theme work 2018-01-24 12:29:27 +09:00
Carsten Haitzler 3a7f878dbb TH - elm list 2018-01-20 15:27:23 +09:00
Carsten Haitzler 53680f808f TH - fix up off by 1 in frame 2018-01-19 21:04:04 +09:00
Carsten Haitzler 68cc68e2eb TH elm bubble 2018-01-19 20:43:22 +09:00
Carsten Haitzler 49021a2ebb TH - fix init splash to match default theme 2018-01-17 18:47:43 +09:00
Carsten Haitzler 66a1a036c7 Merge branch 'feature/themes/flat' of ssh://git.enlightenment.org/core/efl into feature/themes/flat 2018-01-16 01:51:19 +09:00
Carsten Haitzler a14f79a290 TH 2018-01-16 01:46:04 +09:00
Carsten Haitzler 9463b8c545 TH 2018-01-16 01:20:10 +09:00
5559 changed files with 189159 additions and 190814 deletions

7
.arcconfig Normal file
View File

@ -0,0 +1,7 @@
{
"project_id" : "efl",
"projects" : "efl",
"conduit_uri" : "https://phab.enlightenment.org/",
"phabricator.uri" : "https://phab.enlightenment.org/",
"repository.callsign" : "EFL"
}

21
.ci/README Normal file
View File

@ -0,0 +1,21 @@
Matrix build:
-------------
We are building our software on different distributions with the help of docker images. Right now
we are using versions of Ubuntu, Fedora and Debian.
OSX build:
----------
We are using the OSX support of Travis CI to build EFL on OSX. Build testing two combinations: Xcode
7.3.1 on OS X 10.11 and Xcode 8.3.3 on OS X 10.12.
Run locally:
------------
For easy developer testing the CI setup can also be run in full or only parts locally on the
developers machine. You need to have docker installed and after that it is a simple:
docker pull fedora:26
docker build -f .ci/Dockerfile-Fedora26 .
Travis:
-------
https://travis-ci.org/Enlightenment/efl

View File

@ -0,0 +1,16 @@
# Evas
leak:evas_module_find_type
leak:generic_cache_new
# Edje / cpplib
leak:handle_directive
# Edje_cc
leak:edje_cc
leak:_efl_loop_message_handler_message_send
leak:ecore_ipc_client_add
# Elm_prefs_cc
leak:st_collection_page_items_item_label
leak:st_collection_page_items_item_name
leak:st_collection_page_items_item_string_placeholder
leak:st_collection_page_items_item_string_default
leak:st_collection_page_items_item_string_deny
leak:ob_collection_page_items_item

View File

@ -0,0 +1,7 @@
#!/bin/sh
mkdir build-bootstrap-native
meson --prefix=/usr/ --libdir=/usr/lib -Dbuild-examples=false -Dbuild-tests=false -Dbindings=cxx build-bootstrap-native
ninja -C build-bootstrap-native install
rm -rf build-bootstrap-native
ldconfig

17
.ci/build-efl-app.sh Executable file
View File

@ -0,0 +1,17 @@
#!/bin/sh
set -e
#clone our examples from efl
git clone --depth=1 -b master http://git.enlightenment.org/tools/examples.git/
cd examples/apps/c/life/
#build the example
mkdir build
meson . ./build
ninja -C build all
#remove the folder again so its not left in the artifacts
cd ../../../..
rm -rf examples

16
.ci/build-example.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
set -e
if [ -d /usr/local/lib64 ] ; then
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig
else
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
fi
cd .ci/example
#build the example
mkdir build
meson . build
ninja -C build all

7
.ci/ccache.conf Normal file
View File

@ -0,0 +1,7 @@
max_size = 500M
compression = true
compression_level = 1
sloppiness = time_macros,include_file_mtime,include_file_ctime,file_macro
run_second_cpp = false
hash_dir = false

19
.ci/ci-build-test.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" = "codecov" ] || [ "$1" = "coverity" ] || [ "$1" = "mingw" ] || [ "$1" = "release-ready" ]; then
exit 0
fi
travis_fold compile_test compile_test
if [ "$DISTRO" != "" ] ; then
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) .ci/build-example.sh
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
exit 0
#FIXME: we don't install efl_ui.pc on osx?
export PATH="$(brew --prefix gettext)/bin:$PATH"
.ci/build-example.sh
fi
travis_endfold compile_test

9
.ci/ci-ccache-stats.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
set -e
if [ "$DISTRO" != "" ] ; then
docker exec $(cat $HOME/cid) ccache -s
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
ccache -s
fi

107
.ci/ci-configure.sh Executable file
View File

@ -0,0 +1,107 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$DISTRO" != "" ] ; then
# Why do we need to disable the imf loaders here?
OPTS=" -Decore-imf-loaders-disabler=scim,ibus"
MONO_LINUX_COPTS=" -Dbindings=luajit,cxx,mono -Dmono-beta=true"
WAYLAND_LINUX_COPTS=" -Dwl=true -Ddrm=true -Dopengl=es-egl -Dwl-deprecated=true -Ddrm-deprecated=true"
# TODO:
# - No libelogind package in fedora 30 repo
# - RPM fusion repo for xine and libvlc
# - Ibus
ENABLED_LINUX_COPTS=" -Dfb=true -Dsdl=true -Dbuffer=true -Dbuild-id=travis-build \
-Ddebug-threads=true -Dglib=true -Dg-mainloop=true -Dxpresent=true -Dxinput22=true \
-Devas-loaders-disabler=json -Decore-imf-loaders-disabler= -Demotion-loaders-disabler=libvlc,xine \
-Demotion-generic-loaders-disabler=vlc -Dharfbuzz=true -Dpixman=true -Dhyphen=true \
-Dvnc-server=true -Dbindings=luajit,cxx,mono -Delogind=false -Dinstall-eo-files=true -Dphysics=true"
# Enabled png, jpeg evas loader for in tree edje file builds
DISABLED_LINUX_COPTS=" -Daudio=false -Davahi=false -Dx11=false -Dphysics=false -Deeze=false \
-Dopengl=none -Deina-magic-debug=false -Dbuild-examples=false -Dbuild-tests=false \
-Dcrypto=gnutls -Dglib=false -Dgstreamer=false -Dsystemd=false -Dpulseaudio=false \
-Dnetwork-backend=connman -Dxinput2=false -Dtslib=false \
-Devas-loaders-disabler=gst,pdf,ps,raw,svg,xcf,bmp,dds,eet,generic,gif,ico,jp2k,json,pmaps,psd,tga,tgv,tiff,wbmp,webp,xpm \
-Decore-imf-loaders-disabler=xim,ibus,scim -Demotion-loaders-disabler=gstreamer1,libvlc,xine \
-Demotion-generic-loaders-disabler=vlc -Dfribidi=false -Dfontconfig=false \
-Dedje-sound-and-video=false -Dembedded-lz4=false -Dlibmount=false -Dv4l2=false \
-Delua=true -Dnls=false -Dbindings= -Dlua-interpreter=luajit -Dnative-arch-optimization=false"
#evas_filter_parser.c:(.text+0xc59): undefined reference to `lua_getglobal' with interpreter lua
RELEASE_READY_LINUX_COPTS=" --buildtype=release"
MINGW_COPTS="--cross-file .ci/cross_toolchain.txt -Davahi=false -Deeze=false -Dsystemd=false \
-Dpulseaudio=false -Dx11=false -Dopengl=none -Dlibmount=false \
-Devas-loaders-disabler=json,pdf,ps,raw,svg,rsvg \
-Dharfbuzz=true -Dpixman=true -Dembedded-lz4=false "
if [ "$1" = "default" ]; then
OPTS="$OPTS $MONO_LINUX_COPTS"
elif [ "$1" = "options-enabled" ]; then
OPTS="$OPTS $ENABLED_LINUX_COPTS $WAYLAND_LINUX_COPTS"
elif [ "$1" = "options-disabled" ]; then
OPTS="$OPTS $DISABLED_LINUX_COPTS"
elif [ "$1" = "wayland" ]; then
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
elif [ "$1" = "release-ready" ]; then
OPTS="$OPTS $RELEASE_READY_LINUX_COPTS"
elif [ "$1" = "coverity" ]; then
OPTS="$OPTS $WAYLAND_LINUX_COPTS"
travis_fold cov-download cov-download
docker exec --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c '.ci/coverity-tools-install.sh'
travis_endfold cov-download
elif [ "$1" = "mingw" ]; then
OPTS="$OPTS $MINGW_COPTS"
travis_fold cross-native cross-native
docker exec $(cat $HOME/cid) sh -c '.ci/bootstrap-efl-native-for-cross.sh'
travis_endfold cross-native
fi
if [ "$1" = "asan" ]; then
travis_fold meson meson
docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
--env CXX="ccache g++" --env CFLAGS="-O0 -g" --env CXXFLAGS="-O0 -g" \
--env LD="ld.gold" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS -Db_sanitize=address"
travis_endfold meson
elif [ "$1" = "mingw" ]; then
travis_fold meson meson
docker exec --env EIO_MONITOR_POLL=1 --env PKG_CONFIG_PATH="/ewpi-64-install/lib/pkgconfig/" \
$(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS"
travis_endfold meson
elif [ "$1" = "coverity" ]; then
travis_fold meson meson
docker exec --env EIO_MONITOR_POLL=1 --env CFLAGS="-fdirectives-only" --env CC="gcc" --env CXX="g++"\
--env CXXFLAGS="-fdirectives-only" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS"
travis_endfold meson
else
travis_fold meson meson
docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
--env CXX="ccache g++" --env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
--env LD="ld.gold" $(cat $HOME/cid) sh -c "mkdir build && meson build $OPTS"
travis_endfold meson
fi
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
# Prepare OSX env for build
mkdir -p ~/Library/LaunchAgents
ln -sfv /usr/local/opt/d-bus/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/org.freedesktop.dbus-session.plist
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
export CFLAGS="-I/usr/local/opt/openssl/include -frewrite-includes $CFLAGS"
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
LIBFFI_VER=$(brew list --versions libffi|head -n1|cut -d' ' -f2)
export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig"
export CC="ccache gcc"
travis_fold meson meson
mkdir build && meson build -Dopengl=full -Decore-imf-loaders-disabler=scim,ibus -Dx11=false -Davahi=false -Deeze=false -Dsystemd=false -Dnls=false -Dcocoa=true -Demotion-loaders-disabler=gstreamer1,libvlc,xine
travis_endfold meson
else
travis_fold meson meson
mkdir build && meson build -Decore-imf-loaders-disabler=scim,ibus -Db_coverage=true
travis_endfold meson
fi

15
.ci/ci-make-benchmark.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" != "default" ] ; then
exit 0
fi
travis_fold benchmark "ninja benchmark"
if [ "$DISTRO" != "" ] ; then
docker exec --env EIO_MONITOR_POLL=1 --env ELM_ENGINE=buffer $(cat $HOME/cid) ninja benchmark -C build
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
ninja benchmark -C build
fi
travis_endfold benchmark

39
.ci/ci-make-check.sh Executable file
View File

@ -0,0 +1,39 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" = "release-ready" ] || [ "$1" = "mingw" ] || [ "$1" = "coverity" ] || [ "$1" = "options-enabled" ] || [ "$1" = "options-disabled" ] ; then
exit 0
fi
NUM_TRIES=5
if [ "$1" = "codecov" ] ; then
for tries in $(seq 1 ${NUM_TRIES}); do
meson test -t 120 -C build --wrapper dbus-launch && break
cat build/meson-logs/testlog-dbus-launch.txt
if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
false
done
curl -s https://codecov.io/bash | bash -s -
exit 0
fi
travis_fold check "ninja test"
if [ "$DISTRO" != "" ] ; then
for tries in $(seq 1 ${NUM_TRIES}); do
if [ "$1" = "asan" ]; then
(docker exec --env EINA_LOG_BACKTRACE="0" --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=detect_leaks=0:abort_on_error=0 $(cat $HOME/cid) meson test -t 120 -C build --wrapper dbus-launch) && break
else
(docker exec --env EINA_LOG_BACKTRACE="0" --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) meson test -t 120 -C build --wrapper dbus-launch ) && break
fi
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) cat build/meson-logs/testlog-dbus-launch.txt
if [ $tries != ${NUM_TRIES} ] ; then echo "tests failed, trying again!" ; fi
false
done
fi
ret=$?
travis_endfold check
exit $ret

21
.ci/ci-make-distcheck.sh Executable file
View File

@ -0,0 +1,21 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" != "release-ready" ] ; then
exit 0
fi
travis_fold distcheck "ninja dist"
if [ "$DISTRO" != "" ] ; then
docker exec --env EIO_MONITOR_POLL=1 --env CC="ccache gcc" \
--env CXX="ccache g++" \
--env CFLAGS="-fdirectives-only" --env CXXFLAGS="-fdirectives-only" \
--env LD="ld.gold" $(cat $HOME/cid) dbus-launch ninja -C build dist || \
(sudo cat efl-*/_build/sub/src/test-suite.log; false)
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
ninja -C build dist
fi
travis_endfold distcheck

23
.ci/ci-make-install.sh Executable file
View File

@ -0,0 +1,23 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" = "release-ready" ] || [ "$1" = "coverity" ] ; then
exit 0
fi
travis_fold install "ninja install"
if [ "$1" = "asan" ]; then
docker exec --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=abort_on_error=0 --env LSAN_OPTIONS=suppressions=/src/.ci/asan-ignore-leaks.supp $(cat $HOME/cid) ninja -C build install
exit $?
fi
if [ "$DISTRO" != "" ] ; then
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build install
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="/usr/local/opt/ccache/libexec:$(brew --prefix gettext)/bin:$PATH"
ninja -C build install
else
sudo ninja -C build install
fi
travis_endfold install

30
.ci/ci-make.sh Executable file
View File

@ -0,0 +1,30 @@
#!/bin/sh
set -e
. .ci/travis.sh
if [ "$1" = "release-ready" ] ; then
exit 0
fi
travis_fold ninja ninja
if [ "$1" = "asan" ]; then
docker exec --env EIO_MONITOR_POLL=1 --env ASAN_OPTIONS=abort_on_error=0 --env LSAN_OPTIONS=suppressions=/src/.ci/asan-ignore-leaks.supp $(cat $HOME/cid) ninja -C build
exit $?
fi
if [ "$DISTRO" != "" ] ; then
if [ "$1" = "coverity" ] ; then
docker exec --env EIO_MONITOR_POLL=1 --env PATH="/src/cov-analysis-linux64-2019.03/bin:$PATH" $(cat $HOME/cid) sh -c "cov-build --dir cov-int ninja -C build"
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) sh -c "tar caf efl-$(git rev-parse --short HEAD).xz cov-int"
docker exec --env EIO_MONITOR_POLL=1 --env COVERITY_SCAN_TOKEN=$COVERITY_SCAN_TOKEN $(cat $HOME/cid) sh -c ".ci/coverity-upload.sh"
else
docker exec --env EIO_MONITOR_POLL=1 $(cat $HOME/cid) ninja -C build
fi
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
export PATH="$(brew --prefix gettext)/bin:$PATH"
ninja -C build
else
ninja -C build
fi
travis_endfold ninja

13
.ci/ci-setup-ccache.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
set -e
if [ "$DISTRO" != "" ] ; then
docker exec $(cat $HOME/cid) sh -c ".ci/docker-ccache-setup.sh $1"
docker exec $(cat $HOME/cid) ccache -pz
elif [ "$TRAVIS_OS_NAME" = "osx" ]; then
cp .ci/ccache.conf ~/.ccache
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
ccache -pz
fi

4
.ci/coverity-tools-install.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
wget https://scan.coverity.com/download/linux64 --post-data="token=$COVERITY_SCAN_TOKEN&project=Enlightenment+Foundation+Libraries" -O coverity_tool.tgz
tar xzf coverity_tool.tgz

8
.ci/coverity-upload.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh
curl --form token=$COVERITY_SCAN_TOKEN \
--form email=stefan@datenfreihafen.org \
--form file=@efl-$(git rev-parse --short HEAD).xz \
--form version=$(git rev-parse --short HEAD) \
--form description="Submission from Travis CI" \
https://scan.coverity.com/builds?project=Enlightenment+Foundation+Libraries

20
.ci/cross_toolchain.txt Normal file
View File

@ -0,0 +1,20 @@
[binaries]
c = ['ccache', 'x86_64-w64-mingw32-gcc']
cpp = ['ccache', 'x86_64-w64-mingw32-g++']
ar = 'x86_64-w64-mingw32-ar'
ranlib = 'x86_64-w64-mingw32-ranlib'
strip = 'x86_64-w64-mingw32-strip'
windres = 'x86_64-w64-mingw32-windres'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
[host_machine]
system = 'windows'
cpu_family = 'x86_64'
cpu = 'x86_64'
endian = 'little'
[properties]
c_args = ['-D_WIN32_WINNT=0x0601', '-I/ewpi-64-install/include', '-O2', '-pipe', '-march=x86-64']
c_link_args = ['-L/ewpi-64-install/lib', '-s']
cpp_args = ['-D_WIN32_WINNT=0x0601', '-I/ewpi-64-install/include', '-O2', '-pipe', '-march=x86-64']
cpp_link_args = ['-L/ewpi-64-install/lib', '-s']

13
.ci/docker-ccache-setup.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
CI_BUILD_TYPE="$1"
cp .ci/ccache.conf ~/.ccache
if [ "$1" = "release-ready" ] ; then
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
echo "base_dir = $(pwd)/$(grep '^PACKAGE_STRING' config.log|cut -d\' -f2|tr ' ' -)" >> ~/.ccache/ccache.conf
else
sed -iE '/^base_dir/d' ~/.ccache/ccache.conf
echo "base_dir = $pwd" >> ~/.ccache/ccache.conf
fi

13
.ci/example/meson.build Normal file
View File

@ -0,0 +1,13 @@
project(
'efl-example', 'c',
version : '0.0.1',
default_options: [ 'c_std=gnu99', 'warning_level=2' ],
meson_version : '>= 0.38.0')
eina = dependency('eina', version : '>=1.20.99')
efl = dependency('efl-ui', version : '>=1.20.99')
elm = dependency('elementary', version : '>=1.20.99')
inc = include_directories('.')
subdir('src')

11
.ci/example/src/main.c Normal file
View File

@ -0,0 +1,11 @@
#define EFL_BETA_API_SUPPORT 1
#define EFL_NOLEGACY_API_SUPPORT
#include <Efl_Ui.h>
EAPI_MAIN void
efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
return;
}
EFL_MAIN()

View File

@ -0,0 +1,12 @@
src = files([
'main.c',
])
deps = [eina, efl, elm]
executable('efl_example', src,
dependencies : deps,
include_directories : inc,
install : true
)

24
.ci/travis.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# https://github.com/travis-ci/travis-rubies/blob/9f7962a881c55d32da7c76baefc58b89e3941d91/build.sh#L38-L44
travis_fold() {
echo -e "travis_fold:start:$1\033[33;1m$2\033[0m"
}
travis_endfold() {
echo -e "\ntravis_fold:end:$1\r"
}
travis_time_start() {
travis_timer_id=$(printf %08x $(( RANDOM * RANDOM )))
travis_start_time=$(travis_nanoseconds)
echo -en "travis_time:start:$travis_timer_id\r${ANSI_CLEAR}"
}
travis_time_finish() {
local result=$?
travis_end_time=$(travis_nanoseconds)
local duration=$(($travis_end_time-$travis_start_time))
echo -en "\ntravis_time:end:$travis_timer_id:start=$travis_start_time,finish=$travis_end_time,duration=$duration\r${ANSI_CLEAR}"
return $result
}

View File

@ -0,0 +1,4 @@
#!/bin/sh
sudo apt-get update -y
sudo apt-get install -y build-essential autoconf automake autopoint doxygen check luajit libharfbuzz-dev libpng-dev libudev-dev libwebp-dev libssl-dev libluajit-5.1-dev libfribidi-dev libcogl-gles2-dev libgif-dev libtiff5-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libdbus-1-dev libmount-dev libblkid-dev libpulse-dev libxrandr-dev libxtst-dev libxcursor-dev libxcomposite-dev libxinerama-dev libxkbfile-dev libbullet-dev libvlc-dev libsndfile1-dev libraw-dev libspectre-dev libpoppler-cpp-dev libpam0g-dev liblz4-dev faenza-icon-theme gettext git imagemagick libasound2-dev libbluetooth-dev libfontconfig1-dev libfreetype6-dev libibus-1.0-dev libiconv-hook-dev libjpeg-dev libjpeg-turbo8-dev libpoppler-dev libpoppler-private-dev libproxy-dev librsvg2-dev libscim-dev libsystemd-dev libtool libudisks2-dev libunibreak-dev libxcb-keysyms1-dev libxine2-dev libxss-dev linux-tools-common libcurl4-openssl-dev systemd ccache git binutils-gold python3-pip ninja-build dbus-x11 libavahi-client-dev python3-setuptools
pip3 install meson

1
.lcov-config Normal file
View File

@ -0,0 +1 @@
geninfo_auto_base=1

7
.lgtm.yml Normal file
View File

@ -0,0 +1,7 @@
extraction:
python:
python_setup:
version: 3
queries:
-
exclude: cpp/fixme-comment

View File

@ -21,16 +21,16 @@ Tom Hacohen <tom@stosb.com> Tom 'TAsn' Hacohen <tom@stosb.com>
Tom Hacohen <tom@stosb.com> Tom <tom@stosb.com>
Gustavo Sverzut Barbieri <barbieri@gmail.com> Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
Gustavo Sverzut Barbieri <barbieri@gmail.com> Gustavo Sverzut Barbieri <gustavo.barbieri@intel.com>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cpmichael@comcast.net>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cp.michael@samsung.com>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cpmichael1@comcast.net>
Christopher Michael <devilhorns@comcast.net> Chris Michael <devilhorns@comcast.net>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <devilhorns@comcast.net>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cpmichael@comcast.net>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cpmichael1@comcast.net>
Christopher Michael <devilhorns@comcast.net> Christopher <devilhorns@comcast.net>
Christopher Michael <devilhorns@comcast.net> Chris Michael <cp.michael@samsung.com>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cpmichael@osg.samsung.com>
Christopher Michael <devilhorns@comcast.net> Chris Michael <cpmichael@osg.samsung.com>
Christopher Michael <devilhorns@comcast.net> Chris Micheal <cp.michael@samsung.com>
Christopher Michael <devilhorns@comcast.net> Christopher Michael <cp.michael@samsung.com>
Christopher Michael <devilhorns@comcast.net> Chris Michael <cp.michael@samsung.com>
Sebastian Dransfeld <sd@tango.flipp.net> Sebastian Dransfeld <sebastian.dransfeld@sintef.no>
Sebastian Dransfeld <sd@tango.flipp.net> sebastid <sebastid>
Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Mike Blumenkrantz <m.blumenkran@samsung.com>

140
.travis.yml Normal file
View File

@ -0,0 +1,140 @@
version: ~> 1.0
language: c
cache:
directories:
- $HOME/cachedir
- $HOME/.ccache
dist: bionic
osx_image: xcode10.2
addons:
homebrew:
packages:
- gettext
- check
- bullet
- dbus
- fontconfig
- freetype
- fribidi
- gst-plugins-good
- gstreamer
- luajit
- openssl
- webp
- libsndfile
- glib
- libspectre
- libraw
- librsvg
- poppler
- lz4
- pulseaudio
- ccache
- ninja
- python3
- libffi
env:
global:
- EIO_MONITOR_POLL=1
- CC="ccache gcc"
- CXX="ccache g++"
jobs:
include:
- os: osx
- os: linux
env: DISTRO=Fedora31-mingw CI_BUILD_TYPE=mingw
- os: linux
env: DISTRO=Fedora31 CI_BUILD_TYPE=options-enabled
- os: linux
env: DISTRO=Fedora31 CI_BUILD_TYPE=options-disabled
- os: linux
env: DISTRO=Fedora31 CI_BUILD_TYPE=wayland
- os: linux
env: DISTRO=Fedora31 CI_BUILD_TYPE=default
- os: linux
if: type = cron
env: DISTRO=Fedora31 CI_BUILD_TYPE=release-ready
- os: linux
if: type = cron
env: DISTRO=Ubuntu1804
- os: linux
if: type = cron
env: DISTRO=Ubuntu1910
- os: linux
if: type = cron
env: DISTRO=Debian96
- os: linux
if: type = cron
env: DISTRO=Fedora31 CI_BUILD_TYPE=coverity
- os: linux
if: type = cron
env: DISTRO=Fedora31 CI_BUILD_TYPE=asan
- os: linux
if: type = cron
env: CI_BUILD_TYPE=codecov
- os: linux
if: type = cron
arch: arm64
env: CI_BUILD_TYPE=default
services:
- docker
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
rm -rf $HOME/Library/Caches/Homebrew
rm -rf $HOME/cachedir/Homebrew/Homebrew
mv $HOME/cachedir/Homebrew $HOME/Library/Caches/Homebrew
pip3 install meson
fi
before_script:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" != "" ]]; then
docker pull stefanschmidt1/ci-support-files:$DISTRO
docker version
docker run --cap-add SYS_PTRACE --cidfile $HOME/cid -t -d -v `pwd`:/src -v $HOME/.ccache:/root/.ccache -w /src stefanschmidt1/ci-support-files:$DISTRO bash
fi
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$DISTRO" == "" ]]; then
.ci/ubuntu-bionic-install-deps.sh
fi
- .ci/ci-ccache-stats.sh
script:
- .ci/ci-configure.sh "$CI_BUILD_TYPE"
- .ci/ci-setup-ccache.sh "$CI_BUILD_TYPE"
- .ci/ci-make.sh "$CI_BUILD_TYPE"
- .ci/ci-make-install.sh "$CI_BUILD_TYPE"
- .ci/ci-make-benchmark.sh "$CI_BUILD_TYPE"
- .ci/ci-make-check.sh "$CI_BUILD_TYPE"
- .ci/ci-make-distcheck.sh "$CI_BUILD_TYPE"
- .ci/ci-build-test.sh "$CI_BUILD_TYPE"
before_cache:
- .ci/ci-ccache-stats.sh
- |
mkdir -p $HOME/cachedir
if [[ "$TRAVIS_OS_NAME" == "linux" ]] ; then
sudo chown travis:travis $HOME/.ccache
else
mv $HOME/Library/Caches/Homebrew $HOME/cachedir/Homebrew
fi
notifications:
irc:
channels:
- "chat.freenode.net#edevelop"
on_success: change
on_failure: always
template:
- "TravisCI build %{build_number} in branch %{branch}: %{result} - %{message} (%{elapsed_time})"
- "Commit: %{commit_subject} (%{commit}) from %{author}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"

View File

@ -12,6 +12,7 @@ the licensing of such libraries is compatible with the libraries that
use them and is not more restrictive).
evil: licenses/COPYING.BSD
escape: licenses/COPYING.GPL (used in PlayStation native)
eina: licenses/COPYING.LGPL
emile: licenses/COPYING.LGPL
eet: licenses/COPYING.BSD
@ -34,6 +35,7 @@ eolian: licenses/COPYING.BSD
elua: licenses/COPYING.BSD
elementary: licenses/COPYING.LGPL
generic/evas: licenses/COPYING.GPL (separate binary/executable)
generic/emotion: licenses/COPYING.GPL (separate binary/executable)
efl: licenses/COPYING.LGPL
csharp bindings: licenses/COPYING.ASL
cxx bindings: licenses/COPYING.ASL

10
COPYING.images Normal file
View File

@ -0,0 +1,10 @@
Gesture Layer 2 (all the icons in data/elementary/images/g_layer):
Illustrations provided by GestureWorks® (www.gestureworks.com)
Creative Commons Attribution Sharealike license v 3.0.
http://gestureworks.com/
http://gestureworks.com/icons-fonts
http://creativecommons.org/licenses/by-sa/3.0/us/
EFL Bluish-X icons theme (all the icons in data/elementary/themes/fdo):
GNU General Public License v3
see the README in data/elementary/themes/fdo for more info

1486
ChangeLog Normal file

File diff suppressed because it is too large Load Diff

59
INSTALL Normal file
View File

@ -0,0 +1,59 @@
** COMPILING and INSTALLING **
------------------------------
Meson is the build system used for this project. For more information please
see:
http://mesonbuild.com
----
Normal compilation in /usr/local:
meson . build
ninja -C build
sudo ninja -C build install
For meson build generic options:
meson --help
For a list of project specific options supported:
cat meson_options.txt
To set 1 or more project specific options:
meson --prefix=/path/to -Doption=value [-Dother=value2] [...] . build
To display current configuration:
meson configure build
The above will only work after at least the following is done:
meson . build
** QUICK AND DIRTY HELP **
--------------------------
How clean out the build and config and start fresh:
rm -rf build
How to make a dist tarball and check its build:
(must do it from git tree clone and commit all changes to git first)
ninja -C build dist
How to change prefix:
meson --prefix=/path/to/prefix . build
How to install in a specific destination directory for packaging:
DESTDIR=/path/to/destdir ninja -C build install
How to build with verbose output (full commands run):
ninja -C build -v

139
NEWS
View File

@ -1,152 +1,17 @@
==========
EFL 1.25.0
EFL 1.23.0
==========
Changes since 1.24.0:
---------------------
Features:
* ecore-drm2: Add support for using page_flip_handler2
* ecore-drm2: Add API function to return default depth
Fixes:
* ecore_evas: only define these eina errors once
* exactness: remove no longer needed _evas_new()
* edje - don't set font sizes less than 1
* ecore_evas_x - fix maximize/unmaximize request corner case
* exactness_player: do not test for delay_ms
* evas + gl - fix callback-to-app-changes-state issue with pixel data
* canvas render: don't apply mask if the objects in the map.
* evas_object_textblock: fix to free style properly by edje's style_user_pop
* evas_vg_shape: return NULL in evas_vg_shape_add when the parent of shape is NULL
* efl_ui_image: fix to call "clicked" smart callback when there is no img
* ecore-x - ensure we fully look at all xkb events and refresh all binds
* evas_vg_container: return NULL in evas_vg_container_add when the parent of container is NULL
* ecore thread - feedback threads should not be background threads...
* ecore_evas_wayland_common: keep the backword compatibility for wayland dnd handler
* edje: fix animation memory leak.
* canvas vg: fix dangling vector containers.
* evas vg: clean up dangling instances
* canvas vg: fix vector file data memory leak.
* evas - csd and wl csd - fix alpha zeroing to avoid framespace junk
* efl gfx_path: fix memory leak.
* evas - genetic update regions smart merge - merge v adjacent regions
* efreet - handle runtime relocation right with default XDG_DATA_DIRS
* efl_ui_image: fixed elm_image_preload_disabled_set api is not working when it is called before file set
* elm_image: keep backword compatibility for elm_image_file_set API when setting url file set twice
* efreetd - cache - add more statinfo work around 0 mtime distros
* elm_code: on newline ensure line number visible. (T2798)
* elm_code: cursor visbility fix.
* edje - fix edje_cc mis-re-iding images in image sets
* efl_ui_image: remove the unnecessary code in efl_file_unload
* win - x io errors really just have to exit, so call the iorr cb + exit
* evas - render - dont crash is private data is null
* eina vpath - fix windows ~username handling to only error when used
* efl ui image - fix scal to fill - broken with non-rect src images
* embryo: fix a integer(cell) overflow problem
* elput - support libelogind.so.0 as well as libelogind-shared.so.0
* edje - calce - really respect max image size for img sets
* ecore - don't do anything with heap between fork and exec
* evas - fix deadlock with sw async rendering calling cbs in post flush
* ecore con - curl - fix error map to map right enum
* eina - statgen (stat generation) - fix enable api to actually enable
* evas - image cache - fix loading with skip head on to load changed files
* evas_textblock: remove style padding from native width and formatted height
* elm icon/thumb - fix handling of a wider range of video extns
* edje - calc - handle swallow disappearing mid-calc due to callabcks
* ecore drm - increase timeout for flips from 0.05 to 2.0 sec
* docs: Correct the mismatched group name in Evas.
* elm - toolbar - use correct theme icon for more items
Changes since 1.23.0:
---------------------
Features:
* eina: add comparison macros for Eina_Size2D and Eina_Position2D
* ecore-wl2: Add API to find a window by surface
* ecore-wl2: Add API to find a connected display given a name
* ecore-wl2: Add API to return the compositor object from a given display
* ecore-wl2: Add API to return window type
* ecore-wl2: Add API to find a window by given surface
* edje: Add text change signal
* edje: add json file support feature
Fixes:
* efl_ui/bg: unset finger_size multiplier during construction (T8304)
* elementary: always use a font that matches our expectation for our test instead of the system one. (T8277)
* doc: improve colorselector preview (T8304)
* eldbus: properly call parent finalize during creation of Eldbus.Model_Method.
* efl_ui/win: fix max size hint eval (T8304)
* eet - fix loading eet files that do not have dicts (T8368)
* evas/callbacks: emit hardcoded legacy smart callbacks always
* elm/layout: add some workarounds to try handling legacy min sizes
* ecore_evas/wl2 0 fux xdg close cb for window when it's closed remotely
* wl egl - use platform get display
* ecore-evas-wayland: Add handler to array
* ecore_evas_wayland: Fix array step size
* efl/timer: correctly handle recursion for timer processing
* elm/genlist: trigger filter,done callback immediately if no filter queue exists
* elm/genlist: fix "drag" smart callback
* elm/genlist: set pan need recalc during item move on item position change
* elm/genlist: fix item focus unregister on item move
* ecore/timer: correctly handle recursive deletion of legacy timers
* ecore-drm2: Fix issue of shifting 1 by more than 32bits
* efreet - consider ctime changes as changes too
* edje - box - calc min size correctly at start ...
* vector svg: apply fill-opacity to graidents fill objects.
* evas vector: initialize data member properly.
* fix jpeg loading which freed the wrong ptr (T8497)
* fix the wrong method signature for evas_textgrid
* efl_ui/layout: fix multiple emissions of theme,changed during construction
* ui image: fix scale_method expand behavior.
* ecore-x - fix fallbacks to use capital X in lib name (T8543)
* elm - widget - actually check object smart data return for no data
* canvas vector: fix to refresh svg file of vector object.
* evas - fix access-after-free where during destroy hash item not cleared
* elm - fix filesel deferred unref to not crash
* ecore_con - freebsd bind blocking workaround
* elm win + ecore evas - fix csd stuff like base size and min sizing
* evas - fix access-after-free number 2 (T8534)
* elm win - fix client side move/resize req handling csd in x
* edje - store original size in edje struct and dont exceed max size
* evas - loaders - jp2k - re-enable in the build after it was lost
* edje_entry: Add matching tag.
* evas/events: fix multi-touch object targeting on touch down events
* eo - fix - fix alignment of eo object class structs - it was wrong
* canvas font: correct wrong masking length.
* Efl.Gfx.Path: Fix condition of for loop in current search
* canvas mask: fix incorrect render surface size.
* canvas proxy: fix broken proxy source clipping function.
* evas gl: clip rect with proper size.
* canvas proxy: fix a missing case that proxy not updated properly.
* evas_object_box: respect static clipper.
* ecore evas x - on argb dont create unused 1 bit pixmap masks
* emotion - webcam - fix segv on webcam plug/unplug and clean
* ui textpath: update map before rendering begins.
* elm icon/image efl ui image - respect aspect hints at all if set
* elm icon/image efl ui image - respect aspect hints at all if set
* elm_cnp: fix memory leaks
* elm menu - fix segv on deletion/shutdown where parent was not done ok
* canvas svg: fix memory leak.
* ecore_wl2: EFL Wayland Build on FreeBSD (T8659)
* ecore_file - address issue about false positive of finding a file in ./ (T8678)
* evas gl - shader cache was needless losing and overwriting
* efreet - work around conconforming apps putting startupwmclass in quotes
* ecore-evas-drm: Fix broken init count
Removals:
* emotion & evas: remove gstreamer 0.10 support
* emotion: remove xine and vlc support
* escape: remove library from tree
* ecore_x: remove support XGesture extension
* elocation: remove beta library
* eeze: remove tizen module support from eeze sensor
* evas3d: remove support for evas 3D which was a beta all along
Changes since 1.22.0:
---------------------
@ -4585,7 +4450,7 @@ Fixes:
* ecore-drm: Send proper keycode to ecore key event, and remove erroneous variable.
* edje/Edje_Edit: _edje_edit_real_part_add init field of Edje_Real_part
* fix ecore_con_url using 100% cpu and just let fd handler do work (T1251)
* fix behavior of edje entry to match other toolkit entries (T1229)
* fix behavior of edje entry to match other toolkit entires (T1229)
* fix ecore_thread_global_data_wait to work when no data exists yet
* Eo: Fix deref after free. (CID1039898)
* evas/render - fix segfault because of null cow access. (T1252)

528
README Normal file
View File

@ -0,0 +1,528 @@
EFL
===
******************************************************************************
FOR ANY ISSUES PLEASE EMAIL:
enlightenment-devel@lists.sourceforge.net
******************************************************************************
EFL is a collection of libraries for handling many common tasks a
developer may have such as data structures, communication, rendering,
widgets and more.
There are many components inside EFL. They also build various things
like shared libraries, loadable plug-in modules and also binary
executables. Different elements will end up being licensed differently
too. Below is a rundown of the components, what they do and their
licensing.
All library source is in the src/lib/ directory. All binaries are in
src/bin/. All loadable modules are in src/modules/. All data files are
in the data/ directory. Licensing details are listed in COPYING and
the licenses/ directory. The pc/ directory holds all the Package
Config files installed to help developers build against EFL.
For more documentation please see:
https://www.enlightenment.org/docs
PLATFORMS
---------
EFL is primarily developerd on Linux (GNU/Linux) and should work on
most distributions as long as dependencies are provided. It has been
compiled and run also on Windows (using MINGW32 - please see
http://www.winbuilds.org ), Mac OS X, FreeBSD and NetBSD.
COMPONENTS
----------
**Ecore:**
//BSD 2-Clause license//
This is the core main-loop, system events and execution layer. This
handles running the main loop, integrating with external data and
timing sources (the system clock, file descriptors, system signals),
and producing an event queue, walking that queue and dispatching
events to appropriate callbacks.
**Ecore Audio:**
//BSD 2-Clause license//
This library provides an API for audio playback and recording. It uses
pulse audio underneath to handle mixing and policies. The API for this
should not be considered stable right now because it relies on EO and
EO is not considered finalized yet.
**Ecore Cocoa:**
//BSD 2-Clause license//
This provides wrappers/abstractions around Max OS-X Cocoa APIs to help
Mac porting.
**Ecore Con:**
//BSD 2-Clause license//
This provides a completely event-based TCP/UDP and Unix domain socket
API that integrates with the main-loop. This means no blocking to send
or receive data, supporting "infinite send buffers" with storage and
spooling being done by Ecore Con. It also supports SSL encryption
transparently turned on or not on the same connection, certificate
verification, CURL wrapping for HTTP connection usage (GETs, POSTs
etc.), asynchronous DNS lookups and provides the ability to also be a
server, not just a client, with the same event-based API.
**Ecore Evas:**
//BSD 2-Clause license//
This acts as glue between the display target (X11, Wayland,
Frame buffer, Cocoa on OSX, Win32 etc.) and Evas. It creates/provides a
target for Evas to render to (a Window or Surface etc.) and feeds
input events (Keyboard, Mouse, Multi-touch) into Evas, which then
selects the target object and calls the callbacks. It also provides
wrappers/glue for manipulating the Window/Surface.
**Ecore Fb:**
//BSD 2-Clause license//
This provides virtual terminal allocation, access and handling,
frame buffer information, raw input handling for keyboard, mouse and
touch (via tslib).
**Ecore File:**
//BSD 2-Clause license//
This provides file access convenience APIs for doing simple file
operations like renames, copies, listing directories and more. It also
supports file change monitoring and URL downloads.
**Ecore IMF:**
//BSD 2-Clause license//
This is an input method abstraction framework to allow EFL to talk to
things like SCIM, IBus, Wayland and XIM. This allows for complex text
entry in languages such as Chinese, Japanese and Korean.
**Ecore IMF Evas:**
//BSD 2-Clause license//
This library glues Input method support from Ecore IMF and Evas
together.
**Ecore Input:**
//BSD 2-Clause license//
This acts as a generic input layer where multiple display systems can
post events in the same format to the event queue.
**Ecore Input Evas:**
//BSD 2-Clause license//
This Routes events from Ecore Input into a given Evas canvas which
will then route the event further to the destination object and
callbacks.
**Ecore IPC:**
//BSD 2-Clause license//
This acts as a layer on top of Ecore Con which handles entire IPC
message packets, dealing with header delta compression and
portability, as well as ensuring an entire message is received in one
go as a single IPC message, regardless of payload data size. The
entire API is event based almost exactly like Ecore Con and thus it
supports all the transport layers Ecore Con supports.
**Ecore SDL:**
//BSD 2-Clause license//
This acts as a wrapper/glue around SDL to handle SDL Windows as well
as input events from SDL and tie them to the Ecore main-loop and event
queue.
**Ecore Wayland:**
//BSD 2-Clause license//
This is a glue/wrapper library to interface EFL to Wayland libraries
to tie them into the Ecore main-loop and event queue.
**Ecore Win32:**
//BSD 2-Clause license//
This acts as glue/wrapper around Windows Win32 APIs to tie them into
the Ecore main-loop and event queue.
**Ecore WinCE:**
//BSD 2-Clause license//
This acts as glue/wrapper around Windows CE APIs to tie them into the
Ecore main-loop and event queue.
**Ecore X:**
//BSD 2-Clause license//
This is a library to wrap/deal with Xlib make dealing with X11 less painful
and less footwork as well as being glue to tie these into the Ecore main-loop
and event queue.
**Edje:**
//BSD 2-Clause license// (except the epp binary which is GPLv2)
This is a graphics event, input, theme, animation and theme
abstraction library used to place many UI/UX elements into data files
(called edj files) that define how to react to incoming
events/signals, and define animation time lines, states, relative
scalable layout and much much more. It comes with a compiler that
compiles source "edc" files into "edj" files (which are actually just
data files managed by Eet). These "edj" files are fully portable and
can work on any OS/Architecture just like a JPEG or PNG might be
portable.
**Eet:**
//BSD 2-Clause license//
This library is a data storage, encoding and decoding library
designed to be extremely compact, fast and easy to use. It can take
data structures directly from memory and serialize them portably to
disk, then de-serialize them right back to the same data structures in
memory, handling allocation and population of memory all for you in 1
call. It handles indirections such as pointers, linked lists, arrays
and hash tables too, so almost any level of data structure complexity
can be easily saved and loaded back. It is used for "edj" files by
Edje as well as all configuration in Enlightenment, Elementary and
Terminology. It supports encryption of data too via SSL, signing of
files, as well as various compression techniques. It also supports
encoding and decoding of image data in lossless or lossy form.
**Eeze:**
//BSD 2-Clause license//
This library acts as an abstraction to discovering hardware interfaces
for sensors as well as removable media and much more.
**EFL:**
//BSD 2-Clause license//
This is just some core common header data like a common version number
for EFL and how to expose the EO API.
**Efreet:**
//BSD 2-Clause license//
This library provides code for handling Freedesktop.org standards such
as .desktop files, XDG Menus, Icon search paths and more. It provides
a central daemon to handle monitoring for changes that the library
talks to, and the daemon handles updating local cache files the
library reads.
**Eina:**
//LGPL v2 license//
This library provides low-level routines for common things like linked
lists, hash tables, growable arrays, basic string buffers, shared
string tokens, mmaped() file access, thread abstraction and locking,
memory pools, copy-on-write segments, iterators, matrices, general
data models, red/black trees, quad-trees, a simple SAX XML parser and
more.
**EIO:**
//LGPL v2 license//
This is an asynchronous I/O library for doing disk I/O without blocking.
**ElDBus:**
//LGPL v2 license//
This is a DBus access library to allow you to create DBus services as
well as clients. This glues in DBus into the main-loop so all access is
asynchronous.
**Embryo:**
//Small license (same as ZLib license)//
This is a small C-like language compiler and byte-code interpreter
library. This is used for scripting in Edje. The code is based on
original source from the Pawn/Small Language but has been made
portable (endianness issues fixed) and 64bit issues fixed, with the
runtime library being refactored to be extremely small.
**Emotion:**
//BSD 2-Clause license//
This is a wrapper around Gstreamer and/or Xine and/or external
pluggable decoder binaries (generic binaries provided by Emotion
Generic Players or any suitable drop-in replacement). This glues in
the decoder library, and its output into a smart Evas object that will
display the playback for you as the video plays, as well as providing
higher level controls to seek, play, pause and query the stream
regardless of the back-end used. Note that using the Xine module may
effectively make this library GPL v2, so be aware of that before
turning that on.
**EO:**
//BSD 2-Clause license//
This is a core object system API that EFL 1.8 and on depend on. The
API is not finalized, so do not depend on it yet in EFL 1.8, but
future EFL versions will lock it down.
This object system does simple and multiple inheritance, refcounting,
strong and weak references, auto-deletion of child objects, unifies
callback handling with a single path, and also abstracts object
pointers to be indirect table lookups for increased safety at runtime.
**EPhysics:**
//BSD 2-Clause license//
This library provides a wrapper around the Bullet physics library,
allowing for it to be linked directly with Evas objects and control
their behavior as if they were real physical objects. This is now
disabled by default as it's rarely if ever used by anything.
**Ethumb:**
//LGPL v2 license//
This library provides core API for a thumbnailing daemon as well as
the thumbnail daemon itself. Ethumb Client talks with Ethumb to pass
off thumbnail generation to a central location to be done
asynchronously.
**Ethumb Client:**
//LGPL v2 license//
This is the client-side part of Ethumb that provides an API for
clients to request the Ethumb thumbnailer to generate or find cached
thumbnails of files.
**Evas:**
//BSD 2-Clause license//
This is the core rendering and scene graph abstraction library for
EFL. It manages a stateful 2D scene graph that defines the entire
content of any canvas. This supplies rendering back-ends for many
display systems like X11, Windows, Wayland, Frame-buffer etc. and via
many rendering APIs like OpenGL, OpenGL-ES 2, and pure software
implementations that are fast and accurate.
**Evil:**
//BSD 2-Clause license//
This library acts as a porting library for Windows to provide missing
libc calls not in Mingw32 that EFL needs.
COMPILING AND INSTALLING
------------------------
See the INSTALL file: https://git.enlightenment.org/core/efl.git/tree/INSTALL
REQUIREMENTS
------------
EFL requires a C and C++ compiler by default. C++ exists mostly to interface
to C++ libraries like Bullet and our C++ bindings.
Required by default:
* libpng
* libjpeg
* openjpeg2
* gstreamer (Ensure all codecs you want are installed.)
* zlib
* luajit (lua 5.1 or 5.2 support optional)
* libtiff
* openssl
* curl
* dbus
* libc
* fontconfig
* freetype2
* fribidi
* harfbuzz
* libpulse
* libsndfile
* libx11
* libxau
* libxcomposite
* libxdamage
* libxdmcp
* libxext
* libxfixes
* libxinerama
* libxrandr
* libxrender
* libxss
* libxtst
* libxcursor
* libxi (2.2 or newer)
* opengl(mesa etc.) (opengl/glx/full or opengl-es2/egl. full opengl only on osx - must be explicitly specified to be full to have support)
* giflib/libgif
* util-linux (limbount + libblkid)
* systemd / libudev
* poppler / poppler-cpp
* libraw
* libspectre
* librsvg
* openmp (clang needs libomp, while gcc uses libgomp)
* libwebp
Wayland support:
You may also want wayland support when on Linux. This enables support
for EFL to trget wayland support for client applications. To do this
supply:
-Dwl=true
Framebuffer support:
This requires linux frame-buffer support, headers etc. This supports
basic frame-buffers like /dev/fb as well as input via /dev/input for
keyboards and mice in a basic way. Enable this with:
-Dfb=true
For more modern framebuffer support you may want drm/kms rendering
support so enable this. This is what you also want for wayland
compositor support in enlightenment as it will want to be able to
render to a moder framebuffer tarbet with atomic buffer swapping. To
do this provide:
-Ddrm=true
You may want to change the install prefix for EFL with:
--prefix=/path/to/prefix
The default prefix if not given is "/usr/local". Many people like to
use prefixes like /opt/e or /opt/efl or /home/USERNAME/software etc.
COMPILER FLAGS
--------------
You can affect compilation optimization, debugging and other factors
by setting your CFLAGS environment variable (and CXXFLAGS). Be aware
that to ensure ABI stability you should use the exact same CFLAGS /
CXXFLAGS for all the build of EFL and any applications/libraries that
depend on them.
There are many other configure options that can be used, but in
general it is not a good idea to go enabling or disabling things
unless you wish to break things. The defaults are well tested, with
the above recommended options also being well tested. Go much further
and your mileage may vary wildly. Disabling features is a good way of
breaking EFL functionality, so it is not recommended to mess with
these without understanding the implications. The defaults
have been carefully considered to provide full functionality so users
will not be missing anything.
CRYPTOGRAPHY
------------
EFL officially offers openssl or gnutls as cryptography backends. By
default it uses "openssl" to do signature, cipher and related. Alternatively
one can use "gnutls" (some distros are strict about licenses and want gnutls
instead of openssl) You can switch to gnutls with:
-Dcrypto=gnutls

546
README.md
View File

@ -1,546 +0,0 @@
![EFL](/data/readme/efl.png)
# EFL
-----
*Please report bugs/issues at*
[git.enlightenment.org](https://git.enlightenment.org/enlightenment/efl/issues)
-----
EFL is a collection of libraries for handling many common tasks a
developer may have such as data structures, communication, rendering,
widgets and more.
There are many components inside EFL. They also build various things
like shared libraries, loadable plug-in modules and also binary
executables. Different elements will end up being licensed differently
too. Below is a rundown of the components, what they do and their
licensing.
All library source is in the src/lib/ directory. All binaries are in
src/bin/. All loadable modules are in src/modules/. All data files are
in the data/ directory. Licensing details are listed in COPYING and
the licenses/ directory. The pc/ directory holds all the Package
Config files installed to help developers build against EFL.
For more documentation please see:
[www.enlightenment.org/doc](https://www.enlightenment.org/docs)
## Platforms
EFL is primarily developed on Linux (GNU/Linux) and should work on
most distributions as long as dependencies are provided. It has been
compiled and run also on Windows (using MSYS2 + mingw-w64 - please see
[Phabricator windows docs](https://phab.enlightenment.org/w/windows)),
Mac OS X, FreeBSD and NetBSD.
## Components
**Ecore:**
*BSD 2-Clause license*
This is the core main-loop, system events and execution layer. This
handles running the main loop, integrating with external data and
timing sources (the system clock, file descriptors, system signals),
and producing an event queue, walking that queue and dispatching
events to appropriate callbacks.
**Ecore Audio:**
*BSD 2-Clause license*
This library provides an API for audio playback and recording. It uses
pulse audio underneath to handle mixing and policies. The API for this
should not be considered stable right now because it relies on EO and
EO is not considered finalized yet.
**Ecore Cocoa:**
*BSD 2-Clause license*
This provides wrappers/abstractions around Max OS-X Cocoa APIs to help
Mac porting.
**Ecore Con:**
*BSD 2-Clause license*
This provides a completely event-based TCP/UDP and Unix domain socket
API that integrates with the main-loop. This means no blocking to send
or receive data, supporting "infinite send buffers" with storage and
spooling being done by Ecore Con. It also supports SSL encryption
transparently turned on or not on the same connection, certificate
verification, CURL wrapping for HTTP connection usage (GETs, POSTs
etc.), asynchronous DNS lookups and provides the ability to also be a
server, not just a client, with the same event-based API.
**Ecore Evas:**
*BSD 2-Clause license*
This acts as glue between the display target (X11, Wayland,
Frame buffer, Cocoa on OSX, Win32 etc.) and Evas. It creates/provides a
target for Evas to render to (a Window or Surface etc.) and feeds
input events (Keyboard, Mouse, Multi-touch) into Evas, which then
selects the target object and calls the callbacks. It also provides
wrappers/glue for manipulating the Window/Surface.
**Ecore Fb:**
*BSD 2-Clause license*
This provides virtual terminal allocation, access and handling,
frame buffer information, raw input handling for keyboard, mouse and
touch (via tslib).
**Ecore File:**
*BSD 2-Clause license*
This provides file access convenience APIs for doing simple file
operations like renames, copies, listing directories and more. It also
supports file change monitoring and URL downloads.
**Ecore IMF:**
*BSD 2-Clause license*
This is an input method abstraction framework to allow EFL to talk to
things like SCIM, IBus, Wayland and XIM. This allows for complex text
entry in languages such as Chinese, Japanese and Korean.
**Ecore IMF Evas:**
*BSD 2-Clause license*
This library glues Input method support from Ecore IMF and Evas
together.
**Ecore Input:**
*BSD 2-Clause license*
This acts as a generic input layer where multiple display systems can
post events in the same format to the event queue.
**Ecore Input Evas:**
*BSD 2-Clause license*
This Routes events from Ecore Input into a given Evas canvas which
will then route the event further to the destination object and
callbacks.
**Ecore IPC:**
*BSD 2-Clause license*
This acts as a layer on top of Ecore Con which handles entire IPC
message packets, dealing with header delta compression and
portability, as well as ensuring an entire message is received in one
go as a single IPC message, regardless of payload data size. The
entire API is event based almost exactly like Ecore Con and thus it
supports all the transport layers Ecore Con supports.
**Ecore SDL:**
*BSD 2-Clause license*
This acts as a wrapper/glue around SDL to handle SDL Windows as well
as input events from SDL and tie them to the Ecore main-loop and event
queue.
**Ecore Wayland:**
*BSD 2-Clause license*
This is a glue/wrapper library to interface EFL to Wayland libraries
to tie them into the Ecore main-loop and event queue.
**Ecore Win32:**
*BSD 2-Clause license*
This acts as glue/wrapper around Windows Win32 APIs to tie them into
the Ecore main-loop and event queue.
**Ecore X:**
*BSD 2-Clause license*
This is a library to wrap/deal with Xlib make dealing with X11 less painful
and less footwork as well as being glue to tie these into the Ecore main-loop
and event queue.
**Edje:**
*BSD 2-Clause license* (except the epp binary which is GPLv2)
This is a graphics event, input, theme, animation and theme
abstraction library used to place many UI/UX elements into data files
(called edj files) that define how to react to incoming
events/signals, and define animation time lines, states, relative
scalable layout and much much more. It comes with a compiler that
compiles source "edc" files into "edj" files (which are actually just
data files managed by Eet). These "edj" files are fully portable and
can work on any OS/Architecture just like a JPEG or PNG might be
portable.
**Eet:**
*BSD 2-Clause license*
This library is a data storage, encoding and decoding library
designed to be extremely compact, fast and easy to use. It can take
data structures directly from memory and serialize them portably to
disk, then de-serialize them right back to the same data structures in
memory, handling allocation and population of memory all for you in 1
call. It handles indirections such as pointers, linked lists, arrays
and hash tables too, so almost any level of data structure complexity
can be easily saved and loaded back. It is used for "edj" files by
Edje as well as all configuration in Enlightenment, Elementary and
Terminology. It supports encryption of data too via SSL, signing of
files, as well as various compression techniques. It also supports
encoding and decoding of image data in lossless or lossy form.
**Eeze:**
*BSD 2-Clause license*
This library acts as an abstraction to discovering hardware interfaces
for sensors as well as removable media and much more.
**EFL:**
*BSD 2-Clause license*
This is just some core common header data like a common version number
for EFL and how to expose the EO API.
**Efreet:**
*BSD 2-Clause license*
This library provides code for handling Freedesktop.org standards such
as .desktop files, XDG Menus, Icon search paths and more. It provides
a central daemon to handle monitoring for changes that the library
talks to, and the daemon handles updating local cache files the
library reads.
**Eina:**
*LGPL v2 license*
This library provides low-level routines for common things like linked
lists, hash tables, growable arrays, basic string buffers, shared
string tokens, mmaped() file access, thread abstraction and locking,
memory pools, copy-on-write segments, iterators, matrices, general
data models, red/black trees, quad-trees, a simple SAX XML parser and
more.
**EIO:**
*LGPL v2 license*
This is an asynchronous I/O library for doing disk I/O without blocking.
**ElDBus:**
*LGPL v2 license*
This is a DBus access library to allow you to create DBus services as
well as clients. This glues in DBus into the main-loop so all access is
asynchronous.
**Embryo:**
*Small license (same as ZLib license)*
This is a small C-like language compiler and byte-code interpreter
library. This is used for scripting in Edje. The code is based on
original source from the Pawn/Small Language but has been made
portable (endianness issues fixed) and 64bit issues fixed, with the
runtime library being refactored to be extremely small.
**Emotion:**
*BSD 2-Clause license*
This is a wrapper around Gstreamer 1.x pluggable decoder libraries
This glues in the decoder library, and its output into a smart Evas object
that will display the playback for you as the video plays, as well as
providing higher level controls to seek, play, pause and query the stream
regardless of the back-end used.
**EO:**
*BSD 2-Clause license*
This is a core object system API that EFL 1.8 and on depend on. The
API is not finalized, so do not depend on it yet in EFL 1.8, but
future EFL versions will lock it down.
This object system does simple and multiple inheritance, refcounting,
strong and weak references, auto-deletion of child objects, unifies
callback handling with a single path, and also abstracts object
pointers to be indirect table lookups for increased safety at runtime.
**EPhysics:**
*BSD 2-Clause license*
This library provides a wrapper around the Bullet physics library,
allowing for it to be linked directly with Evas objects and control
their behavior as if they were real physical objects. This is now
disabled by default as it's rarely if ever used by anything.
**Ethumb:**
*LGPL v2 license*
This library provides core API for a thumbnailing daemon as well as
the thumbnail daemon itself. Ethumb Client talks with Ethumb to pass
off thumbnail generation to a central location to be done
asynchronously.
**Ethumb Client:**
*LGPL v2 license*
This is the client-side part of Ethumb that provides an API for
clients to request the Ethumb thumbnailer to generate or find cached
thumbnails of files.
**Evas:**
*BSD 2-Clause license*
This is the core rendering and scene graph abstraction library for
EFL. It manages a stateful 2D scene graph that defines the entire
content of any canvas. This supplies rendering back-ends for many
display systems like X11, Windows, Wayland, Frame-buffer etc. and via
many rendering APIs like OpenGL, OpenGL-ES 2, and pure software
implementations that are fast and accurate.
**Evil:**
*BSD 2-Clause license*
This library acts as a porting library for Windows to provide missing
libc calls not in Mingw32 that EFL needs. It is used internally and
no symbol is public.
-----
## Requirements
EFL requires a C and C++ compiler by default. C++ exists mostly to interface
to C++ libraries like Bullet and our C++ bindings.
Required by default:
* libpng
* libjpeg
* openjpeg2
* gstreamer (Ensure all codecs you want are installed.)
* zlib
* luajit (lua 5.1 or 5.2 support optional)
* libtiff
* openssl
* curl
* dbus
* libc
* fontconfig
* freetype2
* fribidi
* harfbuzz
* libpulse
* libsndfile
* libx11
* libxau
* libxcomposite
* libxdamage
* libxdmcp
* libxext
* libxfixes
* libxinerama
* libxrandr
* libxrender
* libxss
* libxtst
* libxcursor
* libxi (2.2 or newer)
* opengl(mesa etc.) (opengl/glx/full or opengl-es2/egl. full opengl only on osx - must be explicitly specified to be full to have support)
* giflib/libgif
* util-linux (limbount + libblkid)
* systemd / libudev
* poppler / poppler-cpp
* libraw
* libspectre
* librsvg
* openmp (clang needs libomp, while gcc uses libgomp)
* libwebp
### Wayland support
You may also want wayland support when on Linux. This enables support
for EFL to target wayland support for client applications. To do this
supply:
``` sh
-Dwl=true
```
### Framebuffer support
For more modern framebuffer support you may want drm/kms rendering
support so enable this. This is what you also want for wayland
compositor support in enlightenment as it will want to be able to
render to a modern framebuffer target with atomic buffer swapping. To
do this provide:
``` sh
-Ddrm=true
```
Legacy fbcon support also exists, but you probably no longer want to
use this as it is not maintained anymore. This supports basic frame-buffers
like /dev/fb as well as input via /dev/input for keyboards and mice in a
basic way. Enable this with:
``` sh
-Dfb=true
```
You may want to change the install prefix for EFL with:
``` sh
--prefix=/path/to/prefix
```
The default prefix if not given is "/usr/local". Many people like to
use prefixes like /opt/e or /opt/efl or /home/USERNAME/software etc.
### Compiler flags
You can affect compilation optimization, debugging and other factors
by setting your `CFLAGS` environment variable (and `CXXFLAGS`). Be aware
that to ensure ABI stability you should use the exact same `CFLAGS` /
`CXXFLAGS` for all the build of EFL and any applications/libraries that
depend on them.
There are many other configure options that can be used, but in
general it is not a good idea to go enabling or disabling things
unless you wish to break things. The defaults are well tested, with
the above recommended options also being well tested. Go much further
and your mileage may vary wildly. Disabling features is a good way of
breaking EFL functionality, so it is not recommended to mess with
these without understanding the implications. The defaults
have been carefully considered to provide full functionality so users
will not be missing anything.
### Cryptography
EFL officially offers openssl or gnutls as cryptography backends. By
default it uses "openssl" to do signature, cipher and related. Alternatively
one can use "gnutls" (some distros are strict about licenses and want gnutls
instead of openssl) You can switch to gnutls with:
``` sh
-Dcrypto=gnutls
```
-----
## Compiling and Installing
Meson is the build system used for this project. For more information
please see [mesonbuild.com](https://mesonbuild.com)
You will need normal build tooling installed such as a compiler (gcc
or clang for example), pkg-config, ninja, any relevant package-dev or
package-devel packages if your distribution splits out development
headers (e.g. libc6-dev) etc.
Depending on where dependencies, you might have to set your
`PKG_CONFIG_PATH` environment variable like:
```sh
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig
```
Also note that some distributions like to add extra arch directories
to your library locations so you might have to have more like:
```sh
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/lib/x86_64-linux-gnu/pkgconfig:/usr/lib/pkgconfig:/usr/lib64/pkgconfig:/usr/lib/x86_64-linux-gnu/pkgconfig
```
You will need to ensure that the destination library directory (e.g.
`/usr/local/lib` is in your /etc/ld.so.conf or /etc/ld.so.conf.d/
files and after installing anything that installs libraries you
re-run `ldconfig`. Please see relevant documentation on ldconfig and
ld.so.conf for your distribution.
You might also want to add the destination bin dir to your environment
variable PATH (see documentation on your shell PATH variable) such as:
```sh
export PATH=/usr/local/bin:/usr/bin:/bin
```
Normal compilation in /usr/local:
```sh
meson . build
ninja -C build
sudo ninja -C build install
```
For meson build generic options:
```sh
meson --help
```
For a list of project specific options supported:
```sh
cat meson_options.txt
```
To set 1 or more project specific options:
```sh
meson --prefix=/path/to -Doption=value [-Dother=value2] [...] . build
```
To display current configuration:
```sh
meson configure build
```
The above will only work after at least the following is done:
```sh
meson . build
```
### Quick build help
How to clean out the build and config and start fresh:
```sh
rm -rf build
```
How to make a dist tarball and check its build:
(must do it from git tree clone and commit all changes to git first)
```sh
ninja -C build dist
```
How to change prefix:
```sh
meson --prefix=/path/to/prefix . build
```
How to install in a specific destination directory for packaging:
```sh
DESTDIR=/path/to/destdir ninja -C build install
```
How to build with verbose output (full commands run):
```sh
ninja -C build -v
```

View File

@ -47,14 +47,14 @@ function(eo_rule_create build_files relative_include_dirs)
${EOLIAN_EO_DIR_WITHOUT_NEWLINE}
)
# convert relative to absolute
# convert relative to absolut
foreach(relative_include_dir ${relative_include_dirs})
list(APPEND include_dirs
${CMAKE_CURRENT_SOURCE_DIR}/${relative_include_dir}
)
endforeach()
# work with the absolute paths
# work with the absolut paths
foreach(include_cmd ${include_dirs})
# build include cmd
string(CONCAT includes "${includes}" " -I${include_cmd}")

View File

@ -1,3 +1,3 @@
#!/bin/sh -e
meson -Dsystemd=false -Dv4l2=false -Deeze=false -Dinput=false \
meson -Dsystemd=false -Dv4l2=false -Deeze=false \
$@ . build

3
confs/linux-elogind.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh -e
meson -Dfb=true -Ddrm=true -Dwl=true -Dsystemd=false -Delogind=true \
$@ . build

View File

@ -0,0 +1,3 @@
#!/bin/sh -e
meson -Dfb=true -Dsystemd=false\
$@ . build

View File

@ -1,3 +0,0 @@
#!/bin/sh -e
meson -Dsystemd=false -Dv4l2=false -Deeze=false -Dinput=false \
$@ . build

View File

@ -1,698 +0,0 @@
group "Elm_Palette" struct {
group "colors" list {
group "Elm_Palette_Color" struct {
value "name" string: ":bg";
value "r" uchar: 243;
value "g" uchar: 189;
value "b" uchar: 189;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-semi";
value "r" uchar: 245;
value "g" uchar: 187;
value "b" uchar: 187;
value "a" uchar: 182;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-trans";
value "r" uchar: 243;
value "g" uchar: 189;
value "b" uchar: 189;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmest";
value "r" uchar: 150;
value "g" uchar: 58;
value "b" uchar: 58;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmer";
value "r" uchar: 175;
value "g" uchar: 49;
value "b" uchar: 49;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-dark";
value "r" uchar: 205;
value "g" uchar: 99;
value "b" uchar: 99;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-light";
value "r" uchar: 247;
value "g" uchar: 201;
value "b" uchar: 201;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt";
value "r" uchar: 241;
value "g" uchar: 175;
value "b" uchar: 175;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dim";
value "r" uchar: 244;
value "g" uchar: 164;
value "b" uchar: 164;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark";
value "r" uchar: 231;
value "g" uchar: 111;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-invisible";
value "r" uchar: 231;
value "g" uchar: 111;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-darkest";
value "r" uchar: 235;
value "g" uchar: 111;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-alt";
value "r" uchar: 219;
value "g" uchar: 69;
value "b" uchar: 69;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-medium";
value "r" uchar: 243;
value "g" uchar: 173;
value "b" uchar: 173;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-high";
value "r" uchar: 227;
value "g" uchar: 141;
value "b" uchar: 141;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-higher";
value "r" uchar: 251;
value "g" uchar: 229;
value "b" uchar: 229;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-highest";
value "r" uchar: 192;
value "g" uchar: 32;
value "b" uchar: 32;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light-alt";
value "r" uchar: 249;
value "g" uchar: 215;
value "b" uchar: 215;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-dim";
value "r" uchar: 211;
value "g" uchar: 163;
value "b" uchar: 163;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg";
value "r" uchar: 100;
value "g" uchar: 60;
value "b" uchar: 60;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-prehigh";
value "r" uchar: 83;
value "g" uchar: 45;
value "b" uchar: 45;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-high";
value "r" uchar: 83;
value "g" uchar: 51;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-higher";
value "r" uchar: 60;
value "g" uchar: 36;
value "b" uchar: 36;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-light";
value "r" uchar: 224;
value "g" uchar: 224;
value "b" uchar: 224;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-light";
value "r" uchar: 110;
value "g" uchar: 90;
value "b" uchar: 80;
value "a" uchar: 25;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-medium";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-heavy";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt";
value "r" uchar: 239;
value "g" uchar: 175;
value "b" uchar: 110;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-trans";
value "r" uchar: 255;
value "g" uchar: 153;
value "b" uchar: 51;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-dim";
value "r" uchar: 231;
value "g" uchar: 182;
value "b" uchar: 134;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-dim";
value "r" uchar: 55;
value "g" uchar: 95;
value "b" uchar: 40;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2";
value "r" uchar: 179;
value "g" uchar: 232;
value "b" uchar: 127;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2-dim";
value "r" uchar: 206;
value "g" uchar: 239;
value "b" uchar: 174;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected3";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4";
value "r" uchar: 228;
value "g" uchar: 118;
value "b" uchar: 118;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4-dim";
value "r" uchar: 229;
value "g" uchar: 140;
value "b" uchar: 140;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5";
value "r" uchar: 119;
value "g" uchar: 0;
value "b" uchar: 238;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5-dim";
value "r" uchar: 179;
value "g" uchar: 127;
value "b" uchar: 230;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6";
value "r" uchar: 0;
value "g" uchar: 121;
value "b" uchar: 61;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6-dim";
value "r" uchar: 104;
value "g" uchar: 202;
value "b" uchar: 142;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-normal";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-selected";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-off";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-medium";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-high";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-on";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-glow";
value "r" uchar: 255;
value "g" uchar: 220;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lightest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 12;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lighter";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 18;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-light";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 44;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 96;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 122;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-selected";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-disabled";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":outline";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-fail";
value "r" uchar: 255;
value "g" uchar: 32;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-pass";
value "r" uchar: 32;
value "g" uchar: 255;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success";
value "r" uchar: 0;
value "g" uchar: 169;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success-dim";
value "r" uchar: 125;
value "g" uchar: 212;
value "b" uchar: 125;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword";
value "r" uchar: 255;
value "g" uchar: 43;
value "b" uchar: 43;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword-dim";
value "r" uchar: 194;
value "g" uchar: 157;
value "b" uchar: 157;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match";
value "r" uchar: 227;
value "g" uchar: 174;
value "b" uchar: 68;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match-dim";
value "r" uchar: 229;
value "g" uchar: 196;
value "b" uchar: 123;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment-dim";
value "r" uchar: 165;
value "g" uchar: 202;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number";
value "r" uchar: 153;
value "g" uchar: 153;
value "b" uchar: 26;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number-dim";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class";
value "r" uchar: 119;
value "g" uchar: 170;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class-dim";
value "r" uchar: 169;
value "g" uchar: 189;
value "b" uchar: 209;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note";
value "r" uchar: 160;
value "g" uchar: 80;
value "b" uchar: 17;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note-dim";
value "r" uchar: 236;
value "g" uchar: 141;
value "b" uchar: 65;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo";
value "r" uchar: 40;
value "g" uchar: 80;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo-dim";
value "r" uchar: 134;
value "g" uchar: 164;
value "b" uchar: 225;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/frame/title";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/titlebar";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/menu/title";
value "r" uchar: 86;
value "g" uchar: 42;
value "b" uchar: 42;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/button";
value "r" uchar: 210;
value "g" uchar: 174;
value "b" uchar: 174;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button";
value "r" uchar: 128;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/disabled/button";
value "r" uchar: 169;
value "g" uchar: 87;
value "b" uchar: 87;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button/bar";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button-anchor";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/pointer/base";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/menu/item/base";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/entry/cursor";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/titlebar/buttons/close";
value "r" uchar: 238;
value "g" uchar: 146;
value "b" uchar: 146;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/gadgets/ibar/menu/item/base";
value "r" uchar: 231;
value "g" uchar: 185;
value "b" uchar: 185;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/syscon/button/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/fileman/nav/path/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/grid/item/fileman/desktop";
value "r" uchar: 189;
value "g" uchar: 131;
value "b" uchar: 131;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-hilight";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading-sub";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/hoversel/item";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/hoversel/item";
value "r" uchar: 110;
value "g" uchar: 190;
value "b" uchar: 80;
value "a" uchar: 255;
}
}
value "version" int: 1000;
}

View File

@ -1,82 +0,0 @@
group "Elm_Palette" struct {
value "version" int: 1000;
group "colors" list {
group "Elm_Palette_Color" struct { value "name" string: ":bg"; value "r" uchar: 64; value "g" uchar: 64; value "b" uchar: 64; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-semi"; value "r" uchar: 64; value "g" uchar: 64; value "b" uchar: 64; value "a" uchar: 182; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-trans"; value "r" uchar: 64; value "g" uchar: 64; value "b" uchar: 64; value "a" uchar: 192; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dimmest"; value "r" uchar: 36; value "g" uchar: 36; value "b" uchar: 36; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dimmer"; value "r" uchar: 44; value "g" uchar: 44; value "b" uchar: 44; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-alt-dark"; value "r" uchar: 54; value "g" uchar: 54; value "b" uchar: 54; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-alt-light"; value "r" uchar: 58; value "g" uchar: 58; value "b" uchar: 58; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-alt"; value "r" uchar: 56; value "g" uchar: 56; value "b" uchar: 56; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dim"; value "r" uchar: 48; value "g" uchar: 48; value "b" uchar: 48; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dark"; value "r" uchar: 32; value "g" uchar: 32; value "b" uchar: 32; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dark-invisible"; value "r" uchar: 32; value "g" uchar: 32; value "b" uchar: 32; value "a" uchar: 0; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-darkest"; value "r" uchar: 16; value "g" uchar: 16; value "b" uchar: 16; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-dark-alt"; value "r" uchar: 28; value "g" uchar: 28; value "b" uchar: 28; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-medium"; value "r" uchar: 72; value "g" uchar: 72; value "b" uchar: 72; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-high"; value "r" uchar: 80; value "g" uchar: 80; value "b" uchar: 80; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-higher"; value "r" uchar: 96; value "g" uchar: 96; value "b" uchar: 96; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-highest"; value "r" uchar: 112; value "g" uchar: 112; value "b" uchar: 112; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-light"; value "r" uchar: 192; value "g" uchar: 192; value "b" uchar: 192; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":bg-light-alt"; value "r" uchar: 184; value "g" uchar: 184; value "b" uchar: 184; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg-dim"; value "r" uchar: 128; value "g" uchar: 128; value "b" uchar: 128; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg"; value "r" uchar: 160; value "g" uchar: 160; value "b" uchar: 160; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg-prehigh"; value "r" uchar: 192; value "g" uchar: 192; value "b" uchar: 192; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg-high"; value "r" uchar: 200; value "g" uchar: 200; value "b" uchar: 200; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg-higher"; value "r" uchar: 220; value "g" uchar: 220; value "b" uchar: 220; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":fg-light"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-light"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 255; value "a" uchar: 25; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-medium"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 255; value "a" uchar: 128; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-heavy"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 255; value "a" uchar: 192; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-alt"; value "r" uchar: 255; value "g" uchar: 153; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-alt-trans"; value "r" uchar: 255; value "g" uchar: 153; value "b" uchar: 51; value "a" uchar: 64; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-alt-dim"; value "r" uchar: 128; value "g" uchar: 76; value "b" uchar: 25; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected-dim"; value "r" uchar: 25; value "g" uchar: 76; value "b" uchar: 128; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected2"; value "r" uchar: 153; value "g" uchar: 255; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected2-dim"; value "r" uchar: 76; value "g" uchar: 128; value "b" uchar: 25; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected3"; value "r" uchar: 255; value "g" uchar: 51; value "b" uchar: 153; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected4"; value "r" uchar: 255; value "g" uchar: 51; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected4-dim"; value "r" uchar: 153; value "g" uchar: 34; value "b" uchar: 34; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected5"; value "r" uchar: 153; value "g" uchar: 51; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected5-dim"; value "r" uchar: 76; value "g" uchar: 25; value "b" uchar: 127; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected6"; value "r" uchar: 51; value "g" uchar: 255; value "b" uchar: 153; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":selected6-dim"; value "r" uchar: 56; value "g" uchar: 160; value "b" uchar: 96; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":win-normal"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":win-selected"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":light-off"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 0; }
group "Elm_Palette_Color" struct { value "name" string: ":light-medium"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 128; }
group "Elm_Palette_Color" struct { value "name" string: ":light-high"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 200; }
group "Elm_Palette_Color" struct { value "name" string: ":light-on"; value "r" uchar: 255; value "g" uchar: 255; value "b" uchar: 255; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":light-glow"; value "r" uchar: 255; value "g" uchar: 220; value "b" uchar: 160; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":dim-invisible"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 0; }
group "Elm_Palette_Color" struct { value "name" string: ":dim-lightest"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 32; }
group "Elm_Palette_Color" struct { value "name" string: ":dim-lighter"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 64; }
group "Elm_Palette_Color" struct { value "name" string: ":dim-light"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 80; }
group "Elm_Palette_Color" struct { value "name" string: ":dim"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 160; }
group "Elm_Palette_Color" struct { value "name" string: ":dim-dark"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 200; }
group "Elm_Palette_Color" struct { value "name" string: ":shadow"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 128; }
group "Elm_Palette_Color" struct { value "name" string: ":shadow-selected"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":shadow-disabled"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 64; }
group "Elm_Palette_Color" struct { value "name" string: ":outline"; value "r" uchar: 0; value "g" uchar: 0; value "b" uchar: 0; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":validate-fail"; value "r" uchar: 255; value "g" uchar: 32; value "b" uchar: 16; value "a" uchar: 80; }
group "Elm_Palette_Color" struct { value "name" string: ":validate-pass"; value "r" uchar: 32; value "g" uchar: 255; value "b" uchar: 16; value "a" uchar: 80; }
group "Elm_Palette_Color" struct { value "name" string: ":success"; value "r" uchar: 51; value "g" uchar: 255; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":success-dim"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":keyword"; value "r" uchar: 255; value "g" uchar: 153; value "b" uchar: 153; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":keyword-dim"; value "r" uchar: 128; value "g" uchar: 80; value "b" uchar: 80; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":match"; value "r" uchar: 255; value "g" uchar: 187; value "b" uchar: 51; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":match-dim"; value "r" uchar: 128; value "g" uchar: 96; value "b" uchar: 25; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":comment"; value "r" uchar: 51; value "g" uchar: 153; value "b" uchar: 153; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":comment-dim"; value "r" uchar: 56; value "g" uchar: 96; value "b" uchar: 96; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":number"; value "r" uchar: 220; value "g" uchar: 220; value "b" uchar: 48; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":number-dim"; value "r" uchar: 128; value "g" uchar: 128; value "b" uchar: 56; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":class"; value "r" uchar: 119; value "g" uchar: 170; value "b" uchar: 221; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":class-dim"; value "r" uchar: 59; value "g" uchar: 85; value "b" uchar: 110; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":note"; value "r" uchar: 160; value "g" uchar: 80; value "b" uchar: 17; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":note-dim"; value "r" uchar: 80; value "g" uchar: 40; value "b" uchar: 8; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":todo"; value "r" uchar: 40; value "g" uchar: 80; value "b" uchar: 160; value "a" uchar: 255; }
group "Elm_Palette_Color" struct { value "name" string: ":todo-dim"; value "r" uchar: 20; value "g" uchar: 40; value "b" uchar: 80; value "a" uchar: 255; }
}
}

View File

@ -1,558 +0,0 @@
group "Elm_Palette" struct {
group "colors" list {
group "Elm_Palette_Color" struct {
value "name" string: ":bg";
value "r" uchar: 16;
value "g" uchar: 16;
value "b" uchar: 16;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-semi";
value "r" uchar: 16;
value "g" uchar: 16;
value "b" uchar: 16;
value "a" uchar: 182;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-trans";
value "r" uchar: 16;
value "g" uchar: 16;
value "b" uchar: 16;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmest";
value "r" uchar: 8;
value "g" uchar: 8;
value "b" uchar: 8;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmer";
value "r" uchar: 14;
value "g" uchar: 14;
value "b" uchar: 14;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-dark";
value "r" uchar: 20;
value "g" uchar: 20;
value "b" uchar: 20;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-light";
value "r" uchar: 42;
value "g" uchar: 42;
value "b" uchar: 42;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dim";
value "r" uchar: 33;
value "g" uchar: 33;
value "b" uchar: 33;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-darkest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-alt";
value "r" uchar: 8;
value "g" uchar: 8;
value "b" uchar: 8;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-medium";
value "r" uchar: 50;
value "g" uchar: 50;
value "b" uchar: 50;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-high";
value "r" uchar: 50;
value "g" uchar: 50;
value "b" uchar: 50;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-higher";
value "r" uchar: 69;
value "g" uchar: 69;
value "b" uchar: 69;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-highest";
value "r" uchar: 99;
value "g" uchar: 99;
value "b" uchar: 99;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light";
value "r" uchar: 123;
value "g" uchar: 123;
value "b" uchar: 123;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light-alt";
value "r" uchar: 125;
value "g" uchar: 125;
value "b" uchar: 125;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-dim";
value "r" uchar: 221;
value "g" uchar: 221;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-prehigh";
value "r" uchar: 209;
value "g" uchar: 209;
value "b" uchar: 209;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-high";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-higher";
value "r" uchar: 190;
value "g" uchar: 190;
value "b" uchar: 190;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-light";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected";
value "r" uchar: 255;
value "g" uchar: 171;
value "b" uchar: 19;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-light";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 25;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-medium";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-heavy";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt";
value "r" uchar: 255;
value "g" uchar: 132;
value "b" uchar: 4;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-trans";
value "r" uchar: 255;
value "g" uchar: 90;
value "b" uchar: 51;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-dim";
value "r" uchar: 128;
value "g" uchar: 60;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-dim";
value "r" uchar: 121;
value "g" uchar: 76;
value "b" uchar: 2;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2";
value "r" uchar: 153;
value "g" uchar: 255;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2-dim";
value "r" uchar: 76;
value "g" uchar: 128;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected3";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4-dim";
value "r" uchar: 153;
value "g" uchar: 34;
value "b" uchar: 34;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5";
value "r" uchar: 153;
value "g" uchar: 51;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5-dim";
value "r" uchar: 76;
value "g" uchar: 25;
value "b" uchar: 127;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6";
value "r" uchar: 51;
value "g" uchar: 255;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6-dim";
value "r" uchar: 56;
value "g" uchar: 160;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-normal";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-selected";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-off";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-medium";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-high";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-on";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-glow";
value "r" uchar: 255;
value "g" uchar: 220;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lightest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 32;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lighter";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-light";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 160;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-selected";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-disabled";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":outline";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-fail";
value "r" uchar: 255;
value "g" uchar: 32;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-pass";
value "r" uchar: 32;
value "g" uchar: 255;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success";
value "r" uchar: 51;
value "g" uchar: 255;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success-dim";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword";
value "r" uchar: 255;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword-dim";
value "r" uchar: 128;
value "g" uchar: 80;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match";
value "r" uchar: 255;
value "g" uchar: 187;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match-dim";
value "r" uchar: 128;
value "g" uchar: 96;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment-dim";
value "r" uchar: 56;
value "g" uchar: 96;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number";
value "r" uchar: 220;
value "g" uchar: 220;
value "b" uchar: 48;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number-dim";
value "r" uchar: 128;
value "g" uchar: 128;
value "b" uchar: 56;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class";
value "r" uchar: 119;
value "g" uchar: 170;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class-dim";
value "r" uchar: 59;
value "g" uchar: 85;
value "b" uchar: 110;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note";
value "r" uchar: 160;
value "g" uchar: 80;
value "b" uchar: 17;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note-dim";
value "r" uchar: 80;
value "g" uchar: 40;
value "b" uchar: 8;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo";
value "r" uchar: 40;
value "g" uchar: 80;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo-dim";
value "r" uchar: 20;
value "g" uchar: 40;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/titlebar";
value "r" uchar: 242;
value "g" uchar: 148;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/menu/item";
value "r" uchar: 242;
value "g" uchar: 148;
value "b" uchar: 0;
value "a" uchar: 255;
}
}
value "version" int: 1000;
}

View File

@ -1,3 +0,0 @@
group "Elm_Palette" struct {
value "version" int: 1000;
}

View File

@ -1,698 +0,0 @@
group "Elm_Palette" struct {
value "version" int: 1000;
group "colors" list {
group "Elm_Palette_Color" struct {
value "name" string: ":bg";
value "r" uchar: 216;
value "g" uchar: 216;
value "b" uchar: 216;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-semi";
value "r" uchar: 216;
value "g" uchar: 216;
value "b" uchar: 216;
value "a" uchar: 182;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-trans";
value "r" uchar: 216;
value "g" uchar: 216;
value "b" uchar: 216;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmest";
value "r" uchar: 104;
value "g" uchar: 104;
value "b" uchar: 104;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmer";
value "r" uchar: 112;
value "g" uchar: 112;
value "b" uchar: 112;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-dark";
value "r" uchar: 152;
value "g" uchar: 152;
value "b" uchar: 152;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-light";
value "r" uchar: 224;
value "g" uchar: 224;
value "b" uchar: 224;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt";
value "r" uchar: 208;
value "g" uchar: 208;
value "b" uchar: 208;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dim";
value "r" uchar: 204;
value "g" uchar: 204;
value "b" uchar: 204;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark";
value "r" uchar: 171;
value "g" uchar: 171;
value "b" uchar: 171;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-invisible";
value "r" uchar: 160;
value "g" uchar: 160;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-darkest";
value "r" uchar: 173;
value "g" uchar: 173;
value "b" uchar: 173;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-alt";
value "r" uchar: 144;
value "g" uchar: 144;
value "b" uchar: 144;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-medium";
value "r" uchar: 208;
value "g" uchar: 208;
value "b" uchar: 208;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-high";
value "r" uchar: 184;
value "g" uchar: 184;
value "b" uchar: 184;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-higher";
value "r" uchar: 240;
value "g" uchar: 240;
value "b" uchar: 240;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-highest";
value "r" uchar: 112;
value "g" uchar: 112;
value "b" uchar: 112;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light-alt";
value "r" uchar: 232;
value "g" uchar: 232;
value "b" uchar: 232;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-dim";
value "r" uchar: 187;
value "g" uchar: 187;
value "b" uchar: 187;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg";
value "r" uchar: 80;
value "g" uchar: 80;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-prehigh";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-high";
value "r" uchar: 67;
value "g" uchar: 67;
value "b" uchar: 67;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-higher";
value "r" uchar: 48;
value "g" uchar: 48;
value "b" uchar: 48;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-light";
value "r" uchar: 224;
value "g" uchar: 224;
value "b" uchar: 224;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-light";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 25;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-medium";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-heavy";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt";
value "r" uchar: 239;
value "g" uchar: 175;
value "b" uchar: 110;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-trans";
value "r" uchar: 255;
value "g" uchar: 153;
value "b" uchar: 51;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-dim";
value "r" uchar: 231;
value "g" uchar: 182;
value "b" uchar: 134;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-dim";
value "r" uchar: 166;
value "g" uchar: 176;
value "b" uchar: 186;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2";
value "r" uchar: 179;
value "g" uchar: 232;
value "b" uchar: 127;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2-dim";
value "r" uchar: 206;
value "g" uchar: 239;
value "b" uchar: 174;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected3";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4";
value "r" uchar: 228;
value "g" uchar: 118;
value "b" uchar: 118;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4-dim";
value "r" uchar: 229;
value "g" uchar: 140;
value "b" uchar: 140;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5";
value "r" uchar: 119;
value "g" uchar: 0;
value "b" uchar: 238;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5-dim";
value "r" uchar: 179;
value "g" uchar: 127;
value "b" uchar: 230;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6";
value "r" uchar: 0;
value "g" uchar: 121;
value "b" uchar: 61;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6-dim";
value "r" uchar: 104;
value "g" uchar: 202;
value "b" uchar: 142;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-normal";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-selected";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-off";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-medium";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-high";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-on";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-glow";
value "r" uchar: 255;
value "g" uchar: 220;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lightest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 12;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lighter";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 18;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-light";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 44;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 96;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 122;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-selected";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-disabled";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":outline";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-fail";
value "r" uchar: 255;
value "g" uchar: 32;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-pass";
value "r" uchar: 32;
value "g" uchar: 255;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success";
value "r" uchar: 0;
value "g" uchar: 169;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success-dim";
value "r" uchar: 125;
value "g" uchar: 212;
value "b" uchar: 125;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword";
value "r" uchar: 255;
value "g" uchar: 43;
value "b" uchar: 43;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword-dim";
value "r" uchar: 194;
value "g" uchar: 157;
value "b" uchar: 157;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match";
value "r" uchar: 227;
value "g" uchar: 174;
value "b" uchar: 68;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match-dim";
value "r" uchar: 229;
value "g" uchar: 196;
value "b" uchar: 123;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment-dim";
value "r" uchar: 165;
value "g" uchar: 202;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number";
value "r" uchar: 153;
value "g" uchar: 153;
value "b" uchar: 26;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number-dim";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class";
value "r" uchar: 119;
value "g" uchar: 170;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class-dim";
value "r" uchar: 169;
value "g" uchar: 189;
value "b" uchar: 209;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note";
value "r" uchar: 160;
value "g" uchar: 80;
value "b" uchar: 17;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note-dim";
value "r" uchar: 236;
value "g" uchar: 141;
value "b" uchar: 65;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo";
value "r" uchar: 40;
value "g" uchar: 80;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo-dim";
value "r" uchar: 134;
value "g" uchar: 164;
value "b" uchar: 225;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/frame/title";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/titlebar";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/menu/title";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/button";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button";
value "r" uchar: 96;
value "g" uchar: 96;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/disabled/button";
value "r" uchar: 128;
value "g" uchar: 128;
value "b" uchar: 128;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button/bar";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button-anchor";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/pointer/base";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/menu/item/base";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/entry/cursor";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/titlebar/buttons/close";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/gadgets/ibar/menu/item/base";
value "r" uchar: 208;
value "g" uchar: 208;
value "b" uchar: 208;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/syscon/button/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/fileman/nav/path/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/grid/item/fileman/desktop";
value "r" uchar: 160;
value "g" uchar: 160;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-hilight";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading-sub";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/hoversel/item";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/hoversel/item";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 255;
}
}
}

View File

@ -1,558 +0,0 @@
group "Elm_Palette" struct {
value "version" int: 1000;
group "colors" list {
group "Elm_Palette_Color" struct {
value "name" string: ":bg";
value "r" uchar: 62;
value "g" uchar: 55;
value "b" uchar: 73;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-semi";
value "r" uchar: 62;
value "g" uchar: 55;
value "b" uchar: 78;
value "a" uchar: 182;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-trans";
value "r" uchar: 62;
value "g" uchar: 55;
value "b" uchar: 78;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmest";
value "r" uchar: 37;
value "g" uchar: 30;
value "b" uchar: 42;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmer";
value "r" uchar: 43;
value "g" uchar: 35;
value "b" uchar: 53;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-dark";
value "r" uchar: 51;
value "g" uchar: 45;
value "b" uchar: 63;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-light";
value "r" uchar: 53;
value "g" uchar: 45;
value "b" uchar: 71;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt";
value "r" uchar: 55;
value "g" uchar: 48;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dim";
value "r" uchar: 46;
value "g" uchar: 39;
value "b" uchar: 57;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark";
value "r" uchar: 28;
value "g" uchar: 25;
value "b" uchar: 39;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-invisible";
value "r" uchar: 28;
value "g" uchar: 25;
value "b" uchar: 39;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-darkest";
value "r" uchar: 16;
value "g" uchar: 13;
value "b" uchar: 19;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-alt";
value "r" uchar: 26;
value "g" uchar: 24;
value "b" uchar: 32;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-medium";
value "r" uchar: 70;
value "g" uchar: 61;
value "b" uchar: 83;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-high";
value "r" uchar: 78;
value "g" uchar: 67;
value "b" uchar: 93;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-higher";
value "r" uchar: 99;
value "g" uchar: 79;
value "b" uchar: 113;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-highest";
value "r" uchar: 113;
value "g" uchar: 92;
value "b" uchar: 132;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light";
value "r" uchar: 194;
value "g" uchar: 182;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light-alt";
value "r" uchar: 185;
value "g" uchar: 174;
value "b" uchar: 194;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-dim";
value "r" uchar: 138;
value "g" uchar: 120;
value "b" uchar: 75;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg";
value "r" uchar: 224;
value "g" uchar: 222;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-prehigh";
value "r" uchar: 204;
value "g" uchar: 202;
value "b" uchar: 180;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-high";
value "r" uchar: 239;
value "g" uchar: 239;
value "b" uchar: 234;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-higher";
value "r" uchar: 238;
value "g" uchar: 237;
value "b" uchar: 232;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-light";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-light";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 25;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-medium";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-heavy";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt";
value "r" uchar: 255;
value "g" uchar: 86;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-trans";
value "r" uchar: 255;
value "g" uchar: 90;
value "b" uchar: 51;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-dim";
value "r" uchar: 128;
value "g" uchar: 43;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-dim";
value "r" uchar: 121;
value "g" uchar: 76;
value "b" uchar: 2;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2";
value "r" uchar: 153;
value "g" uchar: 255;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2-dim";
value "r" uchar: 76;
value "g" uchar: 128;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected3";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4-dim";
value "r" uchar: 153;
value "g" uchar: 34;
value "b" uchar: 34;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5";
value "r" uchar: 153;
value "g" uchar: 51;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5-dim";
value "r" uchar: 76;
value "g" uchar: 25;
value "b" uchar: 127;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6";
value "r" uchar: 51;
value "g" uchar: 255;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6-dim";
value "r" uchar: 56;
value "g" uchar: 160;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-normal";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-selected";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-off";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-medium";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-high";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-on";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-glow";
value "r" uchar: 255;
value "g" uchar: 220;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lightest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 32;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lighter";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-light";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 160;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-selected";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-disabled";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":outline";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-fail";
value "r" uchar: 255;
value "g" uchar: 32;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-pass";
value "r" uchar: 32;
value "g" uchar: 255;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success";
value "r" uchar: 51;
value "g" uchar: 255;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success-dim";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword";
value "r" uchar: 255;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword-dim";
value "r" uchar: 128;
value "g" uchar: 80;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match";
value "r" uchar: 255;
value "g" uchar: 187;
value "b" uchar: 51;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match-dim";
value "r" uchar: 128;
value "g" uchar: 96;
value "b" uchar: 25;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment-dim";
value "r" uchar: 56;
value "g" uchar: 96;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number";
value "r" uchar: 220;
value "g" uchar: 220;
value "b" uchar: 48;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number-dim";
value "r" uchar: 128;
value "g" uchar: 128;
value "b" uchar: 56;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class";
value "r" uchar: 119;
value "g" uchar: 170;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class-dim";
value "r" uchar: 59;
value "g" uchar: 85;
value "b" uchar: 110;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note";
value "r" uchar: 160;
value "g" uchar: 80;
value "b" uchar: 17;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note-dim";
value "r" uchar: 80;
value "g" uchar: 40;
value "b" uchar: 8;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo";
value "r" uchar: 40;
value "g" uchar: 80;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo-dim";
value "r" uchar: 20;
value "g" uchar: 40;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/titlebar";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/menu/item";
value "r" uchar: 242;
value "g" uchar: 180;
value "b" uchar: 0;
value "a" uchar: 255;
}
}
}

View File

@ -1,19 +0,0 @@
pals = [
'default',
'empty',
'light',
'mauve-sunset',
'candy-mint',
'ebony-brass',
'white-pill'
]
foreach p: pals
custom_target('colors_' + p + '.ecl',
input: p + '.src',
output: p + '.pal',
command: [eet_bin, '-e', '@OUTPUT@', 'palette', '@INPUT@', '1'],
install: true,
install_dir: join_paths(dir_data, 'elementary', 'colors'),
)
endforeach

View File

@ -1,726 +0,0 @@
group "Elm_Palette" struct {
group "colors" list {
group "Elm_Palette_Color" struct {
value "name" string: ":bg";
value "r" uchar: 240;
value "g" uchar: 240;
value "b" uchar: 240;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-semi";
value "r" uchar: 226;
value "g" uchar: 226;
value "b" uchar: 226;
value "a" uchar: 182;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-trans";
value "r" uchar: 220;
value "g" uchar: 220;
value "b" uchar: 220;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmest";
value "r" uchar: 143;
value "g" uchar: 143;
value "b" uchar: 143;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dimmer";
value "r" uchar: 169;
value "g" uchar: 169;
value "b" uchar: 169;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-dark";
value "r" uchar: 195;
value "g" uchar: 195;
value "b" uchar: 195;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt-light";
value "r" uchar: 230;
value "g" uchar: 230;
value "b" uchar: 230;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-alt";
value "r" uchar: 230;
value "g" uchar: 230;
value "b" uchar: 230;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dim";
value "r" uchar: 212;
value "g" uchar: 212;
value "b" uchar: 212;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark";
value "r" uchar: 202;
value "g" uchar: 202;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-invisible";
value "r" uchar: 202;
value "g" uchar: 202;
value "b" uchar: 202;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-darkest";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-dark-alt";
value "r" uchar: 186;
value "g" uchar: 186;
value "b" uchar: 186;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-medium";
value "r" uchar: 222;
value "g" uchar: 222;
value "b" uchar: 222;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-high";
value "r" uchar: 194;
value "g" uchar: 194;
value "b" uchar: 194;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-higher";
value "r" uchar: 240;
value "g" uchar: 240;
value "b" uchar: 240;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-highest";
value "r" uchar: 153;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":bg-light-alt";
value "r" uchar: 241;
value "g" uchar: 241;
value "b" uchar: 241;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-dim";
value "r" uchar: 187;
value "g" uchar: 187;
value "b" uchar: 187;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg";
value "r" uchar: 80;
value "g" uchar: 80;
value "b" uchar: 80;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-prehigh";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-high";
value "r" uchar: 67;
value "g" uchar: 67;
value "b" uchar: 67;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-higher";
value "r" uchar: 48;
value "g" uchar: 48;
value "b" uchar: 48;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":fg-light";
value "r" uchar: 224;
value "g" uchar: 224;
value "b" uchar: 224;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected";
value "r" uchar: 120;
value "g" uchar: 120;
value "b" uchar: 120;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-light";
value "r" uchar: 70;
value "g" uchar: 70;
value "b" uchar: 70;
value "a" uchar: 25;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-medium";
value "r" uchar: 70;
value "g" uchar: 70;
value "b" uchar: 70;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-heavy";
value "r" uchar: 70;
value "g" uchar: 70;
value "b" uchar: 70;
value "a" uchar: 192;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt";
value "r" uchar: 135;
value "g" uchar: 135;
value "b" uchar: 135;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-trans";
value "r" uchar: 113;
value "g" uchar: 113;
value "b" uchar: 113;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-alt-dim";
value "r" uchar: 116;
value "g" uchar: 116;
value "b" uchar: 116;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected-dim";
value "r" uchar: 70;
value "g" uchar: 70;
value "b" uchar: 70;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2";
value "r" uchar: 179;
value "g" uchar: 232;
value "b" uchar: 127;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected2-dim";
value "r" uchar: 206;
value "g" uchar: 239;
value "b" uchar: 174;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected3";
value "r" uchar: 255;
value "g" uchar: 51;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4";
value "r" uchar: 228;
value "g" uchar: 118;
value "b" uchar: 118;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected4-dim";
value "r" uchar: 229;
value "g" uchar: 140;
value "b" uchar: 140;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5";
value "r" uchar: 119;
value "g" uchar: 0;
value "b" uchar: 238;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected5-dim";
value "r" uchar: 179;
value "g" uchar: 127;
value "b" uchar: 230;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6";
value "r" uchar: 0;
value "g" uchar: 121;
value "b" uchar: 61;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":selected6-dim";
value "r" uchar: 104;
value "g" uchar: 202;
value "b" uchar: 142;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-normal";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":win-selected";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-off";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-medium";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 128;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-high";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-on";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":light-glow";
value "r" uchar: 255;
value "g" uchar: 220;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-invisible";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lightest";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 12;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-lighter";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 18;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-light";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 44;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 96;
}
group "Elm_Palette_Color" struct {
value "name" string: ":dim-dark";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 122;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 64;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-selected";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":shadow-disabled";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 32;
}
group "Elm_Palette_Color" struct {
value "name" string: ":outline";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-fail";
value "r" uchar: 255;
value "g" uchar: 32;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":validate-pass";
value "r" uchar: 32;
value "g" uchar: 255;
value "b" uchar: 16;
value "a" uchar: 80;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success";
value "r" uchar: 0;
value "g" uchar: 169;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":success-dim";
value "r" uchar: 125;
value "g" uchar: 212;
value "b" uchar: 125;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword";
value "r" uchar: 255;
value "g" uchar: 43;
value "b" uchar: 43;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":keyword-dim";
value "r" uchar: 194;
value "g" uchar: 157;
value "b" uchar: 157;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match";
value "r" uchar: 227;
value "g" uchar: 174;
value "b" uchar: 68;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":match-dim";
value "r" uchar: 229;
value "g" uchar: 196;
value "b" uchar: 123;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment";
value "r" uchar: 51;
value "g" uchar: 153;
value "b" uchar: 153;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":comment-dim";
value "r" uchar: 165;
value "g" uchar: 202;
value "b" uchar: 202;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number";
value "r" uchar: 153;
value "g" uchar: 153;
value "b" uchar: 26;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":number-dim";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 111;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class";
value "r" uchar: 119;
value "g" uchar: 170;
value "b" uchar: 221;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":class-dim";
value "r" uchar: 169;
value "g" uchar: 189;
value "b" uchar: 209;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note";
value "r" uchar: 160;
value "g" uchar: 80;
value "b" uchar: 17;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":note-dim";
value "r" uchar: 236;
value "g" uchar: 141;
value "b" uchar: 65;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo";
value "r" uchar: 40;
value "g" uchar: 80;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: ":todo-dim";
value "r" uchar: 134;
value "g" uchar: 164;
value "b" uchar: 225;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/frame/title";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/titlebar";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/menu/title";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/button";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button";
value "r" uchar: 96;
value "g" uchar: 96;
value "b" uchar: 96;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/disabled/button";
value "r" uchar: 128;
value "g" uchar: 128;
value "b" uchar: 128;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/button/bar";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/button-anchor";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/pointer/base";
value "r" uchar: 255;
value "g" uchar: 255;
value "b" uchar: 255;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/menu/item/base";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/entry/cursor";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/titlebar/buttons/close";
value "r" uchar: 192;
value "g" uchar: 192;
value "b" uchar: 192;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/gadgets/ibar/menu/item/base";
value "r" uchar: 208;
value "g" uchar: 208;
value "b" uchar: 208;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/pressed/syscon/button/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/selected/fileman/nav/path/text";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/grid/item/fileman/desktop";
value "r" uchar: 160;
value "g" uchar: 160;
value "b" uchar: 160;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-hilight";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/fg/normal/text-heading-sub";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 200;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/hoversel/item";
value "r" uchar: 119;
value "g" uchar: 136;
value "b" uchar: 153;
value "a" uchar: 0;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/hoversel/item";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/toolbar/base";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/selected/toolbar/bar";
value "r" uchar: 0;
value "g" uchar: 0;
value "b" uchar: 0;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/naviframe/top";
value "r" uchar: 136;
value "g" uchar: 136;
value "b" uchar: 136;
value "a" uchar: 255;
}
group "Elm_Palette_Color" struct {
value "name" string: "/bg/normal/list/group";
value "r" uchar: 64;
value "g" uchar: 64;
value "b" uchar: 64;
value "a" uchar: 255;
}
}
value "version" int: 1000;
}

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131096;
value "config_version" int: 131094;
value "entry_select_allow" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
@ -90,12 +90,12 @@ group "Elm_Config" struct {
value "year_min" int: 2;
value "year_max" int: 137;
value "softcursor_mode" uchar: 0;
value "auto_norender_withdrawn" uchar: 1;
value "auto_norender_iconified_same_as_withdrawn" uchar: 1;
value "auto_flush_withdrawn" uchar: 1;
value "auto_norender_withdrawn" uchar: 0;
value "auto_norender_iconified_same_as_withdrawn" uchar: 0;
value "auto_flush_withdrawn" uchar: 0;
value "auto_dump_withdrawn" uchar: 0;
value "auto_throttle" uchar: 0;
value "auto_throttle_amount" double: 0.03333333333;
value "auto_throttle_amount" double: 0.1;
value "magnifier_enable" uchar: 1;
value "magnifier_scale" double: 1.5;
value "audio_mute_effect" uchar: 0;
@ -3275,54 +3275,7 @@ group "Elm_Config" struct {
value "action" string: "move";
value "params" string: "next";
}
}
}
group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Efl.Ui.Textbox";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "c";
value "action" string: "copy";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "x";
value "action" string: "cut";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "v";
value "action" string: "paste";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "menu";
value "action" string: "menu";
value "params" string: "";
}
}
}
}
}
}
}

View File

@ -1,7 +1,7 @@
custom_target('config_'+config,
input: config_file,
output: 'base.cfg',
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '0'],
install: true,
install_dir: join_paths(dir_data, 'elementary', 'config', config),
)

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131096;
value "config_version" int: 131094;
value "entry_select_allow" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
@ -9,9 +9,6 @@ group "Elm_Config" struct {
value "thumbscroll_momentum_threshold" double: 100.0;
value "thumbscroll_flick_distance_tolerance" int: 3000;
value "thumbscroll_friction" double: 0.95;
value "thumbscroll_momentum_distance_max" int: 3000;
value "thumbscroll_momentum_friction" double: 0.95;
value "thumbscroll_momentum_animation_duration_min_limit" double: 0.3;
value "thumbscroll_momentum_animation_duration_max_limit" double: 1.3;
// will not be used
@ -89,9 +86,9 @@ group "Elm_Config" struct {
value "auto_norender_withdrawn" uchar: 1;
value "auto_norender_iconified_same_as_withdrawn" uchar: 1;
value "auto_flush_withdrawn" uchar: 1;
value "auto_dump_withdrawn" uchar: 0;
value "auto_throttle" uchar: 0;
value "auto_throttle_amount" double: 0.03333333333;
value "auto_dump_withdrawn" uchar: 1;
value "auto_throttle" uchar: 1;
value "auto_throttle_amount" double: 0.0666666666;
value "indicator_service_0" string: "elm_indicator_portrait";
value "indicator_service_90" string: "elm_indicator_landscape";
value "indicator_service_180" string: "elm_indicator_portrait";
@ -3264,54 +3261,7 @@ group "Elm_Config" struct {
value "action" string: "move";
value "params" string: "next";
}
}
}
group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Efl.Ui.Textbox";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "c";
value "action" string: "copy";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "x";
value "action" string: "cut";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "v";
value "action" string: "paste";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "menu";
value "action" string: "menu";
value "params" string: "";
}
}
}
}
}
}
}

View File

@ -1,7 +1,7 @@
custom_target('config_'+config,
input: config_file,
output: 'base.cfg',
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '0'],
install: true,
install_dir: join_paths(dir_data, 'elementary', 'config', config),
)

View File

@ -1,5 +1,5 @@
group "Elm_Config" struct {
value "config_version" int: 131096;
value "config_version" int: 131094;
value "entry_select_allow" uchar: 1;
value "engine" string: "";
value "vsync" uchar: 0;
@ -9,9 +9,6 @@ group "Elm_Config" struct {
value "thumbscroll_momentum_threshold" double: 100.0;
value "thumbscroll_flick_distance_tolerance" int: 1000;
value "thumbscroll_friction" double: 1.0;
value "thumbscroll_momentum_distance_max" int: 3000;
value "thumbscroll_momentum_friction" double: 0.95;
value "thumbscroll_momentum_animation_duration_min_limit" double: 0.3;
value "thumbscroll_momentum_animation_duration_max_limit" double: 1.3;
// will not be used
@ -87,10 +84,10 @@ group "Elm_Config" struct {
value "year_min" int: 2;
value "year_max" int: 137;
value "softcursor_mode" uchar: 0;
value "auto_norender_withdrawn" uchar: 1;
value "auto_norender_iconified_same_as_withdrawn" uchar: 1;
value "auto_norender_withdrawn" uchar: 0;
value "auto_norender_iconified_same_as_withdrawn" uchar: 0;
value "auto_flush_withdrawn" uchar: 1;
value "auto_dump_withdrawn" uchar: 0;
value "auto_dump_withdrawn" uchar: 1;
value "auto_throttle" uchar: 0;
value "auto_throttle_amount" double: 0.0333333333;
value "magnifier_enable" uchar: 0;
@ -3261,54 +3258,7 @@ group "Elm_Config" struct {
value "action" string: "move";
value "params" string: "next";
}
}
}
group "Elm_Config_Bindings_Widget" struct {
value "name" string: "Efl.Ui.Textbox";
group "key_bindings" list {
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "c";
value "action" string: "copy";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "x";
value "action" string: "cut";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "v";
value "action" string: "paste";
value "params" string: "";
group "modifiers" list {
group "Elm_Config_Binding_Modifier" struct {
value "mod" string: "Control";
value "flag" uchar: 1;
}
}
}
group "Elm_Config_Binding_Key" struct {
value "context" int: 0;
value "key" string: "menu";
value "action" string: "menu";
value "params" string: "";
}
}
}
}
}
}
}

View File

@ -1,7 +1,7 @@
custom_target('config_'+config,
input: config_file,
output: 'base.cfg',
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '1'],
command: [eet_bin, '-e', '@OUTPUT@', 'config', '@INPUT@', '0'],
install: true,
install_dir: join_paths(dir_data, 'elementary', 'config', config),
)

View File

@ -9,6 +9,7 @@ Name[el]=Κανονικό
Name[eo]=Kutima
Name[es]=Estándar
Name[fi]=Vakio
Name[fr]=Standard
Name[gl]=Estándar
Name[hu]=Általános
Name[ja]=標準
@ -28,7 +29,7 @@ Comment[el]=Αυτό είναι το κανονικό προφίλ που είν
Comment[eo]=Tio estas la kutima profilo taŭga por preskaŭ ĉiuj oficejaj sistemoj kaj porteblaj sistemoj. Elektu ĝin se vi ne certas.
Comment[es]=Este es el perfil estándar y universal para la mayoría de ordenadores de escritorio y portátiles. Escójalo si no está seguro de cual elegir.
Comment[fi]=Tämä on vakioprofiili jota voidaan yleisesti käyttää työasemissa ja kannettavissa tietokoneissa. Valitse tämä jos et ole varma minkä valitsisit.
Comment[fr]=Le profil standard adapté à la quasi totalité des systèmes de bureau et ordinateurs portables. Choisissez ce profil en cas d'hésitation.
Comment[fr]=Le profil standard adapté à la quasi totalité des systèmes de bureau et ordinateurs portables. Choisissez ce profil si vous êtes indécis.
Comment[gl]=Este é o perfil estándar e universal para a maioría de ordenadores de escritorio e portátiles. Escóllao se non está seguro de cal elexir.
Comment[hu]=Ez az általános, alap beállítás, amely megfelelő a legtöbb laptop és asztali gép számára.
Comment[it]=Questo è il profilo standard, universale per la maggior parte dei sistemi desktop e portatili. Scegliete questo se non siete sicuri di cosa scegliere.

View File

@ -1,10 +1,7 @@
[Desktop Entry]
Type=Application
Name=Elementary Perf
Name[it]=Prestazioni di Elementary
Comment=Elementary Performance Test Application
Comment[fr]=Test de performance pour Elementary
Comment[it]=Test delle prestazioni per Elementary
Icon=elementary
Exec=elementary_perf
Terminal=false

View File

@ -6,6 +6,7 @@ Name[de]=Elementary-Test
Name[el]=Elementary Test
Name[eo]=Provo de Elementary
Name[fi]=Elementary-testiohjema
Name[fr]=Test Elementary
Name[gl]=Proba do Elementary
Name[it]=Test per Elementary
Name[ja]=Elementary テスト
@ -20,7 +21,7 @@ Comment[de]=Elementary-Testanwendung
Comment[eo]=Provoversia aplikaĵo de Elementary
Comment[es]=Aplicación de pruebas para Elementary
Comment[fi]=Elementaryn testisovellus
Comment[fr]=Application de tests pour Elementary
Comment[fr]=Programme de tests pour Elementary
Comment[gl]=Aplicativo de probas para Elementary
Comment[it]=Applicazione di test per Elementary
Comment[ja]=Elementary テストアプリケーション

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,7 +1,6 @@
subdir('config')
subdir('desktop')
subdir('themes')
subdir('colors')
subdir('objects')
subdir('edje_externals')

View File

@ -1,32 +1,38 @@
color_classes {
color_class { name: "/fg/normal/text";
color: 160 160 160 255;
color_class {
name: "entry_text";
color: 0 0 0 255;
}
}
collections { group { name: "font_preview";
collections {
group { name: "font_preview";
parts {
/* some fonts have weird alignments, thus they overflow badly */
part { name: "clipper"; type: RECT;
part { name: "clipper";
type: RECT;
description {
state: "default" 0.0;
}
}
part { name: "elm.text"; type: TEXT;
scale: 1;
part { name: "elm.text";
type: TEXT;
mouse_events: 0;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
color_class: "/fg/normal/text";
text { font: "Sans";
description {
state: "default" 0.0;
color_class: "entry_text";
text {
font: "Sans";
min: 0 1;
size: 10;
align: 0.5 0.5;
text_class: "font_preview";
}
rel1.offset: 16 16;
rel2.offset: -17 -17;
offscale;
}
}
}

View File

@ -21,8 +21,7 @@ foreach edc_file : edc_files
input : edc_file,
output : '@BASENAME@.edj',
command : edje_cc_exe + [ '-beta', '-fastcomp',
'-no-warn-unused-images',
'-sd', elm_themes_sound_include,
'-sd', join_paths(meson.current_source_dir()),
'-id', elm_themes_image_include,
'-id', join_paths(meson.current_source_dir()),
'-fd', join_paths(meson.current_source_dir()),

View File

@ -434,8 +434,6 @@ collections {
}
} //group ends
#include "../../../data/elementary/themes/snd.edc"
#include "../../../data/elementary/themes/ic.edc"
#include "../../../data/elementary/themes/macros.edc"
#include "../../../data/elementary/themes/fonts.edc"
#include "../../../data/elementary/themes/colorclasses.edc"

View File

@ -45,12 +45,19 @@ collections {
desc { "default";
}
}
rect { "bg";
scale;
desc { "default";
rel.to: "base";
color: 255 255 255 255;
}
}
text { "text";
scale;
desc { "default";
rel.to: "base";
align: 0.5 0.5;
color: 255 255 255 255;
color: 0 0 0 255;
text.size: 20;
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
efl_version: 1 25;
efl_version: 1 22;
#include "macros.edc"
@ -6,21 +6,19 @@ externals.external: "elm";
// theme api version. from 1.10 on we will check version to avoid
// compat issues
data.item: "version" "125";
data.item: "version" "119";
data.item: "efl_theme_base" "dark";
collections {
#include "snd.edc"
#include "ic.edc"
#include "fonts.edc"
#include "colorclasses.edc"
// elm
#include "edc/elm/bg.edc"
#include "edc/elm/button.edc"
// XXX: mobile mode needs invisible scrollers... make signals that do this
#include "edc/elm/scroller.edc"
// XXX: mobile mode needs different entry setup
#include "edc/elm/entry.edc"
#include "edc/elm/frame.edc"
#include "edc/elm/label.edc"
@ -68,6 +66,7 @@ collections {
#include "edc/elm/panel.edc"
#include "edc/elm/popup.edc"
#include "edc/elm/border.edc"
// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh?
#include "edc/elm/spinner.edc"
#include "edc/elm/menu.edc"
#include "edc/elm/clock.edc"
@ -75,6 +74,7 @@ collections {
#include "edc/elm/hover.edc"
#include "edc/elm/cursor.edc"
#include "edc/elm/code.edc"
#include "edc/elm/ews.edc"
#include "edc/elm/textpath.edc"
#include "edc/elm/slider.edc"
@ -106,6 +106,8 @@ collections {
#include "edc/comp_compat.edc"
#include "edc/comp_effects.edc"
#include "edc/background.edc"
#include "edc/bryce.edc"
#include "edc/bryce_editor.edc"
#include "edc/shelf.edc"
#include "edc/border.edc"
#include "edc/dialog.edc"
@ -139,22 +141,34 @@ collections {
#include "edc/randr.edc"
#include "edc/notification.edc"
#include "edc/cpufreq.edc"
#include "edc/cpuclock.edc"
#include "edc/temperature.edc"
#include "edc/thermal.edc"
#include "edc/backlight.edc"
#include "edc/mixer.edc"
#include "edc/battery.edc"
#include "edc/batman.edc"
#include "edc/evrything.edc"
#include "edc/illume.edc"
#include "edc/bluez4.edc"
#include "edc/bluez5.edc"
#include "edc/packagekit.edc"
#include "edc/wireless.edc"
#include "edc/time.edc"
#include "edc/luncher.edc"
#include "edc/memusage.edc"
#include "edc/cpumonitor.edc"
#include "edc/netstatus.edc"
#include "edc/tiling.edc"
#include "edc/procstats.edc"
// icons
#include "edc/icons.edc"
#include "edc/border-icons.edc"
// port unchanged stuff so this can work as a replacement
#include "edc/O/efm_icons.edc"
#include "edc/O/icons.edc"
// New efl ui themes
#include "edc/efl/macros.edc"
#include "edc/efl/bg.edc"
@ -162,9 +176,11 @@ collections {
#include "edc/efl/calendar.edc"
#include "edc/efl/navigation_bar.edc"
#include "edc/efl/navigation_layout.edc"
// XXX: mobile mode needs invisible scrollers... make signals that do this
#include "edc/efl/scroller.edc"
#include "edc/efl/list.edc"
#include "edc/efl/grid.edc"
// XXX: mobile mode needs different entry setup
#include "edc/efl/text.edc"
#include "edc/efl/frame.edc"
#include "edc/efl/check.edc"
@ -184,6 +200,7 @@ collections {
#include "edc/efl/spin_button.edc"
#include "edc/efl/datepicker.edc"
#include "edc/efl/timepicker.edc"
// XXX: min size calc problems - too wide! ... err ok on my 32bit box... eh?
#include "edc/efl/cursor.edc"
#include "edc/efl/pointer.edc"
#include "edc/efl/textpath.edc"
@ -195,4 +212,5 @@ collections {
#include "edc/efl/tab_page.edc"
#include "edc/efl/collection.edc"
#include "edc/efl/group_item.edc"
#include "edc/efl/separator.edc"
}

View File

@ -0,0 +1,470 @@
// EFM icons //
//Base 1//
#define EFM_MIME_ICON(_NAME, _IMAGE, _ASPMIN, _ASPMAX, _STRING, _SIZE, _VALIGN) \
group { name: "e/icons/fileman/mime/"_NAME; \
max: _SIZE _SIZE; \
images.image: "efm_generic_icon_shadow.png" COMP; \
images.image: "efm_generic_icon_base.png" COMP; \
images.image: "efm_generic_icon_over.png" COMP; \
images.image: _IMAGE COMP; \
parts { \
part { name: "spacer"; type: SPACER; \
description { state: "default" 0.0; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
} \
} \
part { name: "shadow"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "spacer"; \
rel1.relative: (15/240) (10/240); \
rel2.to: "spacer"; \
rel2.relative: (225/240) (240/240); \
image.normal: "efm_generic_icon_shadow.png"; \
} \
} \
part { name: "base"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "spacer"; \
rel1.relative: (30/240) (15/240); \
rel2.to: "spacer"; \
rel2.relative: (210/240) (225/240); \
image.normal: "efm_generic_icon_base.png"; \
} \
} \
part { name: "content"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "base"; \
rel1.relative: (28/180) (28/210); \
rel2.to: "base"; \
rel2.relative: (152/180) (182/210); \
align: 0.5 _VALIGN; \
aspect: _ASPMIN _ASPMAX; aspect_preference: BOTH; \
image.normal: _IMAGE; \
} \
} \
part { name: "over"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "base"; \
rel2.to: "base"; \
image.normal: "efm_generic_icon_over.png"; \
} \
} \
part { name: "typestr"; type: TEXT; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "over"; \
rel1.relative: (72/180) (142/210); \
rel2.to: "over"; \
rel2.relative: (178/180) (188/210); \
color: 255 255 255 255; \
text { font: FN; size: 8; \
fit: 0 1; \
align: 0.5 0.5; \
text: _STRING; \
} \
} \
} \
} \
}
//Python//
EFM_MIME_ICON("application/x-python-bytecode", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PYC", 240, 0.5);
EFM_MIME_ICON("application/x-python", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PY", 240, 0.5);
EFM_MIME_ICON("text/x-python", "efm_generic_icon_content_python.png", (114/115), (114/115), ".PY", 240, 0.5);
//.pyo .pyd??????????????????//
//Ruby//
EFM_MIME_ICON("application/x-ruby", "efm_generic_icon_content_ruby.png", (114/114), (114/114), ".RB", 240, 0.5);
EFM_MIME_ICON("text/x-ruby", "efm_generic_icon_content_ruby.png", (114/114), (114/114), ".RB", 240, 0.5);
//.rbw???//
//Perl//
EFM_MIME_ICON("application/x-perl", "efm_generic_icon_content_perl.png", (114/122), (114/122), ".PERL", 240, 0.5);
EFM_MIME_ICON("text/x-perl","efm_generic_icon_content_perl.png", (114/122), (114/122), ".PL", 240, 0.5);
//CAD//
EFM_MIME_ICON("application/acad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("application/x-acad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("application/autocad_dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("image/x-dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("application/dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("application/x-dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("application/x-autocad", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("image/vnd.dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
EFM_MIME_ICON("drawing/dwg", "efm_generic_icon_content_cad.png", (114/130), (114/130), ".DWG", 240, 0.5);
//ISO//
EFM_MIME_ICON("application/x-iso9660-image", "efm_generic_icon_content_iso.png", (114/114), (114/114), ".ISO", 240, 0.5);
//Cue//
EFM_MIME_ICON("application/x-cue", "efm_generic_icon_content_iso.png", (114/114), (114/114), ".CUE", 240, 0.5);
//Audio//
EFM_MIME_ICON("audio/mpeg", "efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP3", 240, 0.5);
EFM_MIME_ICON("audio/x-wav","efm_generic_icon_content_audio.png", (54/154), (54/154), ".WAV", 240, 0.5);
EFM_MIME_ICON("audio/x-flac","efm_generic_icon_content_audio.png", (54/154), (54/154), ".FLAC", 240, 0.5);
EFM_MIME_ICON("audio/flac","efm_generic_icon_content_audio.png", (54/154), (54/154), ".FLAC", 240, 0.5);
EFM_MIME_ICON("audio/x-musepack","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MPC", 240, 0.5);
EFM_MIME_ICON("audio/x-vorbis+ogg","efm_generic_icon_content_audio.png",(54/154), (54/154), ".OGG", 240, 0.5);
EFM_MIME_ICON("application/x-audacity-project","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AUP", 240, 0.5);
EFM_MIME_ICON("audio/x-ms-wma","efm_generic_icon_content_audio.png", (54/154), (54/154),".WMA", 240, 0.5);
EFM_MIME_ICON("audio/opus","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
EFM_MIME_ICON("audio/ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
EFM_MIME_ICON("audio/x-opus+ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".OPUS", 240, 0.5);
EFM_MIME_ICON("audio/ape","efm_generic_icon_content_audio.png", (54/154), (54/154), ".APE", 240, 0.5);
EFM_MIME_ICON("audio/webm","efm_generic_icon_content_audio.png", (54/154), (54/154), ".WEBA", 240, 0.5);
EFM_MIME_ICON("audio/mp4","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP4", 240, 0.5);
EFM_MIME_ICON("audio/midi","efm_generic_icon_content_audio.png", (54/154), (54/154),".MIDI", 240, 0.5);
EFM_MIME_ICON("audio/speex","efm_generic_icon_content_audio.png",(54/154), (54/154), ".SPX", 240, 0.5);
EFM_MIME_ICON("audio/aac","efm_generic_icon_content_audio.png", (54/154), (54/154),".AAC", 240, 0.5);
EFM_MIME_ICON("audio/vnd.rn-realaudio","efm_generic_icon_content_audio.png", (54/154), (54/154),".RA", 240, 0.5);
EFM_MIME_ICON("audio/x-voc","efm_generic_icon_content_audio.png", (54/154), (54/154),".VOC", 240, 0.5);
EFM_MIME_ICON("audio/x-tta","efm_generic_icon_content_audio.png", (54/154), (54/154),".TTA", 240, 0.5);
EFM_MIME_ICON("audio/x-stm","efm_generic_icon_content_audio.png", (54/154), (54/154),".STM", 240, 0.5);
EFM_MIME_ICON("audio/x-speex+ogg","efm_generic_icon_content_audio.png", (54/154), (54/154),".SPX", 240, 0.5);
EFM_MIME_ICON("audio/x-wacpack","efm_generic_icon_content_audio.png", (54/154), (54/154),".WV", 240, 0.5);
EFM_MIME_ICON("audio/x-xmf","efm_generic_icon_content_audio.png", (54/154), (54/154),".XMF", 240, 0.5);
EFM_MIME_ICON("audio/x-xm","efm_generic_icon_content_audio.png", (54/154), (54/154),".XM", 240, 0.5);
EFM_MIME_ICON("audio/x-xi","efm_generic_icon_content_audio.png", (54/154), (54/154),".XI", 240, 0.5);
EFM_MIME_ICON("audio/x-wacpack-correction","efm_generic_icon_content_audio.png", (54/154), (54/154),".WVC", 240, 0.5);
EFM_MIME_ICON("audio/x-s3m","efm_generic_icon_content_audio.png", (54/154), (54/154),".S3M", 240, 0.5);
EFM_MIME_ICON("audio/x-riff","efm_generic_icon_content_audio.png", (54/154), (54/154),".RMI", 240, 0.5);
EFM_MIME_ICON("audio/x-psflib","efm_generic_icon_content_audio.png", (54/154), (54/154),".PSFLIB", 240, 0.5);
EFM_MIME_ICON("audio/x-psf","efm_generic_icon_content_audio.png", (54/154), (54/154),".PSF", 240, 0.5);
EFM_MIME_ICON("audio/x-scpls","efm_generic_icon_content_audio.png", (54/154), (54/154),".PLS", 240, 0.5);
EFM_MIME_ICON("audio/x-ms-asx","efm_generic_icon_content_audio.png", (54/154), (54/154),".ASX", 240, 0.5);
EFM_MIME_ICON("audio/x-mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
EFM_MIME_ICON("audio/x-mod","efm_generic_icon_content_audio.png", (54/154), (54/154),".MOD", 240, 0.5);
EFM_MIME_ICON("audio/x-mo3","efm_generic_icon_content_audio.png", (54/154), (54/154),".MO3", 240, 0.5);
EFM_MIME_ICON("audio/x-minipsf","efm_generic_icon_content_audio.png", (54/154), (54/154),".MINIPSF", 240, 0.5);
EFM_MIME_ICON("audio/matroska","efm_generic_icon_content_audio.png", (54/154), (54/154),".MKV", 240, 0.5);
EFM_MIME_ICON("audio/x-m4b","efm_generic_icon_content_audio.png", (54/154), (54/154),".M4B", 240, 0.5);
EFM_MIME_ICON("audio/x-it","efm_generic_icon_content_audio.png", (54/154), (54/154),".IT", 240, 0.5);
EFM_MIME_ICON("audio/x-iriver-pla","efm_generic_icon_content_audio.png", (54/154), (54/154),".PLA", 240, 0.5);
EFM_MIME_ICON("audio/x-gsm","efm_generic_icon_content_audio.png", (54/154), (54/154),".GSM", 240, 0.5);
EFM_MIME_ICON("audio/x-flac+ogg","efm_generic_icon_content_audio.png",(54/154), (54/154), ".FLAC", 240, 0.5);
EFM_MIME_ICON("audio/x-amzxml","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AMZ", 240, 0.5);
EFM_MIME_ICON("audio/x-aiff","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AIFF", 240, 0.5);
EFM_MIME_ICON("audio/x-aifc","efm_generic_icon_content_audio.png",(54/154), (54/154), ".AIFC", 240, 0.5);
EFM_MIME_ICON("audio/x-adpcm","efm_generic_icon_content_audio.png",(54/154), (54/154), ".ADPCM", 240, 0.5);
EFM_MIME_ICON("audio/vdn.rn-realaudio","efm_generic_icon_content_audio.png",(54/154), (54/154), ".RA", 240, 0.5);
EFM_MIME_ICON("audio/vdn.dts","efm_generic_icon_content_audio.png",(54/154), (54/154), ".DTS", 240, 0.5);
EFM_MIME_ICON("audio/vdn.dts.hd","efm_generic_icon_content_audio.png",(54/154), (54/154), ".DTSHD", 240, 0.5);
EFM_MIME_ICON("audio/prs.sid","efm_generic_icon_content_audio.png",(54/154), (54/154), ".SID", 240, 0.5);
EFM_MIME_ICON("audio/mp2","efm_generic_icon_content_audio.png", (54/154), (54/154), ".MP2", 240, 0.5);
EFM_MIME_ICON("audio/basic","efm_generic_icon_content_audio.png", (54/154), (54/154), ".SND", 240, 0.5);
EFM_MIME_ICON("audio/annodex","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AXA", 240, 0.5);
EFM_MIME_ICON("audio/AMR","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AMR", 240, 0.5);
EFM_MIME_ICON("audio/amr","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AMR", 240, 0.5);
EFM_MIME_ICON("audio/amr-wb","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AWB", 240, 0.5);
EFM_MIME_ICON("audio/AMR-WB","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AWB", 240, 0.5);
EFM_MIME_ICON("audio/ac3","efm_generic_icon_content_audio.png", (54/154), (54/154), ".AC3", 240, 0.5);
EFM_MIME_ICON("application/x-mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
EFM_MIME_ICON("application/vnd.apple.mpegurl","efm_generic_icon_content_audio.png", (54/154), (54/154),".M3U", 240, 0.5);
//Code//
EFM_MIME_ICON("text/x-csrc","efm_generic_icon_content_code.png", (114/88), (114/88), ".C", 240, 0.3);
EFM_MIME_ICON("text/x-chdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".H", 240, 0.3);
EFM_MIME_ICON("text/x-c++hdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".HH", 240, 0.3);
EFM_MIME_ICON("text/x-c++src","efm_generic_icon_content_code.png", (114/88), (114/88), ".C++", 240, 0.3);
EFM_MIME_ICON("text/x-csharp","efm_generic_icon_content_code.png", (114/88), (114/88), ".C#", 240, 0.3);
EFM_MIME_ICON("application/x-awk","efm_generic_icon_content_code.png", (114/88), (114/88), ".AWK", 240, 0.3);
EFM_MIME_ICON("text/x-hdr","efm_generic_icon_content_code.png", (114/88), (114/88), ".HPP", 240, 0.3);
EFM_MIME_ICON("text/x-fortran","efm_generic_icon_content_code.png", (114/88), (114/88), ".F", 240, 0.3);
EFM_MIME_ICON("text/x-java-source","efm_generic_icon_content_code.png", (114/88), (114/88), ".JAVA", 240, 0.3);
//add moreeeeeee//
//Text//
EFM_MIME_ICON("text/x-patch","efm_generic_icon_content_text.png", (114/126), (114/126), ".PATCH", 240, 0.5);
EFM_MIME_ICON("text/plain","efm_generic_icon_content_text.png", (114/126), (114/126), ".TXT", 240, 0.5);
EFM_MIME_ICON("text/x-log","efm_generic_icon_content_text.png", (114/126), (114/126), ".LOG", 240, 0.5);
EFM_MIME_ICON("application/x-md5","efm_generic_icon_content_text.png", (114/126), (114/126), ".MD5", 240, 0.5);
EFM_MIME_ICON("text/x-makefile","efm_generic_icon_content_text.png", (114/126), (114/126), ".MK", 240, 0.5);
EFM_MIME_ICON("application/x-m4","efm_generic_icon_content_text.png", (114/126), (114/126), ".M4", 240, 0.5);
EFM_MIME_ICON("application/pkix-attr-cert","efm_generic_icon_content_text.png", (114/126), (114/126), ".AC", 240, 0.5);
EFM_MIME_ICON("text/x-subviewer","efm_generic_icon_content_text.png", (114/126), (114/126), ".SUB", 240, 0.5);
EFM_MIME_ICON("application/x-wais-source","efm_generic_icon_content_text.png", (114/126), (114/126), ".SRC", 240, 0.5);
//Web//
EFM_MIME_ICON("text/css","efm_generic_icon_content_web.png", (114/68), (114/68), ".CSS", 240, 0.3);
EFM_MIME_ICON("text/html","efm_generic_icon_content_web.png", (114/68), (114/68), ".HTML", 240, 0.3);
EFM_MIME_ICON("application/xml","efm_generic_icon_content_web.png", (114/68), (114/68), ".XML", 240, 0.3);
EFM_MIME_ICON("application/javascript","efm_generic_icon_content_web.png", (114/68), (114/68), ".JS", 240, 0.3);
EFM_MIME_ICON("application/json","efm_generic_icon_content_web.png", (114/68), (114/68), ".JSON", 240, 0.3);
EFM_MIME_ICON("text/json","efm_generic_icon_content_web.png", (114/68), (114/68), ".JSON", 240, 0.3);
//Enlightenment//
EFM_MIME_ICON("application/edje","efm_generic_icon_content_logo.png", (114/154), (114/154), ".EDJ", 240, 0.5);
EFM_MIME_ICON("text/edje","efm_generic_icon_content_logo.png", (114/154), (114/154), ".EDC", 240, 0.5);
//Document//
EFM_MIME_ICON("application/vnd.oasis.opendocument.text","efm_generic_icon_content_doc.png", (114/154), (114/154), ".ODT", 240, 0.5);
EFM_MIME_ICON("application/x-msword","efm_generic_icon_content_doc.png", (114/154), (114/154), ".DOC", 240, 0.5);
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.wordprocessingml.document","efm_generic_icon_content_doc.png", (114/154), (114/154), ".DOCX", 240, 0.5);
EFM_MIME_ICON("application/x-abiword","efm_generic_icon_content_doc.png", (114/154), (114/154), ".ABW", 240, 0.5);
EFM_MIME_ICON("application/vnd.scribus","efm_generic_icon_content_doc.png", (114/154), (114/154), ".SLA", 240, 0.5);
EFM_MIME_ICON("application/x-lyx","efm_generic_icon_content_doc.png", (114/154), (114/154), ".LYX", 240, 0.5);
//Spreadsheet//
EFM_MIME_ICON("application/vnd.oasis.opendocument.spreadsheet","efm_generic_icon_content_spread.png", (114/80), (114/80), ".ODS", 240, 0.5);
EFM_MIME_ICON("application/vnd.ms-excel","efm_generic_icon_content_spread.png", (114/80), (114/80), ".XLS", 240, 0.5);
//Presentation//
EFM_MIME_ICON("application/vnd.ms-powerpoint","efm_generic_icon_content_pres.png", (114/95), (114/95), ".PPT", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.presentation","efm_generic_icon_content_pres.png", (114/95), (114/95), ".ODP", 240, 0.5);
//Drawing//
EFM_MIME_ICON("application/x-vnd.oasis.opendocument.graphics","efm_generic_icon_content_draw.png", (114/96), (114/96), ".ODG", 240, 0.5);
//Data Base//
EFM_MIME_ICON("application/vnd.ms-binder","efm_generic_icon_content_db.png", (114/128), (114/128), ".ODB", 240, 0.5);
EFM_MIME_ICON("application/x-sqlite3","efm_generic_icon_content_db.png", (114/128), (114/128), ".SQLITE", 240, 0.5);
//Formula//
EFM_MIME_ICON("application/x-vnd.oasis.opendocument.formula","efm_generic_icon_content_formula.png", (114/85), (114/85), ".ODF", 240, 0.5);
//Template//
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.wordprocessingml.template","efm_generic_icon_content_template.png", (114/130), (114/130), ".DOTX", 240, 0.5);
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.spreadsheetml.template","efm_generic_icon_content_template.png", (114/130), (114/130),".XLTX", 240, 0.5);
EFM_MIME_ICON("application/vnd.openxmlformats-officedocument.presentationml.template","efm_generic_icon_content_template.png", (114/130), (114/130),".POTX", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.chart-template","efm_generic_icon_content_template.png", (114/130), (114/130),".OTC", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.formula-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTF", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.graphics-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTG", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.image-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTI", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.presentation-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTP", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.spreadsheet-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".ODS", 240, 0.5);
EFM_MIME_ICON("application/vnd.oasis.opendocument.text-template","efm_generic_icon_content_template.png", (114/130), (114/130), ".OTT", 240, 0.5);
//Video (fallback)//
EFM_MIME_ICON("video/mpeg","efm_generic_icon_content_video.png", (114/83), (114/83), ".MPEG", 240, 0.5);
EFM_MIME_ICON("application/ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
EFM_MIME_ICON("video/x-theora+ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
EFM_MIME_ICON("video/x-msvideo","efm_generic_icon_content_video.png", (114/83), (114/83), ".AVI", 240, 0.5);
EFM_MIME_ICON("video/ogg","efm_generic_icon_content_video.png",(114/83), (114/83), ".OGG", 240, 0.5);
EFM_MIME_ICON("video/mp4","efm_generic_icon_content_video.png",(114/83), (114/83), ".MP4", 240, 0.5);
EFM_MIME_ICON("video/quicktime","efm_generic_icon_content_video.png",(114/83), (114/83), ".MOV", 240, 0.5);
EFM_MIME_ICON("video/x-matroska","efm_generic_icon_content_video.png",(114/83), (114/83), ".MKV", 240, 0.5);
EFM_MIME_ICON("video/x-flv","efm_generic_icon_content_video.png", (114/83), (114/83), ".FLV", 240, 0.5);
EFM_MIME_ICON("application/vnd.rn-realmedia","efm_generic_icon_content_video.png",(114/83), (114/83), ".REAL", 240, 0.5);
EFM_MIME_ICON("video/x-ms-wmv","efm_generic_icon_content_video.png",(114/83), (114/83), ".WMV", 240, 0.5);
EFM_MIME_ICON("video/webm","efm_generic_icon_content_video.png",(114/83), (114/83), ".WEBM", 240, 0.5);
//Image (fallback)//
EFM_MIME_ICON("image/png","efm_generic_icon_content_image.png", (114/128), (114/128), ".PNG", 240, 0.5);
EFM_MIME_ICON("image/jpeg","efm_generic_icon_content_image.png", (114/128), (114/128),".JPEG", 240, 0.5);
EFM_MIME_ICON("image/gif","efm_generic_icon_content_image.png", (114/128), (114/128),".GIF", 240, 0.5);
EFM_MIME_ICON("image/bmp","efm_generic_icon_content_image.png", (114/128), (114/128),".BMP", 240, 0.5);
EFM_MIME_ICON("application/x-xcf","efm_generic_icon_content_image.png", (114/128), (114/128),".XCF", 240, 0.5);
EFM_MIME_ICON("application/x-cbz","efm_generic_icon_content_image.png", (114/128), (114/128),".CBZ", 240, 0.5);
EFM_MIME_ICON("application/x-cbr","efm_generic_icon_content_image.png",(114/128), (114/128), ".CBR", 240, 0.5);
EFM_MIME_ICON("image/webp","efm_generic_icon_content_image.png", (114/128), (114/128),".WEBP", 240, 0.5);
//Font//
EFM_MIME_ICON("application/x-font-ttf","efm_generic_icon_content_font.png", (114/93), (114/93), ".TTF", 240, 0.5);
EFM_MIME_ICON("application/x-font-pcf","efm_generic_icon_content_font.png", (114/93), (114/93), ".PCF", 240, 0.5);
EFM_MIME_ICON("application/x-font-bdf","efm_generic_icon_content_font.png", (114/93), (114/93), ".BDF", 240, 0.5);
EFM_MIME_ICON("application/x-font-otf","efm_generic_icon_content_font.png", (114/93), (114/93), ".BDF", 240, 0.5);
//PS (fallback)//
EFM_MIME_ICON("application/postscript","efm_generic_icon_content_ps.png", (114/104), (114/104), ".PS", 240, 0.5);
//PDF (fallback)//
EFM_MIME_ICON("application/pdf","efm_generic_icon_content_pdf.png", (114/101), (114/101), ".PDF", 240, 0.5);
//Translate//
EFM_MIME_ICON("text/x-gettext-translation","efm_generic_icon_content_translate.png", (114/97), (114/97), ".PO", 240, 0.5);
EFM_MIME_ICON("application/x-gettext-translation","efm_generic_icon_content_translate.png", (114/97), (114/97), ".GMO", 240, 0.5);
//Base 2//
#define EFM_MIME_ICON_SIMPLE(_NAME, _IMAGE, _ASPMIN, _ASPMAX, _SIZE, _VALIGN) \
group { name: "e/icons/fileman/mime/"_NAME; \
max: _SIZE _SIZE; \
images.image: "efm_generic_icon_shadow_empty.png" COMP; \
images.image: "efm_generic_icon_base_empty.png" COMP; \
images.image: "efm_generic_icon_over_empty.png" COMP; \
images.image: _IMAGE COMP; \
parts { \
part { name: "spacer"; type: SPACER; \
description { state: "default" 0.0; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
} \
} \
part { name: "shadow"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "spacer"; \
rel1.relative: (15/240) (10/240); \
rel2.to: "spacer"; \
rel2.relative: (225/240) (240/240); \
image.normal: "efm_generic_icon_shadow_empty.png"; \
} \
} \
part { name: "base"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "spacer"; \
rel1.relative: (30/240) (15/240); \
rel2.to: "spacer"; \
rel2.relative: (210/240) (225/240); \
image.normal: "efm_generic_icon_base_empty.png"; \
} \
} \
part { name: "content"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "base"; \
rel1.relative: (28/180) (28/210); \
rel2.to: "base"; \
rel2.relative: (152/180) (182/210); \
align: 0.5 _VALIGN; \
aspect: _ASPMIN _ASPMAX; aspect_preference: BOTH; \
image.normal: _IMAGE; \
} \
} \
part { name: "over"; mouse_events: 0; \
description { state: "default" 0.0; \
rel1.to: "base"; \
rel2.to: "base"; \
image.normal: "efm_generic_icon_over_empty.png"; \
} \
} \
} \
}
//Script//
EFM_MIME_ICON_SIMPLE("application/x-shellscript","efm_generic_icon_content_script.png", (114/126), (114/126), 240, 0.5);
//Executable//
EFM_MIME_ICON_SIMPLE("application/x-executable","efm_generic_icon_content_executable.png", (114/114), (114/114), 240, 0.5);
EFM_MIME_ICON_SIMPLE("application/x-ms-dos-executable","efm_generic_icon_content_executable.png", (114/114), (114/114), 240, 0.5);
//Libraries//
EFM_MIME_ICON_SIMPLE("application/x-sharedlib","efm_generic_icon_content_lib.png", (114/114), (114/114), 240, 0.5);
EFM_MIME_ICON_SIMPLE("application/x-shared-library-la","efm_generic_icon_content_lib.png", (114/114), (114/114), 240, 0.5);
//Unknown//
EFM_MIME_ICON_SIMPLE("application/x-object","efm_generic_icon_content_unknown.png", (100/154), (100/154), 240, 0.5);
//Trash//
EFM_MIME_ICON_SIMPLE("application/x-trash","efm_generic_icon_content_trash.png", (114/142), (114/142), 240, 0.5);
//Octet-Stream//
EFM_MIME_ICON_SIMPLE("application/octet-stream","efm_generic_icon_content_text.png",(114/126), (114/126), 240, 0.5);
//Install//
EFM_MIME_ICON_SIMPLE("application/x-install-instructions","efm_generic_icon_content_install.png",(114/149), (114/149), 240, 0.5);
//Cache//
EFM_MIME_ICON_SIMPLE("chemical/x-cache","efm_generic_icon_content_db.png", (114/128), (114/128), 240, 0.5);
//Inode//
EFM_MIME_ICON_SIMPLE("inode/chardevice","efm_generic_icon_content_inode_char.png", (114/77), (114/77), 240, 0.5);
EFM_MIME_ICON_SIMPLE("inode/blockdevice","efm_generic_icon_content_inode_block.png", (81/114), (81/114), 240, 0.5);
EFM_MIME_ICON_SIMPLE("inode/fifo","efm_generic_icon_content_inode_fifo.png", (87/114), (87/114), 240, 0.5);
EFM_MIME_ICON_SIMPLE("inode/socket","efm_generic_icon_content_inode_socket.png", (114/114), (114/114), 240, 0.5);
EFM_MIME_ICON_SIMPLE("inode/file","efm_generic_icon_content_inode_file.png", (83/114), (83/114), 240, 0.5);
#undefine EFM_MIME_ICON
#undefine EFM_MIME_ICON_SIMPLE
/* #define EFMICON(NAME, FILE, SIZE) \
* group { name: "e/icons/fileman/"NAME; \
* max: SIZE SIZE; \
* parts { \
* part { name: "icon"; \
* mouse_events: 0; \
* description { state: "default" 0.0; \
* aspect: 1.0 1.0; \
* aspect_preference: BOTH; \
* image.image: FILE COMP; \
* image.normal: FILE ; \
* } \
* } \
* } \
* } */
//EFMICON("folder","icon_efm_folder.png", 128)
//EFMICON("chrdev","icon_efm_file.png", 128)
//EFMICON("blkdev","icon_efm_file.png", 128)
//EFMICON("fifo","icon_efm_file.png", 128)
//EFMICON("socket","icon_efm_file.png", 128)
//EFMICON("executable","icon_efm_file.png", 128)
//EFMICON("home","icon_efm_home.png", 128)
//EFMICON("root","icon_efm_root.png", 128)
//EFMICON("tmp","icon_efm_tmp.png", 128)
//EFMICON("desktop","icon_efm_desktop.png", 128)
//EFMICON("hdd","icon_efm_hdd.png", 128)
//EFMICON("hd","icon_efm_hdd.png", 128)
// EFM Mime type icons //
#define MIMEICON(NAME, FILE, SIZE) \
group { \
name: "e/icons/fileman/mime/"NAME; \
max: SIZE SIZE; \
parts { \
part { \
name: "icon"; \
mouse_events: 0; \
description { \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.image: "O/"FILE COMP; \
image.normal: "O/"FILE ; \
} \
} \
} \
}
// MIMEICON("inode/directory","icon_efm_folder.png", 128);
MIMEICON("application/x-deb","icon_mime_deb.png", 128);
MIMEICON("application/x-bzip","icon_mime_package.png", 128);
MIMEICON("application/zip","icon_mime_package.png", 128);
MIMEICON("application/x-gzip","icon_mime_package.png", 128);
MIMEICON("application/x-bzip-compressed-tar","icon_mime_package.png", 128);
MIMEICON("application/x-bzip2-compressed-tar","icon_mime_package.png",128);
MIMEICON("application/x-compressed-tar","icon_mime_package.png",128);
MIMEICON("application/x-tar","icon_mime_package.png", 128);
MIMEICON("application/x-rar","icon_mime_package.png", 128);
MIMEICON("application/x-7z-compressed","icon_mime_package.png", 128);
MIMEICON("application/vnd.ms-cab-compressed","icon_mime_package.png", 128);

View File

@ -0,0 +1,200 @@
/////////////////////////////////////////////////////////////////////////////
/*** ICONS ***/
#define ICON(NAME, FILE, SIZE) \
group { \
name: "e/icons/"NAME ; \
max: SIZE SIZE; \
parts { \
part { \
name: "icon"; \
repeat_events: 1; \
description { \
state: "default" 0.0; \
aspect: 1.0 1.0; \
aspect_preference: BOTH; \
image.image: "O/"FILE COMP; \
image.normal: "O/"FILE ; \
} \
} \
} \
}
#define ICONMIME(NAME, FILE, SIZE) ICON("mimetypes/"NAME, FILE, SIZE)
/* FreeDesktop.Org Icons
* http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html
*
* In the comment you can find the old e icon name.
*
* Icons marked with *** are not mentioned in the spec, but we still try to
* follow the naming convention.
*
* TO ADD A NEW ICON:
* 1. Search for a name in the spec OR
* 2. Search for a name in kde (oxygen) and gnome (tango - human) icon set OR
* 3. Try to follow the naming convention
*/
//Standard Action Icons
ICON("list-add","icon_add.png",64) // "widget/add"
ICON("list-remove","icon_del.png",64) // "widget/del"
ICON("go-up","icon_up_arrow.png",64) // "widget/up_arrow" "widget/up_dir"
ICON("go-down","icon_down_arrow.png",64) // "widget/down_arrow"
ICON("go-next","icon_right_arrow.png",64) // "widget/new_dialog"
ICON("go-previous","icon_left_arrow.png",64) // none
ICON("bookmark-new","icon_add_fav.png",64) // "widget/add_fav"
ICON("edit-swap","icon_swap.png",64) // *** // "widget/swap"
ICON("edit-copy","icon_efm_copy.png",16) // EFMBUTTON("copy"
ICON("edit-cut","icon_efm_cut.png",16) // EFMBUTTON("cut"
ICON("edit-paste","icon_efm_paste.png",16) // EFMBUTTON("paste"
ICON("edit-delete","icon_efm_delete.png",16) // EFMBUTTON("delete"
ICON("edit-rename","icon_efm_rename.png",16) // EFMBUTTON("rename"
ICON("edit-select-all","icon_efm_select.png",16) // EFMBUTTON("select"
ICON("document-open","icon_efm_open.png",16) // "widget/open" EFMBUTTON("open") EFMBUTTON("new")
ICON("document-new","icon_new.png",64) // "widget/new"
ICON("document-properties","icon_efm_properties.png",16) // EFMBUTTON("properties"
ICON("folder-new","icon_efm_new_dir.png",16) // EFMBUTTON("new_dir"
ICON("view-sort","icon_efm_sort.png",16) // *** // EFMBUTTON("sort",
ICON("view-order","icon_efm_sort.png",16) // *** // EFMBUTTON("ordering"
ICON("view-hidden-files","icon_efm_view.png",16) // *** // EFMBUTTON("hidden_files"
ICON("configure","icon_config.png",64) // "widget/config"
ICON("system-run","icon_run.png",64) // "enlightenment/run"
ICON("window-close","icon_close.png",64) // "widget/close"
ICON("dialog-ok-apply","icon_check.png",64) // "enlightenment/check"
ICON("transform-scale","icon_resize.png",64) // "widget/resize"
ICON("transform-move","icon_autoscroll.png",64) // "enlightenment/autoscroll"
ICON("view-refresh","icon_reset.png",16) // EFMBUTTON("refresh"
ICON("view-inherit","icon_dummy.png",64) // *** // EFMBUTTON("inherit"
ICON("screenshot","icon_screenshot.png",64) // dunno
//Standard Status Icons
ICON("dialog-warning","icon_warning.png",128) // "enlightenment/warning"
ICON("dialog-error","icon_warning.png",128) // "enlightenment/error"
// ICON("dialog-ask","icon_dummy.png",64) // "enlightenment/unknown"
// ICON("unknown","icon_dummy.png",64) // *** // "enlightenment/unknown"
//Standard Application Icons
ICON("preferences-desktop","icon_desktops.png",64) // "enlightenment/desktops"
ICON("preferences-desktop-theme","icon_theme.png",64) // "enlightenment/themes"
ICON("preferences-desktop-wallpaper","icon_wallpaper.png",64) // "enlightenment/background"
ICON("preferences-desktop-color","icon_colors.png",64) // "enlightenment/colors"
ICON("preferences-desktop-font","icon_fonts.png",64) // "enlightenment/fonts"
ICON("preferences-desktop-screensaver","icon_screensaver.png",64) // "enlightenment/screensaver"
ICON("preferences-desktop-display","icon_screen_setup.png",64) // "enlightenment/screen_setup"
ICON("preferences-desktop-keyboard","icon_keyboard.png",64) // "enlightenment/keys"
ICON("preferences-desktop-keyboard-shortcuts","icon_keys.png",64) // "enlightenment/keys"
ICON("preferences-desktop-pointer","icon_mouse.png",64) // *** // "enlightenment/mouse"
ICON("preferences-desktop-mouse","icon_mouse_clean.png",64) // "enlightenment/mouse_clean"
ICON("preferences-desktop-mouse-left","icon_mouse_left.png",64) // *** // "enlightenment/mouse_left"
ICON("preferences-desktop-mouse-right","icon_mouse_right.png",64) // *** // "enlightenment/mouse_right"
ICON("preferences-desktop-mouse-middle","icon_mouse_middle.png",64) // *** // "enlightenment/mouse_middle"
ICON("preferences-desktop-mouse-wheel","icon_mouse_wheel.png",64) // *** // "enlightenment/mouse_wheel"
ICON("preferences-desktop-mouse-extra","icon_mouse_extra.png",64) // *** // "enlightenment/mouse_extra"
ICON("preferences-desktop-locale","icon_intl.png",64) // "enlightenment/intl"
ICON("preferences-desktop-mixer","icon_mixer.png",64) // "enlightenment/mixer"
ICON("preferences-desktop-shelf","icon_shelf.png",64) // *** // "enlightenment/shelf"
ICON("preferences-desktop-shelf-bottom-desk","icon_shelf_bottom_desk.png",64)// *** // "enlightenment/shelf_bottom_desk"
ICON("preferences-desktop-shelf-custom","icon_shelf_custom.png",64) // *** // "enlightenment/shelf_custom"
ICON("preferences-desktop-shelf-dock","icon_shelf_dock.png",64) // *** // "enlightenment/shelf_dock"
ICON("preferences-desktop-shelf-menu-bar","icon_shelf_menu_bar.png",64) // *** // "enlightenment/shelf_menu_bar"
ICON("preferences-desktop-shelf-panel","icon_shelf_panel.png",64) // *** // "enlightenment/shelf_panel"
ICON("preferences-desktop-shelf-top-desk","icon_shelf_top_desk.png",64) // *** // "enlightenment/shelf_top_desk"
ICON("preferences-desktop-window-remember","icon_window_remembers.png",64) // *** // "enlightenment/window_remembers"
ICON("preferences-position-bottom","icon_shelf_bottom.png",64) // *** // "enlightenment/shelf_position_bottom"
ICON("preferences-position-bottom-left","icon_shelf_bottom_left.png",64) // *** // "enlightenment/shelf_position_bottom_left"
ICON("preferences-position-bottom-right","icon_shelf_bottom_right.png",64) // *** // "enlightenment/shelf_position_bottom_right"
ICON("preferences-position-top","icon_shelf_top.png",64) // *** // "enlightenment/shelf_position_top"
ICON("preferences-position-top-left","icon_shelf_top_left.png",64) // *** // "enlightenment/shelf_position_top_left"
ICON("preferences-position-top-right","icon_shelf_top_right.png",64) // *** // "enlightenment/shelf_position_top_right"
ICON("preferences-position-left","icon_shelf_left.png",64) // *** // "enlightenment/shelf_position_left"
ICON("preferences-position-left-top","icon_shelf_left_top.png",64) // *** // "enlightenment/shelf_position_left_top"
ICON("preferences-position-left-bottom","icon_shelf_left_bottom.png",64) // *** // "enlightenment/shelf_position_left_bottom"
ICON("preferences-position-right","icon_shelf_right.png",64) // *** // "enlightenment/shelf_position_right"
ICON("preferences-position-right-top","icon_shelf_right_top.png",64) // *** // "enlightenment/shelf_position_right_top"
ICON("preferences-position-right-bottom","icon_shelf_right_bottom.png",64) // *** // "enlightenment/shelf_position_right_bottom"
ICON("preferences-window-process","icon_window_process_management.png",64) // *** // "enlightenment/window_process"
ICON("preferences-window-manipulation","icon_window_manipulation.png",64) // *** // "enlightenment/window_manipulation"
ICON("preferences-window-maximize","icon_window_manipulation.png",64) // *** // "enlightenment/window_maximize"
ICON("preferences-window-stacking","icon_winlist.png",64) // *** // "enlightenment/window_stacking"
ICON("preferences-window-geometry","icon_window_geometry.png",64) // *** // "enlightenment/window_geometry"
ICON("preferences-windows-lost","icon_lost_windows.png",64) // *** // "enlightenment/lost_windows"
ICON("preferences-gradient","icon_gradient.png",64) // *** // "enlightenment/gradient"
ICON("preferences-focus","icon_window_focus.png",64) // *** // "enlightenment/focus"
ICON("preferences-engine","icon_engine.png",64) // *** // "enlightenment/engine"
ICON("preferences-dialogs","icon_dummy.png",64) // *** // "enlightenment/dialogs"
ICON("preferences-imc","icon_imc.png",64) // *** // "enlightenment/imc"
ICON("preferences-system-lock-screen","icon_desklock.png",64) // *** // "enlightenment/desklock"
ICON("preferences-icon-theme","icon_icon_theme.png",64) // *** // "enlightenment/icon_theme"
ICON("preferences-transitions","icon_transitions.png",64) // *** // "enlightenment/transitions"
ICON("preferences-desktop-edge-bindings","icon_shelf_right.png",64) // *** // "enlightenment/edges"
ICON("preferences-toolbar","icon_toolbar.png",64) // *** // "enlightenment/toolbar"
ICON("preferences-profiles","icon_profiles.png",64) // *** // "enlightenment/profiles"
ICON("preferences-startup","icon_startup.png",64) // *** // "enlightenment/startup"
ICON("preferences-winlist","icon_winlist.png",64) // *** // "enlightenment/winlist"
ICON("preferences-menus","icon_menus.png",64) // *** // "enlightenment/menus"
ICON("preferences-menu-settings","icon_menu_settings.png",64) // *** // "enlightenment/menu_settings"
ICON("preferences-advanced","icon_advanced.png",64) // *** // "enlightenment/advanced"
ICON("preferences-behavior","icon_behavior.png",64) // *** // "enlightenment/behavior"
ICON("preferences-look","icon_look.png",64) // *** // "enlightenment/look"
ICON("preferences-utils","icon_gadget.png",64) // *** // "enlightenment/utils"
ICON("preferences-extensions","icon_extensions.png",64) // *** // "enlightenment/extensions"
ICON("preferences-file-icons","icon_file_icons.png",64) // *** // "enlightenment/file_icons"
ICON("preferences-pager","icon_pager.png",64) // *** // "enlightenment/pager"
ICON("preferences-scale","icon_scale.png",64) // *** // "enlightenment/scale"
ICON("preferences-directories","icon_directories.png",64) // *** // "enlightenment/directories"
ICON("preferences-screen-normal","icon_screen_normal.png",64) // *** // "enlightenment/screen_normal"
ICON("preferences-screen-around","icon_screen_around.png",64) // *** // "enlightenment/screen_around"
ICON("preferences-screen-left","icon_screen_left.png",64) // *** // "enlightenment/screen_left"
ICON("preferences-screen-right","icon_screen_right.png",64) // *** // "enlightenment/screen_right"
ICON("preferences-screen-vflip","icon_screen_vflip.png",64) // *** // "enlightenment/screen_vflip"
ICON("preferences-screen-hflip","icon_screen_hflip.png",64) // *** // "enlightenment/screen_hflip"
ICON("preferences-applications","icon_applications.png",64) // *** // "enlightenment/applications"
ICON("preferences-applications-add","icon_applications_new.png",64) // *** // "enlightenment/add_application"
ICON("preferences-applications-ibar","icon_applications_ibar.png",64) // *** // "enlightenment/ibar_applications"
ICON("preferences-applications-restart","icon_applications_restart.png",64) // *** // "enlightenment/restart_applications"
ICON("preferences-applications-startup","icon_applications_startup.png",64) // *** // "enlightenment/startup_applications"
ICON("preferences-desktop-default-applications","icon_advanced.png",64)
ICON("preferences-preferences","icon_config.png",64) // "enlightenment/configuration" "enlightenment/settings"
ICON("preferences-plugin","icon_modules.png",64) // "enlightenment/modules"
ICON("preferences-system","icon_configuration.png",64) // "enlightenment/configuration" "enlightenment/settings"
ICON("preferences-system-windows","icon_windows.png",64) // "enlightenment/windows" "enlightenment/showhide"
ICON("preferences-system-performance","icon_performance.png",64) // "enlightenment/performance"
ICON("preferences-system-power-management","icon_power_management.png",64) // "enlightenment/power_management"
ICON("preferences-system-screen-resolution","icon_screen_resolution.png",64)// *** // "enlightenment/screen_resolution"
ICON("preferences-illume","icon_illume.png",64)
// ICON("system-file-manager","icon_efm_folder.png",64) // "enlightenment/fileman"
//Standard Module Category Icons
ICON("modules-utils","icon_gadget.png",64)
ICON("modules-system","icon_gadget.png",64)
ICON("modules-look","icon_look.png",64)
// ICON("modules-files","icon_efm_folder.png",64)
ICON("modules-launcher","icon_run.png",64)
ICON("modules-core","logo_white_128.png",64)
ICON("modules-mobile","icon_globe.png",64)
ICON("modules-settings","icon_config.png",64)
//Standard Emblem Icons
// ICON("emblem-symbolic-link","icon_dummy.png",64) // EFMBUTTON("symlink")
//Standard Place Icons
ICON("start-here","logo_white_128.png",128) // "enlightenment/e"
// ICON("folder","icon_efm_folder.png",64) // "fileman/folder"
// ICON("user-home","icon_efm_home.png",64) // "fileman/home"
// ICON("user-temp","icon_efm_tmp.png",64) // *** // "fileman/tmp"
// ICON("user-desktop","icon_efm_desktop.png",64) // "fileman/desktop"
// ICON("user-bookmarks","icon_favorites.png",64) // "enlightenment/favorites"
// ICON("folder-image","icon_wallpaper.png",64) // "enlightenment/picture"
ICON("network-website","icon_globe.png",64) // "enlightenment/website"
//Standard Device Icons
// ICON("computer","icon_efm_root.png", 64) // "fileman/root"
// ICON("drive-harddisk","icon_efm_hdd.png", 128) // "fileman/hd" "fileman/hdd"
// ICON("drive-optical","icon_efm_cd.png", 128) // "fileman/??"
// ICON("media-flash","icon_efm_flash.png", 128) // "fileman/??"
// ICON("drive-removable-media","icon_efm_usbmedia.png", 128);
ICON("media-eject","icon_efm_eject.png", 64)
/* End of FreeDesktop.Org icons */
//E Specific icons
ICON("everything-launch","icon_advanced.png",64)
ICON("everything-clipboard","icon_evry_clipboard.png", 256)
//EFM Mime icons
ICONMIME("inode/chardevice","icon_efm_file.png",128)
ICONMIME("inode/blockdevice","icon_efm_file.png",128)
ICONMIME("inode/directory-locked","icon_efm_file.png",128)
// ICONMIME("inode/directory","icon_efm_folder.png",128)
ICONMIME("inode/fifo","icon_efm_file.png",128)
ICONMIME("inode/socket","icon_efm_file.png",128)

View File

@ -4,6 +4,7 @@ group { name: "e/widgets/about/main";
images.image: "about-lines.png" COMP;
images.image: "about-triangles.png" COMP;
images.image: "win_shadow.png" COMP;
// images.image: "snow.jpg" LOSSY 90;
set { name: "logo_mono";
image { image: "logo.png" COMP; size: 601 601 99999 99999; }
image { image: "logo2.png" COMP; size: 301 301 600 600; }
@ -13,15 +14,15 @@ group { name: "e/widgets/about/main";
}
styles {
style { name: "about_style";
base: "font="FN" font_size=10 align=center text_class=e-about color=cc:/fg/normal/text-overlay wrap=word";
tag: "hilight" "+ font="FNBD" text_class=tb_light color=cc:/fg/normal/text-hilight align=center";
base: "font="FN" font_size=10 align=center text_class=tb_plain color=#fff wrap=word";
tag: "hilight" "+ font="FNBD" text_class=tb_light color=#fff align=center";
tag: "title" "+ font_size=16 font="FNBD" text_class=tb_big";
tag: "/title" "- \n \n";
tag: "br" "\n";
}
style { name: "authors_style";
base: "font="FNBD" font_size=10 align=left text_class=e-about-authors color=cc:/fg/normal/text-subtle wrap=none";
tag: "hilight" "+ font="FNBD" text_class=tb_light color=cc:/fg/normal/text-hilight";
base: "font="FNBD" font_size=10 align=left text_class=tb_plain color=#0004 wrap=none";
tag: "hilight" "+ font="FNBD" text_class=tb_light color=#fff";
tag: "title" "+ font_size=16 font="FNBD" text_class=tb_big";
tag: "/title" "- \n \n";
tag: "br" "\n";
@ -35,10 +36,19 @@ group { name: "e/widgets/about/main";
min: 320 420;
}
}
/*
part { name: "image";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "snow.jpg";
aspect: 1.0 1.0; aspect_preference: NONE;
}
}
*/
part { name: "image"; type: RECT;
description { state: "default" 0.0;
fixed: 1 1;
color_class: "/bg/normal/entry";
color: 48 48 48 255;
}
}
////////////////////////////////////////////////////////////////
@ -57,7 +67,6 @@ group { name: "e/widgets/about/main";
min: 0 1;
align: 0.5 0.0;
}
offscale;
}
description { state: "up" 0.0;
inherit: "default" 0.0;
@ -96,7 +105,6 @@ group { name: "e/widgets/about/main";
min: 0 1;
align: 0.5 0.0;
}
offscale;
}
description { state: "up" 0.0;
inherit: "default" 0.0;
@ -129,11 +137,11 @@ group { name: "e/widgets/about/main";
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 0.0;
fill.smooth: 1;
color_class: "/bg/normal/titlebar";
color: 64 64 64 255;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "/bg/selected/titlebar";
color: 32 32 32 255;
}
}
////////////////////////////////////////////////////////////////
@ -147,8 +155,6 @@ group { name: "e/widgets/about/main";
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 0.0;
FIXED_SIZE(75, 75)
offscale;
color_class: "/fg/normal/about/logo";
}
}
////////////////////////////////////////////////////////////////
@ -160,14 +166,14 @@ group { name: "e/widgets/about/main";
rel2.offset: -1 13;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
rel.to: "logo";
color_class: "/fg/normal/text-heading";
rel1.to: "logo";
rel2.to: "logo";
color: 255 255 255 255;
text { font: FNBD; size: 16;
min: 1 1;
ellipsis: -1;
text_class: "about_title";
}
offscale;
}
}
////////////////////////////////////////////////////////////////
@ -179,14 +185,14 @@ group { name: "e/widgets/about/main";
rel2.offset: -1 13;
rel1.relative: 0.0 1.0;
rel2.relative: 1.0 1.0;
rel.to: "e.text.title";
color_class: "/fg/normal/text-heading-sub";
rel1.to: "e.text.title";
rel2.to: "e.text.title";
color: 255 255 255 255;
text { font: FN; size: 10;
min: 1 1;
ellipsis: -1;
text_class: "about_version";
}
offscale;
}
}
////////////////////////////////////////////////////////////////
@ -199,8 +205,7 @@ group { name: "e/widgets/about/main";
image.normal: "about-triangles.png"; \
aspect: (255/180) (255/180); aspect_preference: HORIZONTAL; \
rel1.relative: 0.0 1.0; \
color_class: "/bg/normal/background"; \
offscale; \
color: 64 64 64 255; \
} \
}
TRI("t1", 127, 0.5)
@ -218,32 +223,25 @@ group { name: "e/widgets/about/main";
description { state: "default" 0.0;
rel.to: "base";
WIN_SHADOW_SMALL;
color_class: "/shadow/normal";
offscale;
}
description { state: "clicked" 0.0;
inherit;
image.border_scale_by: 0.125;
rel1.offset: -2 -1;
rel2.offset: 1 2;
color_class: "/shadow/pressed";
image.border_scale_by: 0.25;
rel1.offset: -5 -3;
rel2.offset: 4 6;
}
}
part { name: "base"; type: RECT;
scale: 1;
description { state: "default" 0.0;
rel1.offset: -6 -6;
rel1.to: "e.text.label";
rel2.offset: 5 5;
rel2.to: "e.text.label";
color_class: "/bg/normal/button";
offscale;
color: 51 153 255 255;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
rel1.offset: -5 -5;
rel2.offset: 4 4;
color_class: "/bg/pressed/button";
color: 255 153 51 255;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
@ -253,7 +251,7 @@ group { name: "e/widgets/about/main";
rel1.relative: 0.5 1.0;
rel2.offset: -1 -19;
rel2.relative: 0.5 1.0;
color_class: "/fg/normal/button";
color: 255 255 255 255;
align: 0.5 1.0;
min: 80 10;
text { font: FN; size: 10;
@ -261,33 +259,35 @@ group { name: "e/widgets/about/main";
ellipsis: -1;
text_class: "button";
}
offscale;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/button";
color: 255 255 255 255;
}
}
program { signal: "mouse,down,1*"; source: "base";
program {
signal: "mouse,down,1*"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "e.text.label";
target: "base";
target: "shadow";
}
program { signal: "mouse,up,1"; source: "base";
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "e.text.label";
target: "base";
target: "shadow";
}
program { signal: "mouse,clicked,1*"; source: "base";
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,close" "";
}
program { signal: "e,state,focused"; source: "e";
program {
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "lines";
}
program { signal: "e,state,unfocused"; source: "e";
program {
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "lines";
}

View File

@ -1,8 +1,8 @@
group { name: "e/theme/about";
// data.item: "borderless" "1";
// data.item: "shaped" "1";
images.image: "about-flat-bg.png" COMP;
images.image: "win_shadow.png" COMP;
// images.image: "check_fill.png" COMP;
images.image: "clouds.jpg" LOSSY 99;
min: 220 320;
parts {
part { name: "sizer"; type: SPACER;
@ -11,10 +11,31 @@ group { name: "e/theme/about";
min: 220 320;
}
}
/*
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 64 64 64 255;
}
}
part { name: "check";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
color: 56 56 56 255;
image.normal: "check_fill.png";
min: 5120 5120;
align: 0.0 0.0;
fill {
size.relative: 0.05 0.05;
smooth: 0;
}
}
}
*/
part { name: "image";
description { state: "default" 0.0;
fixed: 1 1;
image.normal: "about-flat-bg.png";
image.normal: "clouds.jpg";
aspect: 1.0 1.0; aspect_preference: NONE;
}
}
@ -22,7 +43,7 @@ group { name: "e/theme/about";
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
text { font: FNBD; size: 48;
@ -31,18 +52,18 @@ group { name: "e/theme/about";
ellipsis: -1;
align: 0.5 0.5;
}
offscale;
}
}
part { name: "name2"; type: TEXT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
color: 255 255 255 192; // no cc
rel.to: "name";
color: 255 255 255 192;
rel1.relative: 0.0 1.0;
rel1.to: "name";
rel1.offset: 0 16;
rel2.relative: 1.0 1.0;
rel2.to: "name";
rel2.offset: -1 16;
align: 0.5 0.0;
text { font: FN; size: 10;
@ -51,40 +72,20 @@ group { name: "e/theme/about";
ellipsis: -1;
align: 0.5 0.0;
}
offscale;
}
}
////////////////////////////////////////////////////////////////
part { name: "shadow"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel.to: "base";
WIN_SHADOW_SMALL;
color_class: "/shadow/normal";
offscale;
}
description { state: "clicked" 0.0;
inherit;
image.border_scale_by: 0.125;
rel1.offset: -2 -1;
rel2.offset: 1 2;
color_class: "/shadow/pressed";
}
}
part { name: "base"; type: RECT;
scale: 1;
description { state: "default" 0.0;
rel.to: "e.text.label";
rel1.offset: -6 -6;
rel1.to: "e.text.label";
rel2.offset: 5 5;
color_class: "/bg/normal/button";
offscale;
rel2.to: "e.text.label";
color: 48 48 48 255;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
rel1.offset: -5 -5;
rel2.offset: 4 4;
color_class: "/bg/pressed/button";
color: 32 32 32 255;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
@ -94,7 +95,7 @@ group { name: "e/theme/about";
rel1.relative: 1.0 1.0;
rel2.offset: -14 -14;
rel2.relative: 1.0 1.0;
color_class: "/fg/normal/button";
color: 160 160 160 255;
align: 1.0 1.0;
min: 85 0;
text { font: FN; size: 10;
@ -104,57 +105,40 @@ group { name: "e/theme/about";
text_class: "button";
}
fixed: 1 1;
offscale;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/button";
color: 255 255 255 255;
}
}
program { signal: "mouse,down,1*"; source: "base";
program {
signal: "mouse,down,1*"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "shadow";
target: "e.text.label";
}
program { signal: "mouse,up,1"; source: "base";
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "shadow";
target: "e.text.label";
}
program { signal: "mouse,clicked,1*"; source: "base";
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,close" "";
}
////////////////////////////////////////////////////////////////
part { name: "shadow2"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel.to: "base2";
WIN_SHADOW_SMALL;
color_class: "/shadow/normal";
offscale;
}
description { state: "clicked" 0.0;
inherit;
image.border_scale_by: 0.125;
rel1.offset: -2 -1;
rel2.offset: 1 2;
color_class: "/shadow/pressed";
}
}
part { name: "base2"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.text.theme";
rel1.offset: -6 -6;
rel1.to: "e.text.theme";
rel2.offset: 5 5;
color_class: "/bg/normal/button";
rel2.to: "e.text.theme";
color: 48 48 48 255;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
rel1.offset: -5 -5;
rel2.offset: 4 4;
color_class: "/bg/pressed/button";
color: 32 32 32 255;
}
}
part { name: "e.text.theme"; type: TEXT; mouse_events: 0;
@ -164,7 +148,7 @@ group { name: "e/theme/about";
rel1.relative: 0.0 1.0;
rel2.offset: 13 -14;
rel2.relative: 0.0 1.0;
color_class: "/fg/normal/button";
color: 160 160 160 255;
align: 0.0 1.0;
min: 85 0;
text { font: FN; size: 10;
@ -174,26 +158,26 @@ group { name: "e/theme/about";
text_class: "button";
}
fixed: 1 1;
offscale;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/button";
color: 255 255 255 255;
}
}
program { signal: "mouse,down,1*"; source: "base2";
program {
signal: "mouse,down,1*"; source: "base2";
action: STATE_SET "clicked" 0.0;
target: "base2";
target: "shadow2";
target: "e.text.theme";
}
program { signal: "mouse,up,1"; source: "base2";
program {
signal: "mouse,up,1"; source: "base2";
action: STATE_SET "default" 0.0;
target: "base2";
target: "shadow2";
target: "e.text.theme";
}
program { signal: "mouse,clicked,1*"; source: "base2";
program {
signal: "mouse,clicked,1*"; source: "base2";
action: SIGNAL_EMIT "e,action,settings,theme" "";
}
}

View File

@ -4,12 +4,11 @@ group { name: "e/modules/appmenu/item";
parts {
part { name: "background"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color_class: "/bg/normal/menu/item";
color: 32 32 32 255;
visible: 0;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color_class: "/bg/selected/menu/item";
visible: 1;
}
}
@ -18,7 +17,7 @@ group { name: "e/modules/appmenu/item";
description { state: "default" 0.0;
rel1.offset: 4 4;
rel2.offset: -5 -5;
color_class: "/fg/normal/menu/item";
color: 160 160 160 255;
text { font: FN; size: 10;
min: 1 1;
ellipsis: -1;
@ -28,12 +27,12 @@ group { name: "e/modules/appmenu/item";
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color_class: "/fg/selected/menu/item";
color: 255 255 255 255;
}
}
part { name: "event_area"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}

View File

@ -1,8 +1,9 @@
group { name: "e/modules/backlight/main";
alias: "e/gadget/backlight/main";
alias: "e/gadget/backlight/main_vert";
alias: "e/modules/backlight/main_vert";
images.image: "bulb_middle.png" COMP;
images.image: "bulb_over.png" COMP;
images.image: "bulb_filament.png" COMP;
min: 16 16;
max: 160 160;
script {
@ -11,7 +12,6 @@ group { name: "e/modules/backlight/main";
new Float:val;
val = getfarg(2);
set_tween_state(PART:"glow", val, "default", 0.0, "full", 0.0);
set_tween_state(PART:"filament", val, "default", 0.0, "full", 0.0);
}
}
}
@ -20,40 +20,30 @@ group { name: "e/modules/backlight/main";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bulb_middle.png";
color_class: "/bg-dark/normal/gadgets/backlight";
color: 32 32 32 255;
}
}
part { name: "glow";
description { state: "default" 0.0;
rel.to: "base";
rel1.to: "base";
rel1.relative: 0.5 0.5;
rel2.to: "base";
rel2.relative: 0.5 0.5;
image.normal: "bulb_middle.png";
color_class: "/fg/normal/gadgets/backlight/light/off";
color: 255 255 255 0;
}
description { state: "full" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color_class: "/fg/normal/gadgets/backlight/light/on";
}
}
part { name: "filament";
description { state: "default" 0.0;
rel.to: "base";
image.normal: "bulb_filament.png";
color_class: "/fg/normal/gadgets/backlight/filament/off";
}
description { state: "full" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/backlight/filament/on";
color: 255 255 255 255;
}
}
part { name: "over";
description { state: "default" 0.0;
rel.to: "base";
rel1.to: "base";
rel2.to: "base";
image.normal: "bulb_over.png";
color_class: "/fg/normal/gadgets/backlight/base";
}
}
}

View File

@ -0,0 +1,163 @@
group { name: "e/gadget/batman/main";
alias: "e/gadget/batman/main_vert";
images.image: "bat_base.png" COMP;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 1)) {
new Float:val = getfarg(2);
val = 0.05 + (0.9 * (1.0 - val));
custom_state(PART:"fill_clip", "default", 0.0);
set_state_val(PART:"fill_clip", STATE_REL1, 0.0, val);
set_state(PART:"fill_clip", "custom", 0.0);
}
}
}
parts {
part { name: "pulse_clip"; type: RECT;
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
description { state: "faded" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128;
}
}
part { name: "fill_clip_dim"; type: RECT;
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 128 128 128 255;
}
}
part { name: "fill_clip"; type: RECT;
clip_to: "fill_clip_dim";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
}
}
part { name: "bg";
clip_to: "pulse_clip";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bat_base.png";
color: 0 0 0 64;
}
}
part { name: "fill";
clip_to: "fill_clip";
description { state: "default" 0.0;
rel1.to: "bg";
rel2.to: "bg";
image.normal: "bat_base.png";
color: 160 160 160 255;
}
description { state: "charging" 0.0;
inherit: "default" 0.0;
color: 51 153 255 255;
}
}
part { name: "over"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
}
programs {
program {
signal: "e,state,charging"; source: "e";
action: STATE_SET "charging" 0.0;
target: "fill";
}
program {
signal: "e,state,discharging"; source: "e";
action: STATE_SET "default" 0.0;
target: "fill";
}
program { name: "pulse";
signal: "e,action,pulse,start"; source: "e";
action: STATE_SET "faded" 0.0;
transition: ACCELERATE 0.3;
after: "pulse2";
target: "pulse_clip";
}
program { name: "pulse2";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.1;
target: "pulse_clip";
after: "pulse";
}
program {
signal: "e,action,pulse,stop"; source: "e";
action: ACTION_STOP;
target: "pulse";
target: "pulse2";
after: "pulse3";
}
program { name: "pulse3";
signal: "e,action,pulse,stop"; source: "e";
action: STATE_SET "default" 0.0;
target: "pulse_clip";
}
program {
signal: "mouse,in"; source: "over";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.3;
target: "fill_clip_dim";
}
program {
signal: "mouse,out"; source: "over";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
target: "fill_clip_dim";
}
}
}
group { name: "e/gadget/batman/popup";
min: 320 60;
parts {
part { name: "e.swallow.batman"; type: SWALLOW;
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
min: 1 1;
max: 240 160;
align: 0.0 0.5;
}
}
part { name: "e.text.title"; type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.batman";
rel2.relative: 1.0 0.5;
color: 160 160 160 255;
text { font: "Sans:style=Bold"; size: 10;
text: "Your battery is low!";
min: 1 1;
ellipsis: -1;
text_class: "module_large";
}
}
}
part { name: "e.text.label"; type: TEXT;
scale: 1;
description { state: "default" 0.0;
rel1.relative: 1.0 0.5;
rel1.to_x: "e.swallow.batman";
color: 160 160 160 255;
text { font: "Sans"; size: 10;
text: "AC power is recommended.";
min: 1 1;
ellipsis: -1;
text_class: "module_normal";
}
}
}
}
}

View File

@ -3,7 +3,6 @@ group { name: "e/modules/battery/main";
min: 16 16;
max: 160 160;
script {
public load_time;
public message(Msg_Type:type, id, ...) {
if ((type == MSG_FLOAT) && (id == 1)) {
new Float:val = getfarg(2);
@ -13,20 +12,6 @@ group { name: "e/modules/battery/main";
set_state(PART:"fill_clip", "custom", 0.0);
}
}
public Float:year_sec() {
new year, month, day, yearday, weekday, hour, minute;
new Float:second;
date(year, month, day, yearday, weekday, hour, minute, second);
return seconds() + float(yearday * 24 * 3600);
}
public run_prog_later(prog) {
new Float:second, Float:start;
second = Float:year_sec();
start = get_float(load_time);
if ((second - start) > float(5)) run_program(prog);
}
}
parts {
part { name: "pulse_clip"; type: RECT;
@ -35,11 +20,21 @@ group { name: "e/modules/battery/main";
}
description { state: "faded" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
}
}
part { name: "fill_clip_dim"; type: RECT;
clip_to: "pulse_clip";
description { state: "default" 0.0;
rel.to: "bg";
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 160 160 160 255;
}
}
part { name: "fill_clip"; type: RECT;
clip_to: "pulse_clip";
clip_to: "fill_clip_dim";
description { state: "default" 0.0;
rel.to: "bg";
}
@ -47,12 +42,11 @@ group { name: "e/modules/battery/main";
part { name: "info_clip"; type: RECT;
description { state: "default" 0.0;
rel.to: "bg";
color_class: "/fg/normal/gadgets/battery/text/info";
color: 255 255 255 0; // no cc
color: 255 255 255 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
}
}
part { name: "bg";
@ -60,7 +54,7 @@ group { name: "e/modules/battery/main";
description { state: "default" 0.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bat_base.png";
color_class: "/bg-dark/normal/gadgets/battery/base";
color: 32 32 32 255;
}
}
part { name: "fill";
@ -68,11 +62,11 @@ group { name: "e/modules/battery/main";
description { state: "default" 0.0;
rel.to: "bg";
image.normal: "bat_base.png";
color_class: "/fg/normal/gadgets/battery/level/discharge";
color: 160 160 160 255;
}
description { state: "charging" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/battery/level/charge";
color: 51 153 255 255;
}
}
part { name: "e.text.reading"; type: TEXT; mouse_events: 0;
@ -83,8 +77,8 @@ group { name: "e/modules/battery/main";
rel.to: "bg";
rel1.relative: 0.25 0.15;
rel2.relative: 0.75 0.53;
color_class: "/fg/normal/gadgets/battery/text/reading";
text { font: FN; size: 8;
color: 255 255 255 255;
text { font: "Sans"; size: 8;
min: 0 1;
fit: 1 1;
ellipsis: -1;
@ -101,8 +95,8 @@ group { name: "e/modules/battery/main";
rel.to: "bg";
rel1.relative: 0.25 0.47;
rel2.relative: 0.75 0.85;
color_class: "/fg/normal/gadgets/battery/text/time";
text { font: FN; size: 8;
color: 255 255 255 255;
text { font: "Sans"; size: 8;
min: 0 1;
fit: 1 1;
ellipsis: -1;
@ -113,26 +107,11 @@ group { name: "e/modules/battery/main";
}
part { name: "over"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}
programs {
program { signal: "load"; source: "";
script { set_float(load_time, year_sec()); }
}
program { signal: "e,state,ac,on"; source: "e";
script { run_prog_later(PROGRAM:"ac_on"); }
}
program { name: "ac_on";
action: PLAY_SAMPLE "synth-worble-up" 1.0 ALERT;
}
program { signal: "e,state,ac,off"; source: "e";
script { run_prog_later(PROGRAM:"ac_off"); }
}
program { name: "ac_off";
action: PLAY_SAMPLE "synth-worble-dn" 1.0 ALERT;
}
program { signal: "e,state,charging"; source: "e";
action: STATE_SET "charging" 0.0;
target: "fill";
@ -169,23 +148,25 @@ group { name: "e/modules/battery/main";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.3;
target: "info_clip";
target: "fill_clip_dim";
}
program { signal: "mouse,out"; source: "over";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3;
target: "info_clip";
target: "fill_clip_dim";
}
}
}
group { name: "e/modules/battery/popup";
min: 320 80;
min: 320 60;
parts {
part { name: "e.swallow.battery"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
min: 80 80;
max: 80 80;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
min: 1 1;
max: 240 160;
align: 0.0 0.5;
}
}
@ -195,8 +176,8 @@ group { name: "e/modules/battery/popup";
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.battery";
rel2.relative: 1.0 0.5;
color_class: "/fg/normal/gadgets/battery/popup/title";
text { font: FNBD; size: 10;
color: 160 160 160 255;
text { font: "Sans:style=Bold"; size: 10;
text: "Your battery is low!";
min: 1 1;
ellipsis: -1;
@ -209,8 +190,8 @@ group { name: "e/modules/battery/popup";
description { state: "default" 0.0;
rel1.relative: 1.0 0.5;
rel1.to_x: "e.swallow.battery";
color_class: "/fg/normal/gadgets/battery/popup/text";
text { font: FN; size: 10;
color: 160 160 160 255;
text { font: "Sans"; size: 10;
text: "AC power is recommended.";
min: 1 1;
ellipsis: -1;

View File

@ -8,7 +8,7 @@ group { name: "e/modules/bluez4/main";
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bz5_logo.png";
color_class: "/fg/normal/gadgets/bluez/on";
color: 160 160 160 255;
}
}
}
@ -24,7 +24,7 @@ group { name: "e/modules/bluez4/inactive";
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bz5_logo.png";
color_class: "/fg/normal/gadgets/bluez/off";
color: 160 160 160 128;
}
}
}

View File

@ -53,17 +53,17 @@ group { name: "e/modules/bluez5/main";
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "bz5_none.png";
color_class: "/fg/normal/gadgets/bluez/on";
color: 160 160 160 255;
}
description { state: "exist" 0.0;
inherit;
image.normal: "bz5_logo.png";
color_class: "/fg/normal/gadgets/bluez/off";
color: 160 160 160 128;
}
description { state: "on" 0.0;
inherit;
image.normal: "bz5_logo.png";
color_class: "/fg/normal/gadgets/bluez/on";
color: 160 160 160 255;
}
}
part { name: "visible";
@ -73,7 +73,7 @@ group { name: "e/modules/bluez5/main";
rel2.relative: 0.2 1.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "radio.png";
color_class: "/fg/normal/gadgets/bluez/visible";
color: 51 153 255 255;
visible: 0;
min: 1 1;
}
@ -89,7 +89,7 @@ group { name: "e/modules/bluez5/main";
rel2.relative: 1.0 1.0;
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "radio.png";
color_class: "/fg/normal/gadgets/bluez/scan";
color: 255 153 51 255;
visible: 0;
min: 1 1;
}

View File

@ -0,0 +1,42 @@
#define ICON(_NAME, _FILE) \
group { \
name: "e/widgets/border/default/"_NAME; \
max: 16 16; \
parts { \
part { name: "icon"; mouse_events: 0; \
description { state: "default" 0.0; \
max: 16 16; \
aspect: 1.0 1.0; aspect_preference: BOTH; \
image.image: _FILE COMP; \
image.normal: _FILE; \
} \
} \
} \
}
ICON("basic", "icon_border_more.png")
ICON("close", "icon_border_close.png")
ICON("kill", "icon_border_kill.png")
ICON("stacking", "icon_border_stack_norm.png")
ICON("stack_on_top", "icon_border_stack_top.png")
ICON("stack_normal", "icon_border_stack_norm.png")
ICON("stack_below", "icon_border_stack_bot.png")
ICON("move_icon", "icon_border_move.png")
ICON("resize_icon", "icon_border_resize.png");
ICON("maximize", "icon_border_maximize.png")
ICON("fullscreen", "icon_border_maximize.png")
ICON("minimize", "icon_border_minimize.png")
ICON("stick", "icon_border_pin.png")
ICON("sendto", "icon_border_sendto.png")
ICON("skip", "icon_border_skip.png")
ICON("skip_pager", "icon_border_pager.png")
ICON("skip_taskbar", "icon_border_skip.png")
ICON("skip_winlist", "icon_border_skip.png")
ICON("borderless", "icon_border_border.png")
ICON("remember", "icon_border_remember.png")
ICON("shade", "icon_border_shaded.png")
ICON("locks", "icon_border_lock.png")
ICON("locks_user", "icon_border_lock.png")
ICON("locks_application", "icon_border_lock.png")
ICON("properties", "icon_border_properties.png")
#undef ICON

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,267 @@
group { name: "e/bryce/default/base"; nomouse;
data {
/* this tells e the number of pixels of the bryce to leave "exposed"
* when auto-hiding the bryce */
item: "hidden_state_size" "2";
}
parts {
rect { "mouse"; mouse;
desc { color: 0 0 0 0; }
}
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 64 64 64 255;
}
description { state: "vert" 0.0;
color: 64 64 64 255;
}
}
spacer { "sizer";
description { state: "default" 0.0;
rel1.offset: 4 0;
rel2.offset: -5 -1;
}
description { state: "vert" 0.0;
rel1.offset: 0 4;
rel2.offset: -1 -5;
}
}
part { name: "e.swallow.content"; type: SWALLOW; mouse;
desc {
rel.to: "sizer";
link.base: "e,state,visible" "e";
}
desc { "hidden"; hid;
rel.to: "sizer";
link.base: "e,state,hidden" "e";
}
}
rect { "text_fader"; mouse;
desc { hid;
color: 0 0 0 0;
}
desc { "active";
color: 0 0 0 192;
}
}
text { "e.text"; scale;
effect: SHADOW BOTTOM;
desc { hid;
color: 255 255 255 0;
text { font: "Sans:style=Bold"; size: 14;
ellipsis: -1;
}
}
desc { "active"; inherit; vis;
color: 255 255 255 255;
}
}
program { signal: "e,action,resize"; source: "e";
action: STATE_SET "active";
transition: LINEAR 0.1;
targets: "e.text" "text_fader";
sequence {
action: ACTION_STOP;
target: "text_hide";
action: STATE_SET "default";
name: "text_hide";
in: 1.0 0;
transition: LINEAR 0.2;
targets: "e.text" "text_fader";
}
}
programs {
#define ORIENT_SATE(_ORIENT, _STATE) \
program { \
signal: "e,state,orient,"_ORIENT; source: "e"; \
action: STATE_SET _STATE 0.0; \
target: "bg"; \
target: "sizer"; \
}
}
ORIENT_SATE("horizontal", "default")
ORIENT_SATE("vertical", "vert")
#undef ORIENT_SATE
}
}
group { name: "e/bryce/alternate/base"; nomouse;
inherit: "e/bryce/default/base";
parts {
part { name: "bg"; type: RECT;
description { state: "default" 0.0;
color: 32 32 32 255;
}
description { state: "vert" 0.0;
color: 32 32 32 255;
}
}
}
}
group { name: "e/bryce/invisible/base"; nomouse;
inherit: "e/bryce/default/base";
data.item: "noshadow" "1";
parts {
part { name: "bg";
description { state: "default" 0.0;
visible: 0;
}
description { state: "vert" 0.0;
visible: 0;
}
}
}
}
group { name: "e/bryce/translucent/base"; nomouse;
inherit: "e/bryce/default/base";
data.item: "noshadow" "1";
parts {
part { name: "bg";
description { state: "default" 0.0;
color: 32 32 32 128;
}
description { state: "vert" 0.0;
color: 32 32 32 128;
}
}
}
}
group { name: "e/bryce/default/inset"; nomouse;
alias: "e/bryce/invisible/inset";
alias: "e/bryce/translucent/inset";
images.image: "horiz_bar_inset.png" COMP;
images.image: "vert_bar_inset.png" COMP;
parts {
rect { "mouse"; mouse;
desc { color: 0 0 0 0; }
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
spacer { "sizer";
description { state: "default" 0.0;
rel1.offset: 3 0;
rel2.offset: -4 -1;
}
description { state: "vert" 0.0;
rel1.offset: 0 3;
rel2.offset: -1 -4;
}
}
part { name: "e.swallow.content"; type: SWALLOW; mouse;
desc {
rel.to: "sizer";
link.base: "e,state,visible" "e";
}
desc { "hidden"; hid;
rel.to: "sizer";
link.base: "e,state,hidden" "e";
}
}
part { name: "inset";
description { state: "default" 0.0;
rel1.offset: 2 0;
rel2.offset: -3 -1;
image.normal: "horiz_bar_inset.png";
image.border: 7 7 1 1;
image.middle: 0;
fill.smooth: 0;
}
description { state: "vert" 0.0;
rel1.offset: 0 2;
rel2.offset: -1 -3;
image.normal: "vert_bar_inset.png";
image.border: 1 1 8 6;
image.middle: 0;
fill.smooth: 0;
}
}
rect { "events"; repeat; mouse;
desc { color: 0 0 0 0; }
}
}
programs {
#define ORIENT_SATE(_ORIENT, _STATE) \
program { \
signal: "e,state,orient,"_ORIENT; source: "e"; \
action: STATE_SET _STATE 0.0; \
target: "sizer"; \
target: "inset"; \
}
ORIENT_SATE("horizontal", "default")
ORIENT_SATE("vertical", "vert")
#undef ORIENT_SATE
}
}
group { name: "e/bryce/default/plain"; nomouse;
alias: "e/bryce/invisible/plain";
alias: "e/bryce/translucent/plain";
parts {
rect { "mouse"; mouse;
desc { color: 0 0 0 0; }
}
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0;
}
}
spacer { "sizer";
description { state: "default" 0.0;
rel1.offset: 3 1;
rel2.offset: -4 -2;
}
description { state: "vert" 0.0;
rel1.offset: 1 3;
rel2.offset: -2 -4;
}
}
part { name: "e.swallow.content"; type: SWALLOW; mouse;
desc {
rel.to: "sizer";
link.base: "e,state,visible" "e";
}
desc { "hidden"; hid;
rel.to: "sizer";
link.base: "e,state,hidden" "e";
}
}
rect { "events"; repeat; mouse;
desc { color: 0 0 0 0; }
}
}
programs {
#define ORIENT_SATE(_ORIENT, _STATE) \
program { \
signal: "e,state,orient,"_ORIENT; source: "e"; \
action: STATE_SET _STATE 0.0; \
target: "sizer"; \
}
ORIENT_SATE("horiontal", "default")
ORIENT_SATE("vertical", "vert")
#undef ORIENT_SATE
}
}
group { "elm/scroller/base/bryce";
parts {
rect { "clip";
desc {
rel1.offset: 0 -99999;
rel2.offset: -1 99999;
link.base: "e,state,orient,horizontal" "e";
}
desc { "vert";
rel1.offset: -99999 0;
rel2.offset: 99999 -1;
link.base: "e,state,orient,vertical" "e";
}
}
swallow { "elm.swallow.content" clip: "clip"; description {rel1.offset: -1 -1; rel2.offset: 0 0; }}
}
}

View File

@ -0,0 +1,404 @@
group { "bryce_editor_text"; inherit_only: 1;
parts {
text { "e.text"; scale; nomouse;
effect: SHADOW BOTTOM;
desc {
color: 255 255 255 255;
text { font: "Sans:style=Bold"; size: 18;
min: 1 1;
ellipsis: -1;
}
}
}
}
}
group { "e/bryce/editor/side";
parts {
rect { "base"; desc { color: 0 0 0 192; } }
program { signal: "mouse,down,*"; source: "base";
action: SIGNAL_EMIT "e,action,dismiss" "e";
}
rect { "bottom"; scale;
desc {
min: 33 32;
align: 0 1;
rel1.relative: 0.3 1;
rel2.relative: 0.7 1;
color: 52 153 255 90;
link.base: "mouse,out" "bottom";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "bottom";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,bottom" "e";
}
}
program { signal: "mouse,down,1"; source: "bottom";
action: SIGNAL_EMIT "e,bryce,add,bottom" "e";
}
rect { "top"; scale;
desc {
min: 33 32;
align: 0 0;
rel1.relative: 0.3 0;
rel2.relative: 0.7 0;
color: 52 153 255 90;
link.base: "mouse,out" "top";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "top";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,top" "e";
}
}
program { signal: "mouse,down,1"; source: "top";
action: SIGNAL_EMIT "e,bryce,add,top" "e";
}
rect { "left"; scale;
desc {
min: 32 33;
align: 0 0;
rel1.relative: 0 0.3;
rel2.relative: 0 0.7;
color: 52 153 255 90;
link.base: "mouse,out" "left";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "left";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,left" "e";
}
}
program { signal: "mouse,down,1"; source: "left";
action: SIGNAL_EMIT "e,bryce,add,left" "e";
}
rect { "right"; scale;
desc {
min: 32 33;
align: 1 0;
rel1.relative: 1 0.3;
rel2.relative: 1 0.7;
color: 52 153 255 90;
link.base: "mouse,out" "right";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "right";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,right" "e";
}
}
program { signal: "mouse,down,1"; source: "right";
action: SIGNAL_EMIT "e,bryce,add,right" "e";
}
}
inherit: "bryce_editor_text";
}
group { "e/bryce/editor/side/horizontal";
parts {
rect { "base"; desc { color: 0 0 0 192; } }
program { signal: "mouse,down,*"; source: "base";
action: SIGNAL_EMIT "e,action,dismiss" "e";
}
spacer { "pos";
desc { align: 0 0;
min: 0 32;
rel2.relative: 1 0;
}
desc { "bottom";
align: 0 1;
min: 0 32;
rel1.relative: 0 1;
link.base: "e,state,bottom" "e";
}
}
rect { "center"; scale;
desc {
min: 33 32;
align: 0 0;
rel.to_y: "pos";
rel1.relative: 0.4 0;
rel2.relative: 0.6 1;
color: 52 153 255 90;
link.base: "mouse,out" "center";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "center";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,center" "e";
}
}
program { signal: "mouse,down,1"; source: "center";
action: SIGNAL_EMIT "e,bryce,add,center" "e";
}
rect { "left"; scale;
desc {
min: 33 32;
align: 0 0;
rel.to_y: "pos";
rel1.relative: 0 0;
rel2.relative: 0.2 1;
color: 52 153 255 90;
link.base: "mouse,out" "left";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "left";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,left" "e";
}
}
program { signal: "mouse,down,1"; source: "left";
action: SIGNAL_EMIT "e,bryce,add,left" "e";
}
rect { "right"; scale;
desc {
min: 33 32;
align: 1 0;
rel.to_y: "pos";
rel1.relative: 0.8 0;
rel2.relative: 1 1;
color: 52 153 255 90;
link.base: "mouse,out" "right";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "right";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,right" "e";
}
}
program { signal: "mouse,down,1"; source: "right";
action: SIGNAL_EMIT "e,bryce,add,right" "e";
}
}
inherit: "bryce_editor_text";
}
group { "e/bryce/editor/side/vertical";
parts {
rect { "base"; desc { color: 0 0 0 192; } }
program { signal: "mouse,down,*"; source: "base";
action: SIGNAL_EMIT "e,action,dismiss" "e";
}
spacer { "pos";
desc { align: 0 0;
min: 32 0;
rel2.relative: 0 1;
}
desc { "right";
align: 1 0;
min: 32 0;
rel1.relative: 1 0;
link.base: "e,state,right" "e";
}
}
rect { "center"; scale;
desc {
min: 32 33;
align: 0 0;
rel.to_x: "pos";
rel1.relative: 0 0.4;
rel2.relative: 1 0.6;
color: 52 153 255 90;
link.base: "mouse,out" "center";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "center";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,center" "e";
}
}
program { signal: "mouse,down,1"; source: "center";
action: SIGNAL_EMIT "e,bryce,add,center" "e";
}
rect { "top"; scale;
desc {
min: 32 33;
align: 0 0;
rel.to_x: "pos";
rel1.relative: 0 0;
rel2.relative: 1 0.2;
color: 52 153 255 90;
link.base: "mouse,out" "top";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "top";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,top" "e";
}
}
program { signal: "mouse,down,1"; source: "top";
action: SIGNAL_EMIT "e,bryce,add,top" "e";
}
rect { "bottom"; scale;
desc {
min: 32 33;
align: 0 1;
rel.to_x: "pos";
rel1.relative: 0 0.8;
rel2.relative: 1 1;
color: 52 153 255 90;
link.base: "mouse,out" "bottom";
link.transition: LINEAR 0.2;
}
desc { "active"; inherit;
color: 52 153 255 230;
link.base: "mouse,in" "bottom";
link.transition: LINEAR 0.2;
}
desc { "hid"; hid;
link.base: "e,bryce,exists,bottom" "e";
}
}
program { signal: "mouse,down,1"; source: "bottom";
action: SIGNAL_EMIT "e,bryce,add,bottom" "e";
}
}
inherit: "bryce_editor_text";
}
group { "e/bryce/editor/style/item"; nomouse;
parts {
rect { "highlight_t"; scale;
desc {
align: 0.5 0;
max: -1 1;
color: 255 255 255 150;
link.base: "mouse,out" "events";
}
desc { "active"; max: -1 1;
align: 0.5 0;
color: 52 153 255 230;
link.base: "mouse,in" "events";
}
}
rect { "highlight_l"; scale;
desc { align: 0 0.5;
max: 1 -1;
color: 255 255 255 150;
link.base: "mouse,out" "events";
}
desc { "active"; max: 1 -1;
align: 0 0.5;
color: 52 153 255 230;
link.base: "mouse,in" "events";
}
}
rect { "highlight_r"; scale;
desc {
align: 1 0.5;
max: 1 -1;
color: 255 255 255 150;
link.base: "mouse,out" "events";
}
desc { "active"; align: 1 0.5;
max: 1 -1;
color: 52 153 255 230;
link.base: "mouse,in" "events";
}
}
rect { "highlight_b"; scale;
desc {
align: 0.5 1;
max: -1 1;
color: 255 255 255 150;
link.base: "mouse,out" "events";
}
desc { "active"; align: 0.5 1;
max: -1 1;
color: 52 153 255 230;
link.base: "mouse,in" "events";
}
}
swallow { "e.swallow.content";
desc {
rel1.offset: 1 1;
rel2.offset: -2 -2;
}
}
text { "e.text"; scale;
effect: SHADOW BOTTOM;
desc {
color: 255 255 255 255;
text { font: "Sans:style=Bold"; size: 14;
min: 1 1;
ellipsis: -1;
}
}
}
rect { "events"; mouse;
desc { color: 0 0 0 0; }
}
}
}
group { "e/bryce/editor/style";
parts {
rect { "base"; desc { color: 0 0 0 192; } }
program { signal: "mouse,down,*"; source: "base";
action: SIGNAL_EMIT "e,action,dismiss" "e";
}
swallow { "e.swallow.content";
desc { align: 0.5 0;
rel1.to_y: "e.text";
rel1.relative: 0 1;
}
}
}
inherit: "bryce_editor_text";
parts {
text { "e.text";
desc { "default";
align: 0.5 0;
rel2.relative: 1 0;
}
}
}
}
group { "e/bryce/editor/finish"; inherit: "e/bryce/editor/style";
parts {
swallow { "e.swallow.content";
desc { "default";
rel1.relative: 1 1;
rel2.relative: 0 1;
}
}
}
}

View File

@ -6,39 +6,35 @@ group { name: "e/widgets/button";
description { state: "default" 0.0;
rel.to: "base";
WIN_SHADOW_SMALL;
color_class: "/shadow/normal/button";
}
description { state: "clicked" 0.0;
inherit;
image.border_scale_by: 0.25;
rel1.offset: -2 -1;
rel2.offset: 0 1;
offscale;
color_class: "/shadow/pressed/button";
rel1.offset: -5 -3;
rel2.offset: 4 6;
}
}
rect { "base";
scale: 1;
desc { "default";
color_class: "/bg/normal/button";
color: 51 153 255 255;
rel1.offset: 2 2;
rel2.offset: -3 -3;
offscale;
}
desc { "clicked"; inherit;
color_class: "/bg/pressed/button";
color: 255 153 51 255;
}
desc { "disabled"; inherit;
color_class: "/bg/disabled/button";
color: 64 64 64 255;
}
}
part { name: "icon_clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255; // no cc
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64; // no cc
color: 255 255 255 64;
}
}
part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
@ -62,7 +58,7 @@ group { name: "e/widgets/button";
rel2.offset: 4 -5;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
visible: 1;
min: ICMIN ICMIN;
min: 16 16;
}
description { state: "icon" 0.0;
fixed: 0 0;
@ -71,7 +67,7 @@ group { name: "e/widgets/button";
rel2.relative: 1.0 1.0;
rel2.offset: -5 -5;
visible: 1;
min: ICMIN ICMIN;
min: 16 16;
}
}
part { name: "label_clip"; type: RECT;
@ -87,7 +83,7 @@ group { name: "e/widgets/button";
clip_to: "label_clip";
description { state: "default" 0.0;
fixed: 0 0;
color_class: "/fg/normal/button";
color: 255 255 255 255;
rel1.offset: 4 4;
rel1.relative: 1.0 0.0;
rel1.to_x: "e.swallow.icon";
@ -100,11 +96,10 @@ group { name: "e/widgets/button";
ellipsis: -1;
}
offscale;
min: 0 ICMIN;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color_class: "/fg/disabled/button";
color: 96 96 96 255;
}
description { state: "combo" 0.0;
inherit: "default" 0.0;
@ -115,14 +110,28 @@ group { name: "e/widgets/button";
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/button";
color: 255 255 255 255;
}
}
part { name: "glow"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "base";
rel1.relative: 0.0 1.0;
color: 255 255 255 255;
align: 0.5 1.0;
visible: 0;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
min: 0 5;
visible: 1;
}
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
rel.to: "base";
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
@ -183,5 +192,13 @@ group { name: "e/widgets/button";
target: "icon_clip";
target: "e.text.label";
}
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "glow";
}
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "glow";
}
}
}

View File

@ -1,52 +1,50 @@
group { name: "e/widgets/check";
images.image: "check.png" COMP;
parts {
part { name: "base"; type: RECT;
scale: 1;
description { state: "default" 0.0;
color_class: "/bg/normal/check/base";
align: 0.0 0.5;
min: 13 13;
max: 13 13;
rel1.offset: 4 4;
rel2.offset: 4 -5;
rel2.relative: 0.0 1.0;
align: 0.0 0.5;
color: 0 0 0 64;
offscale;
fixed: 1 1;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color_class: "/bg/disabled/check/base";
color: 0 0 0 16;
}
}
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
rel.to: "base";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 153; // no cc
color: 153 153 153 255;
}
}
part { name: "indicator"; mouse_events: 0;
clip_to: "clip";
scale: 1;
description { state: "default" 0.0;
rel.to: "base";
image.normal: "i-check";
min: 15 15;
max: 15 15;
rel1.to: "base";
rel2.to: "base";
image.normal: "check.png";
min: 13 13;
max: 13 13;
visible: 0;
color_class: "/fg/normal/check/check";
fixed: 1 1;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/check/check";
visible: 1;
color: 160 160 160 255;
}
description { state: "selected" 0.0;
inherit: "default" 0.0;
color_class: "/fg/selected/check/check";
visible: 1;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
visible: 1;
}
}
@ -57,7 +55,7 @@ group { name: "e/widgets/check";
rel1.to_x: "base";
rel1.relative: 1.0 0.0;
rel2.offset: -5 -5;
color_class: "/fg/normal/check/text";
color: 160 160 160 255;
text { font: FN; size: 10;
min: 1 1;
ellipsis: -1;
@ -65,21 +63,20 @@ group { name: "e/widgets/check";
text_class: "check_button";
}
offscale;
min: 0 ICMIN;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color_class: "/fg/disabled/check/text";
color: 96 96 96 255;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/check/text";
color: 255 255 255 255;
}
}
part { name: "event"; type: RECT;
ignore_flags: ON_HOLD;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
@ -88,35 +85,42 @@ group { name: "e/widgets/check";
}
}
programs {
program { signal: "e,state,checked"; source: "e";
program {
signal: "e,state,checked"; source: "e";
action: STATE_SET "selected" 0.0;
target: "indicator";
}
program { signal: "e,state,unchecked"; source: "e";
program {
signal: "e,state,unchecked"; source: "e";
action: STATE_SET "default" 0.0;
target: "indicator";
}
program { signal: "mouse,down,1"; source: "event";
program {
signal: "mouse,down,1"; source: "event";
action: STATE_SET "pressed" 0.0;
// target: "indicator";
target: "e.text.label";
}
program { signal: "mouse,up,1"; source: "event";
program {
signal: "mouse,up,1"; source: "event";
action: STATE_SET "default" 0.0;
// target: "indicator";
target: "e.text.label";
}
program { signal: "mouse,clicked,1"; source: "event";
program {
signal: "mouse,clicked,1"; source: "event";
action: SIGNAL_EMIT "e,action,toggle" "";
}
program { signal: "e,state,disabled"; source: "e";
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "disabled" 0.0;
target: "base";
target: "clip";
target: "e.text.label";
target: "event";
}
program { signal: "e,state,enabled"; source: "e";
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
target: "clip";
@ -151,7 +155,7 @@ group { name: "e/widgets/check_icon";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color_class: "/fg/disabled/check/text";
color: 96 96 96 255;
}
}
}

View File

@ -1,4 +1,5 @@
group { name: "e/modules/clock/digital";
alias: "e/gadget/clock/digital";
min: 64 16;
max: 512 128;
images.image: "digit_0.png" COMP;
@ -28,19 +29,19 @@ group { name: "e/modules/clock/digital";
PART:"secs2", PART:"secs2",
PART:"ampm", PART:"ampm"
};
mul = 4;
if (get_int(do_date)) {
mul = 3;
}
for (i = 0; i < 14; i += 2) {
custom_state(parts[i], "default", 0.0);
}
v[0] = 0; v[1] = 2; v[2] = 2; v[3] = 4; // hrs
v[4] = 5; v[5] = 7; v[6] = 7; v[7] = 9; // mins
tot = 9;
dosec = get_int(do_seconds);
do24h = get_int(do_24h);
if ((dosec) && (!do24h)) { // sec + ampm
@ -78,7 +79,7 @@ group { name: "e/modules/clock/digital";
}
reset() {
new tim;
evalsize();
tim = get_int(tick_timer);
if (tim) {
@ -89,7 +90,7 @@ group { name: "e/modules/clock/digital";
}
valset(name[], v) {
new buf[20], i;
for (i = 0; i < 10; i++) {
if (i == v) {
snprintf(buf, 20, "show,%s-%i", name, i);
@ -108,7 +109,7 @@ group { name: "e/modules/clock/digital";
new year, month, day, yearday, weekday, hour, minute;
new Float:second;
new v, dosec, do24h, tim;
date(year, month, day, yearday, weekday, hour, minute, second);
dosec = get_int(do_seconds);
if (dosec) {
@ -123,11 +124,11 @@ group { name: "e/modules/clock/digital";
tim = timer(60.0 - (second), "clock_cb", 1);
}
set_int(tick_timer, tim);
// set minutes to minute
valset("m0", minute / 10);
valset("m1", minute % 10);
// set hours to hour
do24h = get_int(do_24h);
if (do24h) {
@ -136,7 +137,7 @@ group { name: "e/modules/clock/digital";
}
else {
new pm;
// if 12 or later, its pm
if (hour >= 12) {
pm = 1;
@ -252,7 +253,7 @@ group { name: "e/modules/clock/digital";
rel2.to: "mins1";
rel2.relative: 0.0 0.45;
image.normal: "digit_sep.png";
color_class: "/fg/normal/gadgets/clock/digital/separator";
color: 160 160 160 255;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
@ -263,7 +264,7 @@ group { name: "e/modules/clock/digital";
rel2.to: "mins1";
rel2.relative: 0.0 0.61;
image.normal: "digit_sep.png";
color_class: "/fg/normal/gadgets/clock/digital/separator";
color: 160 160 160 255;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
@ -275,7 +276,7 @@ group { name: "e/modules/clock/digital";
rel2.to: "secs1";
rel2.relative: 0.0 0.45;
image.normal: "digit_sep.png";
color_class: "/fg/normal/gadgets/clock/digital/separator";
color: 160 160 160 255;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
@ -287,38 +288,37 @@ group { name: "e/modules/clock/digital";
rel2.to: "secs1";
rel2.relative: 0.0 0.61;
image.normal: "digit_sep.png";
color_class: "/fg/normal/gadgets/clock/digital/separator";
color: 160 160 160 255;
aspect: 1.0 1.0; aspect_preference: BOTH;
}
}
#define ELEM(_NAME, _TO, _DIGIT, _CC) \
#define ELEM(_NAME, _TO, _DIGIT) \
part { name: _NAME; \
description { state: "default" 0.0; \
rel1.to: _TO; rel2.to: _TO; \
aspect: (52/72) (52/72); aspect_preference: BOTH; \
image.normal: "digit_"_DIGIT".png"; \
visible: 0; \
color: 255 255 255 0; /* no cc */ \
color_class: _CC; \
color: 160 160 160 0; \
} \
description { state: "active" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
color: 255 255 255 255; /* no cc */ \
color: 160 160 160 255; \
} \
}
#define DIGIT(_NAME, _TO, _CC) \
ELEM(_NAME"-0", _TO, "0", _CC) \
ELEM(_NAME"-1", _TO, "1", _CC) \
ELEM(_NAME"-2", _TO, "2", _CC) \
ELEM(_NAME"-3", _TO, "3", _CC) \
ELEM(_NAME"-4", _TO, "4", _CC) \
ELEM(_NAME"-5", _TO, "5", _CC) \
ELEM(_NAME"-6", _TO, "6", _CC) \
ELEM(_NAME"-7", _TO, "7", _CC) \
ELEM(_NAME"-8", _TO, "8", _CC) \
ELEM(_NAME"-9", _TO, "9", _CC)
#define ELEMC(_NAME, _TO, _DIGIT, _CLIP, _CC) \
#define DIGIT(_NAME, _TO) \
ELEM(_NAME"-0", _TO, "0") \
ELEM(_NAME"-1", _TO, "1") \
ELEM(_NAME"-2", _TO, "2") \
ELEM(_NAME"-3", _TO, "3") \
ELEM(_NAME"-4", _TO, "4") \
ELEM(_NAME"-5", _TO, "5") \
ELEM(_NAME"-6", _TO, "6") \
ELEM(_NAME"-7", _TO, "7") \
ELEM(_NAME"-8", _TO, "8") \
ELEM(_NAME"-9", _TO, "9")
#define ELEMC(_NAME, _TO, _DIGIT, _CLIP) \
part { name: _NAME; \
clip_to: _CLIP; \
description { state: "default" 0.0; \
@ -326,51 +326,47 @@ group { name: "e/modules/clock/digital";
aspect: (52/72) (52/72); aspect_preference: BOTH; \
image.normal: "digit_"_DIGIT".png"; \
visible: 0; \
color: 255 255 255 0; /* no cc */ \
color_class: _CC; \
color: 160 160 160 0; \
} \
description { state: "active" 0.0; \
inherit: "default" 0.0; \
visible: 1; \
color: 255 255 255 255; /* no cc */ \
color: 160 160 160 255; \
} \
}
#define DIGITC(_NAME, _TO, _CLIP, _CC) \
ELEMC(_NAME"-0", _TO, "0", _CLIP, _CC) \
ELEMC(_NAME"-1", _TO, "1", _CLIP, _CC) \
ELEMC(_NAME"-2", _TO, "2", _CLIP, _CC) \
ELEMC(_NAME"-3", _TO, "3", _CLIP, _CC) \
ELEMC(_NAME"-4", _TO, "4", _CLIP, _CC) \
ELEMC(_NAME"-5", _TO, "5", _CLIP, _CC) \
ELEMC(_NAME"-6", _TO, "6", _CLIP, _CC) \
ELEMC(_NAME"-7", _TO, "7", _CLIP, _CC) \
ELEMC(_NAME"-8", _TO, "8", _CLIP, _CC) \
ELEMC(_NAME"-9", _TO, "9", _CLIP, _CC)
#define TAG(_NAME, _TO, _CLIP, _CC) \
#define DIGITC(_NAME, _TO, _CLIP) \
ELEMC(_NAME"-0", _TO, "0", _CLIP) \
ELEMC(_NAME"-1", _TO, "1", _CLIP) \
ELEMC(_NAME"-2", _TO, "2", _CLIP) \
ELEMC(_NAME"-3", _TO, "3", _CLIP) \
ELEMC(_NAME"-4", _TO, "4", _CLIP) \
ELEMC(_NAME"-5", _TO, "5", _CLIP) \
ELEMC(_NAME"-6", _TO, "6", _CLIP) \
ELEMC(_NAME"-7", _TO, "7", _CLIP) \
ELEMC(_NAME"-8", _TO, "8", _CLIP) \
ELEMC(_NAME"-9", _TO, "9", _CLIP)
#define TAG(_NAME, _TO, _CLIP) \
part { name: _NAME; \
clip_to: _CLIP; \
description { state: "default" 0.0; \
rel1.to: _TO; rel2.to: _TO; \
aspect: (48/31) (48/31); aspect_preference: BOTH; \
image.normal: "digit_am.png"; \
color_class: _CC; \
color: 160 160 160 255; \
} \
description { state: "active" 0.0; \
inherit: "default" 0.0; \
image.normal: "digit_pm.png"; \
} \
}
// color_class: "/fg/normal/gadgets/clock/time/digital/hours";
// color_class: "/fg/normal/gadgets/clock/time/digital/mins";
// color_class: "/fg/normal/gadgets/clock/time/digital/secs";
// color_class: "/fg/normal/gadgets/clock/time/digital/ampm";
DIGIT ("h0", "hours1", "/fg/normal/gadgets/clock/time/digital/hours")
DIGIT ("h1", "hours2", "/fg/normal/gadgets/clock/time/digital/hours")
DIGIT ("m0", "mins1", "/fg/normal/gadgets/clock/time/digital/mins")
DIGIT ("m1", "mins2", "/fg/normal/gadgets/clock/time/digital/mins")
DIGITC("s0", "secs1", "secclip", "/fg/normal/gadgets/clock/time/digital/secs")
DIGITC("s1", "secs2", "secclip", "/fg/normal/gadgets/clock/time/digital/secs")
TAG("ap", "ampm", "ampmclip", "/fg/normal/gadgets/clock/time/digital/ampm")
DIGIT ("h0", "hours1")
DIGIT ("h1", "hours2")
DIGIT ("m0", "mins1")
DIGIT ("m1", "mins2")
DIGITC("s0", "secs1", "secclip")
DIGITC("s1", "secs2", "secclip")
TAG("ap", "ampm", "ampmclip")
#undef TAG
#undef TAG
#undef ELEM
@ -385,7 +381,7 @@ group { name: "e/modules/clock/digital";
rel1.offset: 0 1;
rel2.offset: -1 -1;
align: 0.5 1.0;
color_class: "/fg/normal/gadgets/clock/time/text/date";
color: 160 160 160 255;
text { font: FN; size: 8;
text_class: "module_small";
align: 0.5 0.5;
@ -398,23 +394,25 @@ group { name: "e/modules/clock/digital";
inherit: "default" 0.0;
visible: 1;
fixed: 1 1;
text.min: 0 1;
text.ellipsis: 0;
text.min: 1 1;
text.ellipsis: -1;
}
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}
programs {
program { signal: "load"; source: "";
program {
signal: "load"; source: "";
script {
reset();
}
}
program { signal: "e,state,date,on"; source: "e";
program {
signal: "e,state,date,on"; source: "e";
script {
set_int(do_date, 1);
set_state(PART:"timearea", "date", 0.0);
@ -422,7 +420,8 @@ group { name: "e/modules/clock/digital";
reset();
}
}
program { signal: "e,state,date,off"; source: "e";
program {
signal: "e,state,date,off"; source: "e";
script {
set_int(do_date, 0);
set_state(PART:"timearea", "default", 0.0);
@ -430,28 +429,32 @@ group { name: "e/modules/clock/digital";
reset();
}
}
program { signal: "e,state,seconds,on"; source: "e";
program {
signal: "e,state,seconds,on"; source: "e";
script {
set_int(do_seconds, 1);
set_state(PART:"secclip", "default", 0.0);
reset();
}
}
program { signal: "e,state,seconds,off"; source: "e";
program {
signal: "e,state,seconds,off"; source: "e";
script {
set_int(do_seconds, 0);
set_state(PART:"secclip", "hidden", 0.0);
reset();
}
}
program { signal: "e,state,24h,on"; source: "e";
program {
signal: "e,state,24h,on"; source: "e";
script {
set_int(do_24h, 1);
set_state(PART:"ampmclip", "hidden", 0.0);
reset();
}
}
program { signal: "e,state,24h,off"; source: "e";
program {
signal: "e,state,24h,off"; source: "e";
script {
set_int(do_24h, 0);
set_state(PART:"ampmclip", "default", 0.0);
@ -459,11 +462,13 @@ group { name: "e/modules/clock/digital";
}
}
#define DIGPRG(_NAME) \
program { signal: "show,"_NAME; source: "c"; \
program { \
signal: "show,"_NAME; source: "c"; \
action: STATE_SET "active" 0.0; \
target: _NAME; \
} \
program { signal: "hide,"_NAME; source: "c"; \
program { \
signal: "hide,"_NAME; source: "c"; \
action: STATE_SET "default" 0.0; \
transition: DECELERATE 0.1; \
target: _NAME; \
@ -488,57 +493,29 @@ group { name: "e/modules/clock/digital";
DIGPRGS("s1")
#undef DIGPRG
#undef DIGPRGS
program { signal: "e,state,freeze"; source: "e";
script {
new tim;
tim = get_int(tick_timer);
if (tim) {
cancel_timer(tim);
set_int(tick_timer, 0);
}
}
}
program { signal: "e,state,thaw"; source: "e";
script {
new tim;
tim = get_int(tick_timer);
if (tim) {
cancel_timer(tim);
set_int(tick_timer, 0);
}
clock_cb(0);
}
}
}
}
group { name: "e/modules/clock/main";
set { name: "clock_base";
image { image: "clock_base-160.png" COMP; size: 81 81 99999 99999; }
image { image: "clock_base-080.png" COMP; size: 41 41 80 80; }
image { image: "clock_base-040.png" COMP; size: 0 0 40 40; }
alias: "e/gadget/clock/analog";
images.image: "clock_base.png" COMP;
set { name: "tacho_hand_big";
image { image: "tacho_hand_big.png" COMP; size: 73 73 99999 99999; }
image { image: "tacho_hand_big2.png" COMP; size: 37 37 72 72; }
image { image: "tacho_hand_big3.png" COMP; size: 19 19 36 36; }
image { image: "tacho_hand_big4.png" COMP; size: 0 0 18 18; }
}
set { name: "clock_base_digits";
image { image: "clock_base_digits-160.png" COMP; size: 81 81 99999 99999; }
image { image: "clock_base_digits-080.png" COMP; size: 41 41 80 80; }
image { image: "clock_base_digits-040.png" COMP; size: 0 0 40 40; }
set { name: "tacho_hand_small_min";
image { image: "tacho_hand_small_min.png" COMP; size: 73 73 99999 99999; }
image { image: "tacho_hand_small_min2.png" COMP; size: 37 37 72 72; }
image { image: "tacho_hand_small_min3.png" COMP; size: 19 19 36 36; }
image { image: "tacho_hand_small_min4.png" COMP; size: 0 0 18 18; }
}
set { name: "clock_hand_secs";
image { image: "clock_hand_secs-160.png" COMP; size: 81 81 99999 99999; }
image { image: "clock_hand_secs-080.png" COMP; size: 41 41 80 80; }
image { image: "clock_hand_secs-040.png" COMP; size: 0 0 40 40; }
}
set { name: "clock_hand_mins";
image { image: "clock_hand_mins-160.png" COMP; size: 81 81 99999 99999; }
image { image: "clock_hand_mins-080.png" COMP; size: 41 41 80 80; }
image { image: "clock_hand_mins-040.png" COMP; size: 0 0 40 40; }
}
set { name: "clock_hand_hours";
image { image: "clock_hand_hours-160.png" COMP; size: 81 81 99999 99999; }
image { image: "clock_hand_hours-080.png" COMP; size: 41 41 80 80; }
image { image: "clock_hand_hours-040.png" COMP; size: 0 0 40 40; }
set { name: "tacho_hand_small_sec";
image { image: "tacho_hand_small_sec.png" COMP; size: 73 73 99999 99999; }
image { image: "tacho_hand_small_sec2.png" COMP; size: 37 37 72 72; }
image { image: "tacho_hand_small_sec3.png" COMP; size: 19 19 36 36; }
image { image: "tacho_hand_small_sec4.png" COMP; size: 0 0 18 18; }
}
min: 16 16;
max: 160 160;
@ -577,24 +554,20 @@ group { name: "e/modules/clock/main";
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
rel1.relative: (25/380) (25/380);
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "clock_base";
color_class: "/bg/normal/gadgets/clock/analog/base";
}
}
part { name: "digits"; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "base";
image.normal: "clock_base_digits";
color_class: "/fg/normal/gadgets/clock/analog/digits";
image.normal: "clock_base.png";
}
}
part { name: "seconds"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "clock_hand_secs";
color_class: "/fg/normal/gadgets/clock/analog/hands/secs";
rel.to: "base";
map { on: 1;
image.normal: "tacho_hand_small_sec";
color: 255 0 0 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
@ -604,38 +577,44 @@ group { name: "e/modules/clock/main";
}
}
part { name: "minutes"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "clock_hand_mins";
color_class: "/fg/normal/gadgets/clock/analog/hands/mins";
rel.to: "base";
map { on: 1;
description { state: "default" 0.0000;
color: 255 255 255 255;
image.normal: "tacho_hand_big";
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "hours"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "clock_hand_hours";
color_class: "/fg/normal/gadgets/clock/analog/hands/hours";
rel.to: "base";
map { on: 1;
image.normal: "tacho_hand_small_min";
color: 255 255 255 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}
programs {
program { signal: "load"; source: "";
program {
signal: "load"; source: "";
script {
clock_cb(0);
}
}
program { signal: "e,state,seconds,on"; source: "e";
program {
signal: "e,state,seconds,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "seconds";
after: "sec2";
@ -653,7 +632,8 @@ group { name: "e/modules/clock/main";
clock_cb(0);
}
}
program { signal: "e,state,seconds,off"; source: "e";
program {
signal: "e,state,seconds,off"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "seconds";
after: "sec3";
@ -671,38 +651,16 @@ group { name: "e/modules/clock/main";
clock_cb(0);
}
}
program { signal: "e,state,freeze"; source: "e";
script {
new tim;
tim = get_int(tick_timer);
if (tim) {
cancel_timer(tim);
set_int(tick_timer, 0);
}
}
}
program { signal: "e,state,thaw"; source: "e";
script {
new tim;
tim = get_int(tick_timer);
if (tim) {
cancel_timer(tim);
set_int(tick_timer, 0);
}
clock_cb(0);
}
}
}
}
group { name: "e/modules/clock/calendar/dayname";
alias: "e/gadget/clock/calendar/dayname";
parts {
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/name/week";
color: 160 160 160 255;
text { font: FN; size: 8;
text: "WWe";
min: 1 1;
@ -713,16 +671,18 @@ group { name: "e/modules/clock/calendar/dayname";
}
description { state: "weekend" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/name/weekend";
color: 51 153 255 255;
}
}
}
programs {
program { signal: "e,state,weekend"; source: "e";
program {
signal: "e,state,weekend"; source: "e";
action: STATE_SET "weekend" 0.0;
target: "e.text.label";
}
program { signal: "e,state,weekday"; source: "e";
program {
signal: "e,state,weekday"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.label";
}
@ -730,59 +690,55 @@ group { name: "e/modules/clock/calendar/dayname";
}
group { name: "e/modules/clock/calendar/day";
alias: "e/gadget/clock/calendar/day";
script {
public day_state = 0;
evalstate() {
new vv = get_int(day_state);
if (vv & 2) {
set_state(PART:"e.text.label", "today", 0.0);
set_state(PART:"label2", "today", 0.0);
set_state(PART:"base", "today", 0.0);
} else if (vv & 4) {
set_state(PART:"e.text.label", "hidden", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
} else if (vv & 1) {
set_state(PART:"e.text.label", "weekend", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
} else {
set_state(PART:"e.text.label", "default", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
}
if (vv & 2)
{
set_state(PART:"e.text.label", "today", 0.0);
set_state(PART:"label2", "today", 0.0);
set_state(PART:"base", "today", 0.0);
}
else if (vv & 4)
{
set_state(PART:"e.text.label", "hidden", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
}
else if (vv & 1)
{
set_state(PART:"e.text.label", "weekend", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
}
else
{
set_state(PART:"e.text.label", "default", 0.0);
set_state(PART:"label2", "default", 0.0);
set_state(PART:"base", "default", 0.0);
}
}
}
parts {
part { name: "base"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color_class: "/bg/normal/gadgets/clock/cal/day/date/normal";
color: 0 0 0 64;
visible: 0;
}
description { state: "today" 0.0;
inherit: "default" 0.0;
color_class: "/bg/normal/gadgets/clock/cal/day/date/today";
visible: 1;
}
description { state: "weekend" 0.0;
inherit: "default" 0.0;
color_class: "/bg/normal/gadgets/clock/cal/day/date/weekend";
visible: 1;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
color_class: "/bg/normal/gadgets/clock/cal/day/date/hidden";
visible: 1;
}
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/date/normal";
color: 160 160 160 255;
rel1.offset: 3 3;
rel2.offset: -4 -4;
offscale;
text { font: FN; size: 10;
text: "00";
min: 1 1;
@ -792,23 +748,23 @@ group { name: "e/modules/clock/calendar/day";
}
description { state: "today" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/date/today";
visible: 0;
}
description { state: "weekend" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/date/weekend";
color: 51 153 255 255;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/date/faded";
color: 40 40 40 255;
}
}
part { name: "label2"; type: TEXT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/day/date/today";
rel.to: "e.text.label";
color: 255 255 255 255;
rel1.to: "e.text.label";
rel2.to: "e.text.label";
text { font: FN; size: 10;
text_source: "e.text.label";
min: 1 1;
@ -824,14 +780,16 @@ group { name: "e/modules/clock/calendar/day";
}
}
programs {
program { signal: "e,state,weekend"; source: "e";
program {
signal: "e,state,weekend"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv | 1);
evalstate();
}
}
program { signal: "e,state,weekday"; source: "e";
program {
signal: "e,state,weekday"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv & (~1));
@ -839,14 +797,16 @@ group { name: "e/modules/clock/calendar/day";
}
}
program { signal: "e,state,today"; source: "e";
program {
signal: "e,state,today"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv | 2);
evalstate();
}
}
program { signal: "e,state,someday"; source: "e";
program {
signal: "e,state,someday"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv & (~2));
@ -854,14 +814,16 @@ group { name: "e/modules/clock/calendar/day";
}
}
program { signal: "e,state,hidden"; source: "e";
program {
signal: "e,state,hidden"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv | 4);
evalstate();
}
}
program { signal: "e,state,visible"; source: "e";
program {
signal: "e,state,visible"; source: "e";
script {
new vv = get_int(day_state);
set_int(day_state, vv & (~4));
@ -872,6 +834,9 @@ group { name: "e/modules/clock/calendar/day";
}
group { name: "e/modules/clock/calendar";
alias: "e/gadget/clock/calendar";
images.image: "calendar_prev.png" COMP;
images.image: "calendar_next.png" COMP;
parts {
part { name: "e.text.month"; type: TEXT;
mouse_events: 1;
@ -883,7 +848,7 @@ group { name: "e/modules/clock/calendar";
rel1.relative: 1.0 0.0;
rel1.offset: 4 0;
rel2.relative: 1.0 0.0;
color_class: "/fg/normal/gadgets/clock/cal/month";
color: 160 160 160 255;
text { font: FNBD; size: 10;
text: "000000000000";
align: 0.0 0.5;
@ -901,7 +866,7 @@ group { name: "e/modules/clock/calendar";
rel2.to_x: "next";
rel2.offset: -5 -1;
rel2.relative: 0.0 0.0;
color_class: "/fg/normal/gadgets/clock/cal/year";
color: 160 160 160 255;
text { font: FNBD; size: 10;
text: "0000";
align: 1.0 0.5;
@ -911,82 +876,86 @@ group { name: "e/modules/clock/calendar";
}
}
part { name: "previm"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
max: 15 15;
rel.to: "prev";
image.normal: "i-arrow-l";
color_class: "/fg/normal/gadgets/clock/cal/prev";
image.normal: "calendar_prev.png";
color: 160 160 160 255;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/gadgets/clock/cal/prev";
color: 255 255 255 255;
}
}
part { name: "prev"; type: RECT;
description { state: "default" 0.0;
align: 0.0 0.5;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.to_y: "e.text.month";
rel1.relative: 0.0 0.0;
rel2.to_y: "e.text.month";
rel2.relative: 0.0 1.0;
}
program { signal: "mouse,down,1*"; source: "prev";
program { name: "prev_down";
signal: "mouse,down,1*"; source: "prev";
action: STATE_SET "pressed" 0.0;
target: "previm";
}
program { signal: "mouse,up,1"; source: "prev";
program { name: "prev_up";
signal: "mouse,up,1"; source: "prev";
action: STATE_SET "default" 0.0;
target: "previm";
}
program { signal: "mouse,clicked,1*"; source: "prev";
program { name: "prev_clicked";
signal: "mouse,clicked,1*"; source: "prev";
action: SIGNAL_EMIT "e,action,prev" "";
}
}
part { name: "nextim"; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
fixed: 1 1;
min: 15 15;
max: 15 15;
rel.to: "next";
image.normal: "i-arrow-r";
color_class: "/fg/normal/gadgets/clock/cal/next";
image.normal: "calendar_next.png";
color: 160 160 160 255;
}
description { state: "pressed" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/gadgets/clock/cal/next";
color: 255 255 255 255;
}
}
part { name: "next"; type: RECT;
description { state: "default" 0.0;
align: 1.0 0.5;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
aspect: 1.0 1.0; aspect_preference: VERTICAL;
rel1.to_y: "e.text.month";
rel1.relative: 1.0 0.0;
rel2.to_y: "e.text.month";
rel2.relative: 1.0 1.0;
}
program { signal: "mouse,down,1"; source: "next";
program { name: "next_down";
signal: "mouse,down,1"; source: "next";
action: STATE_SET "pressed" 0.0;
target: "nextim";
}
program { signal: "mouse,up,1"; source: "next";
program { name: "next_up";
signal: "mouse,up,1"; source: "next";
action: STATE_SET "default" 0.0;
target: "nextim";
}
program { signal: "mouse,clicked,1"; source: "next";
program { name: "next_clicked";
signal: "mouse,clicked,1"; source: "next";
action: SIGNAL_EMIT "e,action,next" "";
}
}
part { name: "sep"; type: RECT;
description { state: "default" 0.0;
color_class: "/fg/normal/gadgets/clock/cal/daydate-sep";
color: 80 80 80 255;
rel1.relative: 0.0 1.0;
rel1.offset: 8 0;
rel1.to: "e.table.daynames";
@ -1031,13 +1000,11 @@ item { \
}
}
part { name: "e.table.days"; type: TABLE;
scale: 1;
description { state: "default" 0.0;
rel1.to_y: "e.table.daynames";
rel1.relative: 0.0 1.0;
rel1.offset: 8 16;
rel2.offset: -9 -9;
offscale;
step: 7 5;
table { homogeneous: TABLE;
padding: 1 1;

View File

@ -6,7 +6,7 @@ group { name: "e/modules/conf_colors/preview/solid";
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color_class: "/bg-dark/normal/color";
color: DARK_GREY_BG_COLOR;
min: 18 18;
offscale;
}
@ -18,13 +18,14 @@ group { name: "e/modules/conf_colors/preview/solid";
rel1.offset: 2 2;
rel2.offset: -3 -3;
image.normal: "diagonal_stripes.png";
color_class: "/bg-dark-alt/normal/color";
color: 255 255 255 64;
TILED_PATTERN(240, 240)
offscale;
}
}
part { name: "e.rect"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 255 255 255;
color_class: "color_preview";
rel.to: "pat";
}
@ -35,7 +36,9 @@ group { name: "e/modules/conf_colors/preview/solid";
group { name: "e/modules/conf_colors/preview/text";
parts {
part { name: "e.text"; type: TEXT; mouse_events: 0;
effect: OUTLINE_SHADOW;
description { state: "default" 0.0;
color: FN_COL_OUTLINE_SHADOW;
color_class: "color_preview";
text { font: FNBD; size: 16;
text: "Ab";
@ -55,7 +58,7 @@ group { name: "e/modules/conf_colors/preview/unknown";
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color_class: "/bg-dark/normal/color";
color: DARK_GREY_BG_COLOR;
min: 18 18;
offscale;
}
@ -67,22 +70,23 @@ group { name: "e/modules/conf_colors/preview/unknown";
rel1.offset: 2 2;
rel2.offset: -3 -3;
image.normal: "diagonal_stripes.png";
color_class: "/bg-dark-alt/normal/color";
color: 255 255 255 64;
TILED_PATTERN(240, 240)
offscale;
}
}
part { name: "c1"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 255 0 0 128; // no cc
color: 255 0 0 128;
color_class: "color_preview_c1";
rel.to: "pat";
rel1.to: "pat";
rel2.to: "pat";
rel2.relative: 0.333 1.0;
}
}
part { name: "c2"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 255 0 128; // no cc
color: 0 255 0 128;
color_class: "color_preview_c2";
rel1.to: "c1";
rel1.relative: 1.0 0.0;
@ -92,7 +96,7 @@ group { name: "e/modules/conf_colors/preview/unknown";
}
part { name: "c3"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 255 128; // no cc
color: 0 0 255 128;
color_class: "color_preview_c3";
rel1.to: "c2";
rel1.relative: 1.0 0.0;

View File

@ -6,7 +6,7 @@ group { name: "e/widgets/color_well";
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color_class: "/bg-dark/normal/color";
color: DARK_GREY_BG_COLOR;
min: 18 18;
offscale;
}
@ -18,8 +18,9 @@ group { name: "e/widgets/color_well";
rel.to: "bg";
rel1.offset: 2 2;
rel2.offset: -3 -3;
image.normal: "diagonal_stripes.png";
color_class: "/bg-dark-alt/normal/color";
image.normal:
"diagonal_stripes.png";
color: 255 255 255 64;
TILED_PATTERN(240, 240)
offscale;
}
@ -30,7 +31,7 @@ group { name: "e/widgets/color_well";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64; // no cc
color: 255 255 255 64;
}
}
part { name: "e.swallow.content"; type: SWALLOW; mouse_events: 0;

View File

@ -6,8 +6,9 @@ group { name: "e/comp/preview";
}
part { name: "e.text.label"; type: TEXT; mouse_events: 0;
scale: 1;
effect: SHADOW BOTTOM;
description { state: "default" 0.0;
color_class: "/fg/normal/comp/preview/text";
color: FN_COL_DEFAULT;
text { font: FNBD; size: 10;
text_class: "fileman_icon";
align: 0.5 0.5;
@ -38,7 +39,6 @@ group { name: "e/comp/screen/base/default";
group { name: "e/comp/screen/overlay/default";
alias: "e/comp/screen/overlay/noeffects"; // legacy
images.image: "screen_circular_shadow.png" COMP;
data.item: "restarted" "on";
parts {
part { name: "clip"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
@ -51,135 +51,135 @@ group { name: "e/comp/screen/overlay/default";
rel2.relative: 2.0 2.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "blanker"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
color: 0 0 0 255; // no cc
color: 0 0 0 255;
visible: 1;
}
}
part { name: "suspender"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
color: 0 0 0 255; // no cc
color: 0 0 0 255;
visible: 1;
}
}
}
programs {
program { signal: "e,state,screensaver,on"; source: "e";
program {
name: "screensaver_on";
signal: "e,state,screensaver,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 3.0 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 3.0 CURRENT;
target: "blanker";
sequence {
action: SIGNAL_EMIT "e,state,screensaver,active" "e";
}
}
program { signal: "e,state,screensaver,on"; source: "e";
program {
name: "screensaver_on2";
signal: "e,state,screensaver,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 3.0 USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE 3.0 CURRENT;
target: "shadow";
}
program { signal: "e,state,screensaver,off"; source: "e";
program {
name: "screensaver_off";
signal: "e,state,screensaver,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "blanker";
}
program { signal: "e,state,screensaver,off"; source: "e";
program {
name: "screensaver_off2";
signal: "e,state,screensaver,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "shadow";
}
program { signal: "e,state,sys,suspend"; source: "e";
program {
name: "suspend";
signal: "e,state,sys,suspend"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,suspend,done" "e";
}
}
program { signal: "e,state,sys,hibernate"; source: "e";
program {
name: "hibernate";
signal: "e,state,sys,hibernate"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,hibernate,done" "e";
}
}
program { signal: "e,state,sys,resume"; source: "e";
program {
name: "resume";
signal: "e,state,sys,resume"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE 0.5 CURRENT;
target: "suspender";
}
program { signal: "e,state,sys,reboot"; source: "e";
program {
name: "reboot";
signal: "e,state,sys,reboot"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,reboot,done" "e";
}
}
program { signal: "e,state,sys,halt"; source: "e";
program {
name: "halt";
signal: "e,state,sys,halt"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,halt,done" "e";
}
}
program { signal: "e,state,sys,logout"; source: "e";
program {
name: "logout";
signal: "e,state,sys,logout"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE 0.5 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,logout,done" "e";
}
}
program { signal: "e,state,sys,restart"; source: "e";
action: STATE_SET "visible" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,restart,done" "e";
}
}
program { signal: "e,state,sys,restarted"; source: "e";
action: STATE_SET "visible" 0.0;
target: "suspender";
}
program { signal: "e,state,sys,restarted,show"; source: "e";
action: STATE_SET "default" 0.0;
transition: ACCELERATE 0.5 USE_DURATION_FACTOR 1 CURRENT;
target: "suspender";
sequence {
action: SIGNAL_EMIT "e,state,sys,restarted,show,done" "e";
}
}
}
}
group { name: "e/comp/frame/default";
alias: "e/comp/frame/default/fast"; // legacy
images.image: "win_shad_flat.png" COMP;
images.image: "win_shadow.png" COMP;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT) && (id == 0)) {
@ -212,37 +212,26 @@ group { name: "e/comp/frame/default";
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "shadow"; type: RECT;
part { name: "shadow"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel.to: "clipper";
rel.to: "e.swallow.content";
WIN_SHADOW;
}
description { state: "hidden" 0.0;
inherit;
visible: 0;
}
}
part { name: "focus-shadow"; type: RECT;
clip_to: "shadow";
description { state: "default" 0.0;
rel.to: "clipper";
color_class: "/shadow/normal/comp/win";
}
description { state: "focused" 0.0;
inherit;
color_class: "/shadow/selected/comp/win";
}
}
WIN_SHAD("e.swallow.content", "focus-shadow", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
part { name: "shower"; type: SPACER;
description { state: "default" 0.0;
rel1.relative: 0.05 0.05;
@ -259,12 +248,12 @@ group { name: "e/comp/frame/default";
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
color_class: "comp_focus-out_color";
rel.to: "clipper";
color_class: "/bg/normal/comp/win";
}
description { state: "focused" 0.0;
inherit;
color_class: "/bg/selected/comp/win";
color_class: "comp_focus_color";
}
}
part { name: "e.swallow.content"; type: SWALLOW;
@ -276,65 +265,84 @@ group { name: "e/comp/frame/default";
spacer { "gspacer";
desc {
rel.to: "e.swallow.content";
rel1.offset: -5 -5;
rel2.offset: 4 4;
rel1.offset: -5 -5;
rel2.offset: 4 4;
}
}
}
programs {
program { signal: "e,state,shadow,on"; source: "e";
program {
signal: "e,state,shadow,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "shadow";
}
program { signal: "e,state,shadow,off"; source: "e";
program {
signal: "e,state,shadow,off"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "shadow";
}
program { name: "visible_on";
program {
name: "visible_on";
signal: "e,state,visible"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.15 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.15;
targets: "clipper" "shower";
sequence {
action: SIGNAL_EMIT "e,action,show,done" "e";
}
}
program { signal: "e,state,visible"; source: "e";
program {
signal: "e,state,visible"; source: "e";
action: ACTION_STOP;
target: "visible_off";
}
program { signal: "e,state,hidden"; source: "e";
program {
signal: "e,state,hidden"; source: "e";
action: ACTION_STOP;
target: "visible_on";
}
program { name: "visible_off";
program {
name: "visible_off";
signal: "e,state,hidden"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.30 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.30;
targets: "clipper" "shower";
sequence {
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
}
program { signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
targets: "focus-clipper" "focus-shadow";
}
program { signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
targets: "focus-clipper" "focus-shadow";
}
/*
program {
name: "focus_on";
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
targets: "glow" "focus-clipper";
sequence {
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
target: "glow";
}
}
program {
name: "focus_off";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
target: "focus-clipper";
sequence {
action: STATE_SET "default" 0.0;
target: "glow";
}
}
program { name: "urgent1";
signal: "e,state,urgent"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.3;
target: "glow";
sequence {
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent1";
}
@ -342,7 +350,7 @@ group { name: "e/comp/frame/default";
program {
signal: "e,state,not_urgent"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.6 CURRENT;
target: "glow";
}
program { signal: "e,state,focus,disabled"; source: "e";
@ -384,15 +392,17 @@ group { name: "e/comp/frame/rotate";
}
}
programs {
program { signal: "e,state,focused"; source: "e";
program { name: "focus3";
signal: "e,state,focused"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
transition: LINEAR 0.3;
}
program { signal: "e,state,unfocused"; source: "e";
program { name: "focus_off3";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "focus-out" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
transition: LINEAR 0.3;
}
}
}
@ -426,9 +436,11 @@ group { name: "e/comp/frame/flip";
group { name: "e/comp/frame/popup";
alias: "e/comp/frame/popup/fast"; // legacy
inherit: "e/comp/frame/default";
images.image: "win_shadow.png" COMP;
parts {
part { name: "focus-clipper";
description { state: "default";
color_class: "";
}
}
}
@ -442,10 +454,12 @@ group { name: "e/comp/frame/none";
}
}
programs {
program { signal: "e,state,visible"; source: "e";
program {
signal: "e,state,visible"; source: "e";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program { signal: "e,state,hidden"; source: "e";
program {
signal: "e,state,hidden"; source: "e";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
}
@ -467,14 +481,13 @@ group { name: "e/comp/frame/still";
group { name: "e/comp/frame/menu";
alias: "e/comp/frame/menu/fast"; // legacy
inherit: "e/comp/frame/popup";
images.image: "win_shad_angle.png" COMP;
images.image: "win_menu_shadow.png" COMP;
parts {
part { name: "focus-shadow"; type: RECT;
part { name: "shadow";
description { state: "default" 0.0;
color_class: "/shadow/selected/comp/win";
WIN_MENU_SHADOW;
}
}
WIN_SHAD("e.swallow.content", "focus-shadow", "win_shad_angle.png", 21, 21, 14, 28, 0.5)
part { name: "shower";
description { state: "default" 0.0;
rel1.relative: 0.05 0.0;
@ -513,17 +526,17 @@ group { name: "e/comp/frame/fullscreen";
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
@ -538,25 +551,25 @@ group { name: "e/comp/frame/fullscreen";
rel2.relative: 2.0 2.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
color: 0 0 0 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 0 0 0 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "scr_shade"; type: RECT; mouse_events: 0;
part { name: "scr_shade"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit;
color: 0 0 0 255; // no cc
color: 0 0 0 255;
visible: 1;
}
}
@ -581,68 +594,76 @@ group { name: "e/comp/frame/fullscreen";
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "clipper";
description { state: "default" 0.0;
rel.to: "shower";
rel1.to: "shower";
rel2.to: "shower";
}
}
part { name: "fader"; type: RECT; mouse_events: 0;
part { name: "fader"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.swallow.content";
color: 255 255 255 0; // no cc
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
}
}
programs {
program { name: "visible_on";
program {
name: "visible_on";
signal: "e,state,visible"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.25;
targets: "scr_shadow" "scr_shade";
}
program { name: "visible_on2";
program {
name: "visible_on2";
signal: "e,state,visible"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.05;
targets: "clipper" "shower" "fader";
sequence {
action: STATE_SET "visible2" 0.0;
transition: DECELERATE 0.20 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.20;
targets: "clipper" "shower" "fader";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
}
program { signal: "e,state,visible"; source: "e";
program {
signal: "e,state,visible"; source: "e";
action: ACTION_STOP;
targets: "visible_off" "visible_off2";
}
program { signal: "e,state,hidden"; source: "e";
program {
signal: "e,state,hidden"; source: "e";
action: ACTION_STOP;
targets: "visible_on" "visible_on2";
}
program { name: "visible_off";
program {
name: "visible_off";
signal: "e,state,hidden"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.25;
targets: "scr_shadow" "scr_shade";
}
program { name: "visible_off2";
program {
name: "visible_off2";
signal: "e,state,hidden"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.2;
targets: "clipper" "shower" "fader";
sequence {
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.05;
targets: "clipper" "shower" "fader";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}

View File

@ -1,6 +1,6 @@
group { name: "e/comp/border/default";
alias: "e/comp/border/default/fast"; // legacy
images.image: "win_shad_flat.png" COMP;
images.image: "win_shadow.png" COMP;
parts {
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
@ -8,37 +8,27 @@ group { name: "e/comp/border/default";
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "shadow"; type: RECT; mouse_events: 0;
part { name: "shadow"; mouse_events: 0;
clip_to: "clipper";
description { state: "default" 0.0;
rel.to: "clipper";
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
WIN_SHADOW;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
visible: 0;
}
}
part { name: "focus-shadow"; type: RECT;
clip_to: "shadow";
description { state: "default" 0.0;
rel.to: "clipper";
color_class: "/shadow/normal/comp/win";
}
description { state: "focused" 0.0;
inherit;
color_class: "/shadow/selected/comp/win";
}
}
WIN_SHAD("e.swallow.content", "focus-shadow", "win_shad_flat.png", 21, 21, 14, 28, 0.5)
part { name: "shower"; type: SPACER;
description { state: "default" 0.0;
rel1.relative: 0.05 0.05;
@ -50,44 +40,55 @@ group { name: "e/comp/border/default";
rel2.relative: 1.0 1.0;
}
}
part { name: "trans-clipper"; type: RECT;
part { name: "trans-clipper";
type: RECT;
clip_to: "clipper";
mouse_events: 0;
description { state: "default" 0.0;
rel.to: "clipper";
color_class: "comp_alpha";
rel1.to: "clipper";
rel2.to: "clipper";
}
}
part { name: "focus-clipper"; type: RECT;
part { name: "focus-clipper";
type: RECT;
clip_to: "trans-clipper";
mouse_events: 0;
description { state: "default" 0.0;
rel.to: "clipper";
color_class: "/bg/normal/comp/win";
color_class: "comp_focus-out_color";
rel1.to: "clipper";
rel2.to: "clipper";
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "/bg/selected/comp/win";
color_class: "";
color: 255 255 255 255;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
clip_to: "focus-clipper";
description { state: "default" 0.0;
rel.to: "shower";
rel1.to: "shower";
rel2.to: "shower";
}
}
}
programs {
program { signal: "e,state,shadow,on"; source: "e";
program {
signal: "e,state,shadow,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "shadow";
}
program { signal: "e,state,shadow,off"; source: "e";
program {
signal: "e,state,shadow,off"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "shadow";
}
program { signal: "e,state,visible,on"; source: "e";
program {
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.15 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.15;
target: "clipper";
target: "shower";
after: "show2";
@ -95,9 +96,11 @@ group { name: "e/comp/border/default";
program { name: "show2";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program { signal: "e,state,visible,off"; source: "e";
program {
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.30 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.30;
target: "clipper";
target: "shower";
after: "hide2";
@ -105,34 +108,52 @@ group { name: "e/comp/border/default";
program { name: "hide2";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
program { signal: "e,state,focus,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
targets: "focus-clipper" "focus-shadow";
}
program { signal: "e,state,focus,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1 USE_DURATION_FACTOR 1;
targets: "focus-clipper" "focus-shadow";
}
/*
program {
name: "focus_on";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.1;
target: "glow";
target: "focus-clipper";
after: "focus2";
}
program { name: "focus2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
target: "glow";
}
program {
name: "focus_off";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.1;
target: "focus-clipper";
after: "focus_off2";
}
program {
name: "focus_off2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.4;
target: "glow";
}
program { name: "urgent1";
signal: "e,state,urgent,on"; source: "e";
action: STATE_SET "focused" 0.0;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent2";
}
program { name: "urgent2";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.3 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.3;
target: "glow";
after: "urgent1";
}
program {
signal: "e,state,urgent,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.6 CURRENT USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.6 CURRENT;
target: "glow";
}
*/
@ -166,15 +187,17 @@ group { name: "e/comp/border/rotate";
}
}
programs {
program { signal: "e,state,focus,on"; source: "e";
program { name: "focus3";
signal: "e,state,focus,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
transition: LINEAR 0.3;
}
program { signal: "e,state,focus,off"; source: "e";
program { name: "focus_off3";
signal: "e,state,focus,off"; source: "e";
action: STATE_SET "focus-out" 0.0;
target: "e.swallow.content";
transition: LINEAR 0.3 USE_DURATION_FACTOR 1;
transition: LINEAR 0.3;
}
}
}
@ -211,6 +234,7 @@ group { name: "e/comp/border/popup";
parts {
part { name: "focus-clipper";
description { state: "default";
color_class: "";
}
}
}
@ -224,10 +248,12 @@ group { name: "e/comp/border/none";
}
}
programs {
program { signal: "e,state,visible,on"; source: "e";
program {
signal: "e,state,visible,on"; source: "e";
action: SIGNAL_EMIT "e,action,show,done" "e";
}
program { signal: "e,state,visible,off"; source: "e";
program {
signal: "e,state,visible,off"; source: "e";
action: SIGNAL_EMIT "e,action,hide,done" "e";
}
}
@ -283,17 +309,17 @@ group { name: "e/comp/border/fullscreen";
rel1.offset: -9999 -9999;
rel2.relative: 2.0 2.0;
rel2.offset: 9999 9999;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
@ -308,25 +334,25 @@ group { name: "e/comp/border/fullscreen";
rel2.relative: 2.0 2.0;
image.normal: "screen_circular_shadow.png";
fill.smooth: 0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
rel1.relative: 0.0 0.0;
rel2.relative: 1.0 1.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "scr_shade"; type: RECT; mouse_events: 0;
part { name: "scr_shade"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
visible: 0;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 0 0 0 255; // no cc
color: 0 0 0 255;
visible: 1;
}
}
@ -355,20 +381,21 @@ group { name: "e/comp/border/fullscreen";
rel2.to: "shower";
}
}
part { name: "fader"; type: RECT; mouse_events: 0;
part { name: "fader"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.swallow.content";
color: 255 255 255 0; // no cc
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
color: 255 255 255 0;
visible: 0;
}
description { state: "visible1" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
description { state: "visible2" 0.0;
inherit: "default" 0.0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
}
@ -378,7 +405,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_on";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible" 0.0;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.25;
target: "scr_shadow";
target: "scr_shade";
}
@ -386,7 +413,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_on2";
signal: "e,state,visible,on"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.05;
target: "clipper";
target: "shower";
target: "fader";
@ -394,7 +421,7 @@ group { name: "e/comp/border/fullscreen";
}
program { name: "show2";
action: STATE_SET "visible2" 0.0;
transition: DECELERATE 0.20 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.20;
target: "clipper";
target: "shower";
target: "fader";
@ -407,7 +434,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_off";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.25 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.25;
target: "scr_shadow";
target: "scr_shade";
}
@ -415,7 +442,7 @@ group { name: "e/comp/border/fullscreen";
name: "visible_off2";
signal: "e,state,visible,off"; source: "e";
action: STATE_SET "visible1" 0.0;
transition: DECELERATE 0.2 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.2;
target: "clipper";
target: "shower";
target: "fader";
@ -423,7 +450,7 @@ group { name: "e/comp/border/fullscreen";
}
program { name: "hide2";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.05 USE_DURATION_FACTOR 1;
transition: DECELERATE 0.05;
target: "clipper";
target: "shower";
target: "fader";

View File

@ -1,5 +1,5 @@
#define COMP_EFFECT_DURATION 0.2
#define COMP_EFFECT_DURATION_FAST 0.15
#define COMP_EFFECT_DURATION 0.4
#define COMP_EFFECT_DURATION_FAST 0.2
group { name: "e/comp/effects/none";
parts {
@ -55,7 +55,7 @@ group { name: "e/comp/effects/move";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -65,7 +65,7 @@ group { name: "e/comp/effects/move";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -135,7 +135,7 @@ group { name: "e/comp/effects/auto/pane";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -145,7 +145,7 @@ group { name: "e/comp/effects/auto/pane";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -280,12 +280,12 @@ group { name: "e/comp/effects/auto/zoom";
rel1.offset: -20 -20;
rel2.to: "mover";
rel2.offset: 20 20;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
}
description { state: "hidden";
rel1.to: "mover";
rel2.to: "mover";
color: 255 255 255 0; // no cc
color: 255 255 255 0;
}
}
part { name: "e.swallow.content"; clip_to: "clip";
@ -298,7 +298,7 @@ group { name: "e/comp/effects/auto/zoom";
source: "e";
filter: "mover" "default";
action: STATE_SET "hidden" 0.0;
transition: ACCELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
}
program {
@ -307,7 +307,7 @@ group { name: "e/comp/effects/auto/zoom";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: ACCELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
}
}
@ -338,11 +338,11 @@ group { name: "e/comp/effects/auto/blend";
rel1.offset: -20 -20;
rel2.to: "e.swallow.content";
rel2.offset: 20 20;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
}
description { state: "hidden";
inherit: "default" 0.0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
@ -358,7 +358,7 @@ group { name: "e/comp/effects/auto/blend";
source: "e";
filter: "clip" "default";
action: STATE_SET "hidden" 0.0;
transition: LINEAR COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
@ -368,7 +368,7 @@ group { name: "e/comp/effects/auto/blend";
source: "e";
filter: "clip" "hidden";
action: STATE_SET "default" 0.0;
transition: LINEAR COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: LINEAR COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
@ -453,7 +453,7 @@ group { name: "e/comp/effects/visibility/vertical";
source: "e";
filter: "clip" "default";
action: STATE_SET "hid" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
@ -463,7 +463,7 @@ group { name: "e/comp/effects/visibility/vertical";
source: "e";
filter: "clip" "hid";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "clip";
after: "done";
}
@ -547,7 +547,7 @@ group { name: "e/comp/effects/visibility/tooltip";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -557,7 +557,7 @@ group { name: "e/comp/effects/visibility/tooltip";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "mover";
after: "done";
}
@ -626,7 +626,7 @@ group { name: "e/comp/effects/iconify/default";
source: "e";
filter: "mover" "default";
action: STATE_SET "custom" 0.0;
transition: ACCELERATE_FACTOR COMP_EFFECT_DURATION 2 USE_DURATION_FACTOR 1 CURRENT;
transition: ACCELERATE_FACTOR COMP_EFFECT_DURATION 2 CURRENT;
target: "mover";
after: "done";
}
@ -636,7 +636,7 @@ group { name: "e/comp/effects/iconify/default";
source: "e";
filter: "mover" "custom";
action: STATE_SET "default" 0.0;
transition: DECELERATE_FACTOR COMP_EFFECT_DURATION_FAST 2 USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE_FACTOR COMP_EFFECT_DURATION_FAST 2 CURRENT;
target: "mover";
after: "done";
}
@ -716,7 +716,7 @@ group { name: "e/comp/effects/auto/rotate";
signal: "e,action,go";
source: "e";
action: STATE_SET "hidden" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "proxy";
}
program {
@ -724,7 +724,7 @@ group { name: "e/comp/effects/auto/rotate";
signal: "e,action,go";
source: "e";
action: STATE_SET "default" 0.0;
transition: DECELERATE COMP_EFFECT_DURATION USE_DURATION_FACTOR 1 CURRENT;
transition: DECELERATE COMP_EFFECT_DURATION CURRENT;
target: "proxy";
}
}

View File

@ -2,11 +2,10 @@ group { name: "e/widgets/configure/main";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color_class: "/bg/normal/background";
color: 64 64 64 255;
}
}
part { name: "separator"; type: RECT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 16 1;
max: 99999 1;
@ -17,21 +16,19 @@ group { name: "e/widgets/configure/main";
rel2.offset: -1 -1;
rel2.to_y: "e.swallow.button";
fixed: 0 1;
color_class: "/fg/normal/separator/horizontal";
color: 72 72 72 255;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 0 8;
rel1.to_x: "base";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -17;
rel2.to_y: "e.swallow.button";
offscale;
}
}
part { name: "e.swallow.button"; type: SWALLOW;
scale: 1;
description { state: "default" 0.0;
align: 0.5 1.0;
rel1.relative: 0.5 1.0;
@ -39,7 +36,6 @@ group { name: "e/widgets/configure/main";
rel2.relative: 0.5 1.0;
rel2.offset: -1 -9;
fixed: 1 1;
offscale;
}
}
}
@ -51,7 +47,7 @@ group { name: "e/modules/conf/main";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
@ -65,27 +61,30 @@ group { name: "e/modules/conf/main";
rel1.offset: 4 4;
rel2.offset: -5 -5;
image.normal: "spanner.png";
color_class: "/fg/normal/icon";
offscale;
color: 160 160 160 255;
}
description { state: "clicked" 0.0;
inherit: "default" 0.0;
color_class: "/fg/pressed/icon";
color: 255 255 255 255;
}
}
}
programs {
program { signal: "mouse,down,1"; source: "base";
program {
signal: "mouse,down,1"; source: "base";
action: STATE_SET "clicked" 0.0;
target: "base";
target: "spanner";
}
program { signal: "mouse,up,1"; source: "base";
program {
signal: "mouse,up,1"; source: "base";
action: STATE_SET "default" 0.0;
target: "base";
target: "spanner";
}
program { signal: "mouse,clicked,1*"; source: "base";
program {
signal: "mouse,clicked,1*"; source: "base";
action: SIGNAL_EMIT "e,action,conf" "";
}
}

View File

@ -10,15 +10,15 @@ group { name: "e/modules/connman/main";
images.image: "wifi-4.png" COMP;
images.image: "wifi-5.png" COMP;
images.image: "bt-1.png" COMP;
images.image: "bt-2.png" COMP;
images.image: "bt-base.png" COMP;
images.image: "bt_base.png" COMP;
images.image: "bt_sig_1.png" COMP;
images.image: "bt_sig_2.png" COMP;
images.image: "cell-1.png" COMP;
images.image: "cell-2.png" COMP;
images.image: "cell-3.png" COMP;
images.image: "cell-4.png" COMP;
images.image: "cell-base.png" COMP;
images.image: "cell_base.png" COMP;
images.image: "cell_sig_1.png" COMP;
images.image: "cell_sig_2.png" COMP;
images.image: "cell_sig_3.png" COMP;
images.image: "cell_sig_4.png" COMP;
parts {
part { name: "exclam_base"; mouse_events: 0;
scale: 1;
@ -41,98 +41,103 @@ group { name: "e/modules/connman/main";
rel1.relative: (50/160) (15/160);
rel2.relative: (110/160) (145/160);
image.normal: "eth-base.png";
color_class: "/fg/disabled/gadgets/connman/eth/cable";
color: 160 160 160 128;
}
description { state: "connected" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/connman/eth/cable";
color: 160 160 160 255;
}
description { state: "online" 0.0;
inherit: "default" 0.0;
color_class: "/fg/selected/gadgets/connman/eth/cable";
color: 51 153 255 255;
}
}
part { name: "eth"; mouse_events: 0;
scale: 1;
clip_to: "clip_eth";
description { state: "default" 0.0;
rel.to: "eth-base";
rel1.to: "eth-base";
rel2.to: "eth-base";
image.normal: "eth-top.png";
color_class: "/fg/disabled/gadgets/connman/eth/connector";
color: 160 160 160 128;
}
description { state: "connected" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/connman/eth/connector";
color: 160 160 160 255;
}
description { state: "online" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/connman/eth/connector";
color: 160 160 160 255;
}
}
///////////////////////
part { name: "wifi-base"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
min: 14 10;
aspect: (140/100) (140/100); aspect_preference: BOTH;
rel1.relative: (10/160) (30/160);
rel2.relative: (150/160) (130/160);
image.normal: "wifi-1.png";
color_class: "/fg/disabled/gadgets/connman/wifi/connected";
color: 160 160 160 255;
}
description { state: "connected" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/gadgets/connman/wifi/connected";
color: 160 160 160 255;
}
description { state: "online" 0.0;
inherit: "default" 0.0;
color_class: "/fg/selected/gadgets/connman/wifi/connected";
color: 51 153 255 255;
}
}
part { name: "wifi"; mouse_events: 0;
clip_to: "clip_wifi";
description { state: "default" 0.0;
rel.to: "wifi-base";
rel1.to: "wifi-base";
rel2.to: "wifi-base";
image.normal: "wifi-1.png";
color_class: "/fg/normal/gadgets/connman/wifi/signal";
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
description { state: "default" 0.25;
inherit: "default" 0.0;
image.normal: "wifi-2.png";
color: 255 255 255 255; // no cc
color: 160 160 160 255;
}
description { state: "default" 0.5;
inherit: "default" 0.0;
image.normal: "wifi-3.png";
color: 255 255 255 255; // no cc
color: 160 160 160 255;
}
description { state: "default" 0.75;
inherit: "default" 0.0;
image.normal: "wifi-4.png";
color: 255 255 255 255; // no cc
color: 160 160 160 255;
}
description { state: "default" 1.0;
inherit: "default" 0.0;
image.normal: "wifi-5.png";
color: 255 255 255 255; // no cc
color: 160 160 160 255;
}
}
///////////////////////
part { name: "bt_base"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
image.normal: "bt-base.png";
color_class: "/fg/normal/gadgets/connman/bt/base";
aspect: (160/144) (160/144); aspect_preference: BOTH;
image.normal: "bt_base.png";
}
}
part { name: "bt_1"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
rel.to: "bt_base";
image.normal: "bt-1.png";
color_class: "/fg/normal/gadgets/connman/bt/signal";
rel1.to: "bt_base";
rel2.to: "bt_base";
image.normal: "bt_sig_1.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -143,14 +148,14 @@ group { name: "e/modules/connman/main";
part { name: "bt_2"; mouse_events: 0;
clip_to: "clip_bt";
description { state: "default" 0.0;
rel.to: "bt_base";
image.normal: "bt-2.png";
color_class: "/fg/normal/gadgets/connman/bt/signal";
rel1.to: "bt_base";
rel2.to: "bt_base";
image.normal: "bt_sig_2.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -162,21 +167,21 @@ group { name: "e/modules/connman/main";
part { name: "cell_base"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
image.normal: "cell-base.png";
color_class: "/fg/normal/gadgets/connman/cell/base";
aspect: (160/144) (160/144); aspect_preference: BOTH;
image.normal: "cell_base.png";
}
}
part { name: "cell_1"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel.to: "cell_base";
image.normal: "cell-1.png";
color_class: "/fg/normal/gadgets/connman/cell/signal";
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_1.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -187,14 +192,14 @@ group { name: "e/modules/connman/main";
part { name: "cell_2"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel.to: "cell_base";
image.normal: "cell-2.png";
color_class: "/fg/normal/gadgets/connman/cell/signal";
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_2.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -205,14 +210,14 @@ group { name: "e/modules/connman/main";
part { name: "cell_3"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel.to: "cell_base";
image.normal: "cell-3.png";
color_class: "/fg/normal/gadgets/connman/cell/signal";
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_3.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -223,14 +228,14 @@ group { name: "e/modules/connman/main";
part { name: "cell_4"; mouse_events: 0;
clip_to: "clip_cell";
description { state: "default" 0.0;
rel.to: "cell_base";
image.normal: "cell-4.png";
color_class: "/fg/normal/gadgets/connman/cell/signal";
rel1.to: "cell_base";
rel2.to: "cell_base";
image.normal: "cell_sig_4.png";
visible: 0;
}
description { state: "partly" 0.0;
inherit: "default" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
visible: 1;
}
description { state: "visible" 0.0;
@ -326,7 +331,7 @@ group { name: "e/modules/connman/main";
}
part { name: "event"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}
@ -574,56 +579,61 @@ group { name: "e/modules/connman/icon/cellular";
}
group { name: "e/modules/connman/end";
images.image: "glow_lock_locked.png" COMP;
images.image: "glow_lock_unlocked.png" COMP;
images.image: "glow_lock_double.png" COMP;
parts {
part { name: "base"; mouse_events: 0;
description { state: "default" 0.0;
image.normal: "i-unlock";
image.normal: "glow_lock_locked.png";
aspect: 1.0 1.0; aspect_preference: BOTH;
color_class: "/fg/normal/gadgets/connman/security/none";
visible: 0;
}
description { state: "none" 0.0;
inherit: "default" 0.0;
image.normal: "i-unlock";
color_class: "/fg/normal/gadgets/connman/security/none";
image.normal: "glow_lock_unlocked.png";
visible: 1;
}
description { state: "wep" 0.0;
inherit: "default" 0.0;
image.normal: "i-lock";
color_class: "/fg/normal/gadgets/connman/security/secure/low";
image.normal: "glow_lock_locked.png";
visible: 1;
}
description { state: "psk" 0.0;
inherit: "default" 0.0;
image.normal: "i-lock-double";
color_class: "/fg/normal/gadgets/connman/security/secure/hi";
image.normal: "glow_lock_double.png";
visible: 1;
}
}
}
programs {
program { signal: "e,security,off"; source: "e";
program {
signal: "e,security,off"; source: "e";
action: STATE_SET "default" 0.0;
target: "base";
}
program { signal: "e,security,none"; source: "e";
program {
signal: "e,security,none"; source: "e";
action: STATE_SET "none" 0.0;
target: "base";
}
program { signal: "e,security,wep"; source: "e";
program {
signal: "e,security,wep"; source: "e";
action: STATE_SET "wep" 0.0;
target: "base";
}
program { signal: "e,security,psk"; source: "e";
program {
signal: "e,security,psk"; source: "e";
action: STATE_SET "psk" 0.0;
target: "base";
}
program { signal: "e,security,ieee8021x"; source: "e";
program {
signal: "e,security,ieee8021x"; source: "e";
action: STATE_SET "psk" 0.0;
target: "base";
}
program { signal: "e,security,wps"; source: "e";
program {
signal: "e,security,wps"; source: "e";
action: STATE_SET "wep" 0.0;
target: "base";
}

View File

@ -0,0 +1,241 @@
group { name: "e/gadget/cpuclock/main";
alias: "e/gadget/cpuclock/main_vert";
images.image: "cpu_base.png" COMP;
images.image: "cpu_clip1.png" COMP;
images.image: "cpu_clip2.png" COMP;
images.image: "cpu_clip3.png" COMP;
set { name: "marker";
image { image: "cpu_marker.png" COMP; size: 72 72 99999 99999; }
image { image: "cpu_marker2.png" COMP; size: 36 36 72 72; }
image { image: "cpu_marker3.png" COMP; size: 18 18 36 36; }
image { image: "cpu_marker4.png" COMP; size: 0 0 4 18; }
}
script {
public available_frequencies;
public available_governors;
public cur_freq_old;
public cur_freq_new;
public cur_freq_now;
public cur_freq_anim;
public min_freq_old;
public min_freq_new;
public min_freq_now;
public max_freq_old;
public max_freq_new;
public max_freq_now;
public slide_cur_freq(val, Float:v) {
new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
new f, f0, f1;
v = (1.0 - cos(v * 3.141592654)) / 2.0;
min_freq = fetch_int(available_frequencies, 0);
max_freq = fetch_int(available_frequencies,
count(available_frequencies) - 1);
f0 = get_int(cur_freq_old);
f1 = get_int(cur_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(cur_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter", "default", 0.0);
set_state_val(PART:"meter", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter", "custom", 0.0);
f0 = get_int(min_freq_old);
f1 = get_int(min_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(min_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter_min", "default", 0.0);
set_state_val(PART:"meter_min", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_min", "custom", 0.0);
f0 = get_int(max_freq_old);
f1 = get_int(max_freq_new);
f = f1 - f0;
freq = float(f) * v;
f = round(freq);
f = f + f0;
set_int(max_freq_now, f);
freq = (float(f) - min_freq) / (max_freq - min_freq);
tf = (freq * 225.0) - 135.0;
custom_state(PART:"meter_max", "default", 0.0);
set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_max", "custom", 0.0);
if (v >= 1.0) {
set_int(cur_freq_anim, 0);
return 0;
}
return 1;
}
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
while (count(available_frequencies) > 0) {
remove(available_frequencies, 0);
}
for (new i = 2; i < numargs(); i++) {
append_int(available_frequencies, getarg(i));
}
}
else if ((type == MSG_STRING_SET) && (id == 2)) { // add a governor
new text[100];
while (count(available_governors) > 0) {
remove(available_governors, 0);
}
for (new i = 2; i < numargs(); i++) {
snprintf(text, 100, "%s", getarg(i));
append_str(available_governors, text);
}
} else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
new f;
new ani, curf, minf, maxf;
new text[100];
f = getarg(2);
if (f < 1000000) {
f += 500;
snprintf(text, 100, "%i", f / 1000);
} else {
f += 50000;
snprintf(text, 100, "%i.%i", f / 1000000,
(f % 1000000) / 100000);
}
ani = get_int(cur_freq_anim);
if (ani > 0) cancel_anim(ani);
ani = anim(0.25, "slide_cur_freq", 0);
set_int(cur_freq_anim, ani);
f = getarg(2);
curf = get_int(cur_freq_now);
set_int(cur_freq_old, curf);
set_int(cur_freq_new, f);
f = getarg(4);
minf = get_int(min_freq_now);
set_int(min_freq_old, minf);
set_int(min_freq_new, f);
f = getarg(5);
maxf = get_int(max_freq_now);
set_int(max_freq_old, maxf);
set_int(max_freq_new, f);
} else if ((type == MSG_STRING) && (id == 4)) {
new text[100];
snprintf(text, 100, "%s", getarg(2));
}
}
}
parts {
part { name: "fade_clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
color: 255 255 255 128;
}
}
part { name: "clip1";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip1.png";
}
}
part { name: "clip2";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip2.png";
}
}
part { name: "clip3";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip3.png";
}
}
part { name: "base";
description { state: "default" 0.0;
rel1.relative: (25/380) (25/380);
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "cpu_base.png";
}
}
part { name: "meter_min"; mouse_events: 0;
clip_to: "clip3";
description { state: "default" 0.0;
image.normal: "marker";
color: 51 153 255 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "meter_max"; mouse_events: 0;
clip_to: "clip1";
description { state: "default" 0.0;
image.normal: "marker";
color: 255 0 0 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
part { name: "meter"; mouse_events: 0;
clip_to: "clip2";
description { state: "default" 0.0000;
color: 255 153 51 255;
image.normal: "marker";
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
}
}
}
}
programs {
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "fade_clip";
}
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "faded" 0.0;
target: "fade_clip";
}
}
}

View File

@ -1,30 +1,9 @@
group { name: "e/modules/cpufreq/main";
set { name: "cpu_markers";
image { image: "cpu_markers-160.png" COMP; size: 81 81 99999 99999; }
image { image: "cpu_markers-080.png" COMP; size: 41 41 80 80 99999; }
image { image: "cpu_markers-040.png" COMP; size: 0 0 40 40; }
}
set { name: "cpu_detail";
image { image: "cpu_detail-160.png" COMP; size: 81 81 99999 99999; }
image { image: "cpu_detail-080.png" COMP; size: 41 41 80 80 99999; }
image { image: "cpu_detail-040.png" COMP; size: 0 0 40 40; }
}
set { name: "cpu_clip_1";
image { image: "cpu_clip_1-160.png" COMP; size: 81 81 99999 99999; }
image { image: "cpu_clip_1-080.png" COMP; size: 41 41 80 80 99999; }
image { image: "cpu_clip_1-040.png" COMP; size: 0 0 40 40; }
}
set { name: "cpu_clip_2";
image { image: "cpu_clip_2-160.png" COMP; size: 81 81 99999 99999; }
image { image: "cpu_clip_2-080.png" COMP; size: 41 41 80 80 99999; }
image { image: "cpu_clip_2-040.png" COMP; size: 0 0 40 40; }
}
set { name: "cpu_clip_3";
image { image: "cpu_clip_3-160.png" COMP; size: 81 81 99999 99999; }
image { image: "cpu_clip_3-080.png" COMP; size: 41 41 80 80 99999; }
image { image: "cpu_clip_3-040.png" COMP; size: 0 0 40 40; }
}
set { name: "cpu_marker";
images.image: "cpu_base.png" COMP;
images.image: "cpu_clip1.png" COMP;
images.image: "cpu_clip2.png" COMP;
images.image: "cpu_clip3.png" COMP;
set { name: "marker";
image { image: "cpu_marker.png" COMP; size: 72 72 99999 99999; }
image { image: "cpu_marker2.png" COMP; size: 36 36 72 72; }
image { image: "cpu_marker3.png" COMP; size: 18 18 36 36; }
@ -34,11 +13,10 @@ group { name: "e/modules/cpufreq/main";
public available_frequencies;
public available_governors;
// public cur_freq_anim;
public cur_freq_old;
public cur_freq_new;
public cur_freq_now;
public cur_freq_anim;
public min_freq_old;
public min_freq_new;
@ -48,10 +26,12 @@ group { name: "e/modules/cpufreq/main";
public max_freq_new;
public max_freq_now;
public show_freq(Float:v) {
public slide_cur_freq(val, Float:v) {
new Float:freq, Float:min_freq, Float:max_freq, Float:tf;
new f, f0, f1;
v = (1.0 - cos(v * 3.141592654)) / 2.0;
min_freq = fetch_int(available_frequencies, 0);
max_freq = fetch_int(available_frequencies,
count(available_frequencies) - 1);
@ -98,16 +78,12 @@ group { name: "e/modules/cpufreq/main";
set_state_val(PART:"meter_max", STATE_MAP_ROT_Z, tf);
set_state(PART:"meter_max", "custom", 0.0);
if (v >= 1.0) {
set_int(cur_freq_anim, 0);
return 0;
}
return 1;
}
// public slide_cur_freq(val, Float:v) {
// v = (1.0 - cos(v * 3.141592654)) / 2.0;
// show_freq(v);
// if (v >= 1.0) {
// set_int(cur_freq_anim, 0);
// return 0;
// }
// return 1;
// }
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) { // add an available freq
@ -128,8 +104,8 @@ group { name: "e/modules/cpufreq/main";
append_str(available_governors, text);
}
} else if ((type == MSG_INT_SET) && (id == 3)) { // avg freq
// new ani;
new f, curf, minf, maxf;
new f;
new ani, curf, minf, maxf;
new text[100];
f = getarg(2);
@ -143,6 +119,11 @@ group { name: "e/modules/cpufreq/main";
}
set_text(PART:"readout", text);
ani = get_int(cur_freq_anim);
if (ani > 0) cancel_anim(ani);
ani = anim(0.25, "slide_cur_freq", 0);
set_int(cur_freq_anim, ani);
f = getarg(2);
curf = get_int(cur_freq_now);
set_int(cur_freq_old, curf);
@ -157,13 +138,6 @@ group { name: "e/modules/cpufreq/main";
maxf = get_int(max_freq_now);
set_int(max_freq_old, maxf);
set_int(max_freq_new, f);
// ani = get_int(cur_freq_anim);
// if (ani > 0) cancel_anim(ani);
// ani = anim(0.2, "slide_cur_freq", 0);
// set_int(cur_freq_anim, ani);
show_freq(1.0);
} else if ((type == MSG_STRING) && (id == 4)) {
new text[100];
snprintf(text, 100, "%s", getarg(2));
@ -173,53 +147,42 @@ group { name: "e/modules/cpufreq/main";
parts {
part { name: "fade_clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 255;
}
description { state: "faded" 0.0;
color: 255 255 255 128; // no cc
color: 255 255 255 128;
}
}
part { name: "clip1";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel.to: "base";
image.normal: "cpu_clip_1";
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip1.png";
}
}
part { name: "clip2";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel.to: "base";
image.normal: "cpu_clip_2";
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip2.png";
}
}
part { name: "clip3";
clip_to: "fade_clip";
description { state: "default" 0.0;
rel.to: "base";
image.normal: "cpu_clip_3";
rel1.to: "base";
rel2.to: "base";
image.normal: "cpu_clip3.png";
}
}
part { name: "base";
description { state: "default" 0.0;
rel1.relative: (25/380) (25/380);
rel2.relative: (365/380) (365/380);
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "clock_base";
color_class: "/bg/normal/gadgets/cpufreq/base";
}
}
part { name: "base_detail";
description { state: "default" 0.0;
rel.to: "base";
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "cpu_detail";
color_class: "/bg/normal/gadgets/cpufreq/detail";
}
}
part { name: "base_markers";
description { state: "default" 0.0;
rel.to: "base";
aspect: 1.0 1.0; aspect_preference: BOTH;
image.normal: "cpu_markers";
color_class: "/fg/normal/gadgets/cpufreq/digits";
image.normal: "cpu_base.png";
}
}
part { name: "readout"; type: TEXT; mouse_events: 0;
@ -228,7 +191,7 @@ group { name: "e/modules/cpufreq/main";
description { state: "default" 0.0;
rel1.relative: (56/144) (56/144);
rel2.relative: (88/144) (88/144);
color_class: "/fg/normal/gadgets/cpufreq/text";
color: 255 255 255 255;
text { font: FN; size: 6;
min: 1 1;
ellipsis: -1;
@ -239,9 +202,10 @@ group { name: "e/modules/cpufreq/main";
part { name: "meter_min"; mouse_events: 0;
clip_to: "clip3";
description { state: "default" 0.0;
image.normal: "cpu_marker";
color_class: "/fg/normal/gadgets/cpufreq/hands/min";
rel.to: "base";
image.normal: "marker";
color: 51 153 255 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
@ -251,9 +215,10 @@ group { name: "e/modules/cpufreq/main";
part { name: "meter_max"; mouse_events: 0;
clip_to: "clip1";
description { state: "default" 0.0;
image.normal: "cpu_marker";
color_class: "/fg/normal/gadgets/cpufreq/hands/max";
rel.to: "base";
image.normal: "marker";
color: 255 0 0 255;
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
@ -263,9 +228,10 @@ group { name: "e/modules/cpufreq/main";
part { name: "meter"; mouse_events: 0;
clip_to: "clip2";
description { state: "default" 0.0000;
image.normal: "cpu_marker";
color_class: "/fg/normal/gadgets/cpufreq/hands/average";
rel.to: "base";
color: 255 153 51 255;
image.normal: "marker";
rel1.to: "base";
rel2.to: "base";
map {
on: 1;
rotation.center: "base";
@ -274,11 +240,13 @@ group { name: "e/modules/cpufreq/main";
}
}
programs {
program { signal: "e,state,enabled"; source: "e";
program {
signal: "e,state,enabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "fade_clip";
}
program { signal: "e,state,disabled"; source: "e";
program {
signal: "e,state,disabled"; source: "e";
action: STATE_SET "faded" 0.0;
target: "fade_clip";
}

View File

@ -0,0 +1,186 @@
group { name: "e/gadget/cpumonitor/main";
alias: "e/gadget/cpumonitor/main_vert";
parts {
part { name: "e.swallow.content"; type: SWALLOW;
description { state: "default" 0.0;
}
}
}
}
group { name: "e/gadget/cpumonitor/core/main";
image: "cpu_bar.png" COMP;
image: "cpu_green_on.png" COMP;
image: "cpu_yellow_on.png" COMP;
image: "cpu_red_on.png" COMP;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) {
new val = getarg(2);
if (val > (100 / 7 * 1)) set_state(PART:"led1", "on", 0.0);
else set_state(PART:"led1", "off", 0.0);
if (val > (100 / 7 * 2)) set_state(PART:"led2", "on", 0.0);
else set_state(PART:"led2", "off", 0.0);
if (val > (100 / 7 * 3)) set_state(PART:"led3", "on", 0.0);
else set_state(PART:"led3", "off", 0.0);
if (val > (100 / 7 * 4)) set_state(PART:"led4", "on", 0.0);
else set_state(PART:"led4", "off", 0.0);
if (val > (100 / 7 * 5)) set_state(PART:"led5", "on", 0.0);
else set_state(PART:"led5", "off", 0.0);
if (val > (100 / 7 * 6)) set_state(PART:"led6", "on", 0.0);
else set_state(PART:"led6", "off", 0.0);
}
}
}
parts {
part { name: "bg";
desc { "default";
aspect: (10 / 54) (10 / 54);
aspect_preference: VERTICAL;
image.normal: "cpu_bar.png";
}
part { name: "led1";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 5);
rel2.relative: 1.0 (1.0 / 6 * 6);
image.normal: "cpu_green_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led2";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 4);
rel2.relative: 1.0 (1.0 / 6 * 5);
image.normal: "cpu_green_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led3";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 3);
rel2.relative: 1.0 (1.0 / 6 * 4);
image.normal: "cpu_green_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led4";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 2);
rel2.relative: 1.0 (1.0 / 6 * 3);
image.normal: "cpu_yellow_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led5";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 1);
rel2.relative: 1.0 (1.0 / 6 * 2);
image.normal: "cpu_yellow_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led6";
desc { "default"; hid;
rel1.relative: 0.0 (1.0 / 6 * 0);
rel2.relative: 1.0 (1.0 / 6 * 1);
image.normal: "cpu_red_on.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
}
}
}
group { name: "e/gadget/cpumonitor/core/main_vert";
image: "cpu_bar_vert.png" COMP;
image: "cpu_green_on_vert.png" COMP;
image: "cpu_yellow_on_vert.png" COMP;
image: "cpu_red_on_vert.png" COMP;
script {
public message(Msg_Type:type, id, ...) {
if ((type == MSG_INT_SET) && (id == 1)) {
new val = getarg(2);
if (val > (100 / 7 * 1)) set_state(PART:"led1", "on", 0.0);
else set_state(PART:"led1", "off", 0.0);
if (val > (100 / 7 * 2)) set_state(PART:"led2", "on", 0.0);
else set_state(PART:"led2", "off", 0.0);
if (val > (100 / 7 * 3)) set_state(PART:"led3", "on", 0.0);
else set_state(PART:"led3", "off", 0.0);
if (val > (100 / 7 * 4)) set_state(PART:"led4", "on", 0.0);
else set_state(PART:"led4", "off", 0.0);
if (val > (100 / 7 * 5)) set_state(PART:"led5", "on", 0.0);
else set_state(PART:"led5", "off", 0.0);
if (val > (100 / 7 * 6)) set_state(PART:"led6", "on", 0.0);
else set_state(PART:"led6", "off", 0.0);
}
}
}
parts {
part { name: "bg";
desc { "default";
aspect: (54 / 10) (54 / 10);
aspect_preference: HORIZONTAL;
image.normal: "cpu_bar_vert.png";
}
part { name: "led1";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 0) 0.0;
rel2.relative: (1.0 / 6 * 1) 1.0;
image.normal: "cpu_green_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led2";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 1) 0.0;
rel2.relative: (1.0 / 6 * 2) 1.0;
image.normal: "cpu_green_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led3";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 2) 0.0;
rel2.relative: (1.0 / 6 * 3) 1.0;
image.normal: "cpu_green_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led4";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 3) 0.0;
rel2.relative: (1.0 / 6 * 4) 1.0;
image.normal: "cpu_yellow_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led5";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 4) 0.0;
rel2.relative: (1.0 / 6 * 5) 1.0;
image.normal: "cpu_yellow_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
part { name: "led6";
desc { "default"; hid;
rel1.relative: (1.0 / 6 * 5) 0.0;
rel2.relative: (1.0 / 6 * 6) 1.0;
image.normal: "cpu_red_on_vert.png";
}
desc { "on"; inherit: "default"; vis; }
desc { "off"; inherit: "default"; hid; }
}
}
}
}

View File

@ -1,21 +1,26 @@
group { name: "e/widgets/cslider";
images.image: "col_sel_end_bottom.png" COMP;
images.image: "col_sel_end_top.png" COMP;
images.image: "col_sel_end_left.png" COMP;
images.image: "col_sel_end_right.png" COMP;
parts {
part { name: "bg"; type: RECT;
scale: 1;
description { state: "default" 0.0;
rel1.offset: 2 2;
rel2.offset: -3 -3;
color_class: "/bg-dark/normal/cslider/base";
color: DARK_GREY_BG_COLOR;
offscale;
}
}
part { name: "clipper"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.swallow.content";
rel1.to: "e.swallow.content";
rel2.to: "e.swallow.content";
}
description { state: "disabled" 0.0;
inherit: "default" 0.0;
color: 255 255 255 64; // no cc
color: 255 255 255 64;
}
}
part { name: "e.swallow.content"; type: SWALLOW;
@ -36,8 +41,9 @@ group { name: "e/widgets/cslider";
min: 1 1;
max: 1 1;
visible: 0;
rel.to: "e.swallow.content";
rel1.to: "e.swallow.content";
rel1.relative: 0.5 0.0;
rel2.to: "e.swallow.content";
rel2.relative: 0.5 0.5;
}
}
@ -48,7 +54,7 @@ group { name: "e/widgets/cslider";
rel1.to_y: "e.swallow.content";
rel2.to_x: "e.dragable.cursor";
rel2.to_y: "e.swallow.content";
color: 255 255 255 192; // no cc
color: 255 255 255 192;
}
description { state: "vertical" 0.0;
inherit: "default" 0.0;

View File

@ -3,28 +3,28 @@ group { name: "e/desklock/background";
parts {
part { name: "clip"; type: RECT;
description { state: "default" 0.0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
visible: 0;
}
description { state: "visible" 0.0;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
visible: 1;
}
}
part { name: "bg"; type: RECT;
clip_to: "clip";
description { state: "default" 0.0;
color_class: "/bg/normal/desklock/background";
color: 48 48 48 255;
}
}
program { signal: "show"; source: "";
action: STATE_SET "visible" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.5;
target: "clip";
}
program { signal: "e,action,hide"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.5;
target: "clip";
sequence {
action: SIGNAL_EMIT "e,action,hide,done" "e";
@ -78,7 +78,6 @@ group { name: "e/desklock/login_box";
rel1.relative: 0.5 0.5;
rel2.relative: 0.5 0.5;
FIXED_SIZE(150, 150)
color_class: "/fg/normal/desklock/logo";
}
}
part { name: "e.text.title"; type: TEXT;
@ -90,7 +89,7 @@ group { name: "e/desklock/login_box";
rel2.relative: 1.0 1.0;
rel2.offset: -4 3;
rel2.to_y: "logo";
color_class: "/fg/normal/desklock/text/title";
color: FN_COL_DEFAULT;
align: 0.5 0.0;
text { font: FNBD; size: 10;
min: 1 1;
@ -110,7 +109,7 @@ group { name: "e/desklock/login_box";
rel2.relative: 1.0 1.0;
rel2.offset: -4 3;
rel2.to_y: "e.text.password";
color_class: "/fg/normal/desklock/text/hint";
color: 160 160 160 255;
align: 0.5 0.0;
text { font: FNBD; size: 10;
min: 1 1;
@ -123,8 +122,9 @@ group { name: "e/desklock/login_box";
}
part { name: "selection"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "e.text.password";
color_class: "/fg/normal/desklock/selection";
rel1.to: "e.text.password";
rel2.to: "e.text.password";
color: 51 153 255 255;
visible: 0;
}
description { state: "active" 0.0;
@ -144,7 +144,7 @@ group { name: "e/desklock/login_box";
rel2.offset: 3 10;
rel2.to_x: "clipper";
rel2.to_y: "e.text.title";
color_class: "/fg/normal/desklock/text/password";
color: 255 255 255 255;
align: 0.0 0.0;
text { font: FN; size: 10;
min: 1 1;
@ -156,63 +156,30 @@ group { name: "e/desklock/login_box";
}
}
part { name: "cursor"; type: RECT; mouse_events: 0;
scale: 1;
clip_to: "clipper";
description { state: "default" 0.0;
rel.to: "e.text.password";
rel1.to: "e.text.password";
rel1.relative: 1.0 0.0;
rel1.offset: 0 -4;
rel2.to: "e.text.password";
rel2.offset: -1 3;
color_class: "/fg/normal/desklock/text/cursor";
color: 255 255 255 255;
min: 1 10;
fixed: 1 1;
visible: 0;
offscale;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
visible: 1;
}
}
part { name: "fprint";
scale: 1;
description { state: "default" 0.0;
image.normal: "i-fingerprint";
min: 40 40;
max: 40 40;
rel.to_x: "clipper";
rel.to_y: "e.text.password";
rel1.relative: 0.0 1.0;
align: 0.5 0.0;
color: 255 255 255 0; // no cc
color_class: "/fg/normal/desklock/fprint/normal";
visible: 0;
}
description { state: "active" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
visible: 1;
}
description { state: "auth-success" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/desklock/fprint/success";
color: 255 255 255 255; // no cc
visible: 1;
}
description { state: "auth-fail" 0.0;
inherit: "default" 0.0;
color_class: "/fg/normal/desklock/fprint/fail";
color: 255 255 255 255; // no cc
visible: 1;
}
}
part { name: "busy_area"; type: SPACER;
scale: 1;
description { state: "default" 0.0;
min: 40 40;
max: 40 40;
rel.to: "clipper";
min: 20 20;
max: 160 160;
rel1.to: "clipper";
rel1.relative: 0.0 0.5;
rel2.to: "clipper";
align: 0.5 0.0;
}
}
@ -228,24 +195,26 @@ group { name: "e/desklock/login_box";
target: "cursor";
after: "cursor_show_timer";
}
program { name: "cursor_show_timer";
in: 0.4 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide";
action: STATE_SET "default" 0.0;
target: "cursor";
after: "cursor_hide_timer";
}
program { name: "cursor_show_timer";
in: 0.4 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide_timer";
in: 0.4 0.0;
after: "cursor_show";
}
program { signal: "e,state,selected"; source: "e";
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
target: "selection";
}
program { signal: "e,state,unselected"; source: "e";
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "selection";
}
@ -257,75 +226,6 @@ group { name: "e/desklock/login_box";
action: STATE_SET "default" 0.0;
target: "logo_clip";
}
program { signal: "e,fprint,unknown"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "fprint";
}
program { signal: "e,fprint,press"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "fprint";
}
program { signal: "e,fprint,swipe"; source: "e";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "fprint";
}
program { signal: "e,fprint,auth,success"; source: "e";
action: STATE_SET "auth-success" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
}
program { signal: "e,fprint,auth,fail"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { signal: "e,fprint,auth,short"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { signal: "e,fprint,auth,nocenter"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { signal: "e,fprint,auth,removeretry"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { signal: "e,fprint,auth,retry"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { signal: "e,fprint,auth,disconnect"; source: "e";
action: STATE_SET "default" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
}
program { signal: "e,fprint,auth,error"; source: "e";
action: STATE_SET "auth-fail" 0.0;
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
target: "fprint";
after: "fprint-reset";
}
program { name: "fprint-reset";
action: STATE_SET "active" 0.0;
transition: SINUSOIDAL 0.5 USE_DURATION_FACTOR 1;
target: "fprint";
in: 0.5 0.0;
}
}
}
@ -338,9 +238,9 @@ group { name: "e/desklock/pin_box";
rel1.relative: 0.0 1.0;
rel1.to_y: "e.swallow.buttons";
rel2.offset: -4 -3;
color_class: "/fg/normal/desklock/text/title/pin";
color: 160 160 160 255;
align: 0.5 0.0;
text { font: FNBD; size: 10;
text { font: "Sans:style=Bold"; size: 10;
min: 0 1;
align: 0.5 0.5;
text_class: "desklock_title";
@ -351,8 +251,9 @@ group { name: "e/desklock/pin_box";
}
part { name: "selection"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "e.text.password";
color_class: "/fg/normal/desklock/selection";
rel1.to: "e.text.password";
rel2.to: "e.text.password";
color: 51 153 255 255;
visible: 0;
}
description { state: "active" 0.0;
@ -367,34 +268,35 @@ group { name: "e/desklock/pin_box";
rel1.offset: 3 2;
rel2.relative: 0.5 0.0;
rel2.offset: 3 -2;
color_class: "/fg/normal/desklock/text/password";
text { font: FN; size: 10;
color: 255 255 255 255;
text { font: "Sans"; size: 10;
min: 1 1;
ellipsis: -1;
align: 1.0 0.5;
text_class: "desklock_passwd";
}
fixed: 1 1;
offscale;
}
}
part { name: "cursor"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "e.text.password";
rel1.to: "e.text.password";
rel1.relative: 1.0 0.0;
rel1.offset: 0 -4;
rel2.offset: -1 3;
color_class: "/fg/normal/desklock/text/cursor";
rel1.offset: 0 0;
rel2.to: "e.text.password";
rel2.offset: 1 -1;
color: 255 255 255 0;
min: 1 3;
fixed: 1 1;
offscale;
}
description { state: "visible" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255;
}
}
part { name: "button_clip"; type: RECT;
description { state: "default";
color: 255 255 255 255;
}
}
part { name: "e.swallow.buttons"; type: SWALLOW;
@ -414,25 +316,27 @@ group { name: "e/desklock/pin_box";
target: "cursor";
after: "cursor_show_timer";
}
program { name: "cursor_show_timer";
in: 0.5 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide";
action: STATE_SET "default" 0.0;
target: "cursor";
transition: SINUSOIDAL 0.2 USE_DURATION_FACTOR 1;
transition: SINUSOIDAL 0.2;
after: "cursor_hide_timer";
}
program { name: "cursor_show_timer";
in: 0.5 0.0;
after: "cursor_hide";
}
program { name: "cursor_hide_timer";
in: 0.2 0.0;
after: "cursor_show";
}
program { signal: "e,state,selected"; source: "e";
program {
signal: "e,state,selected"; source: "e";
action: STATE_SET "active" 0.0;
target: "selection";
}
program { signal: "e,state,unselected"; source: "e";
program {
signal: "e,state,unselected"; source: "e";
action: STATE_SET "default" 0.0;
target: "selection";
}

View File

@ -59,7 +59,7 @@ group { name: "e/deskmirror/frame/default";
rel2.to: "bottom";
rel2.offset: 4 4;
fill.smooth: 0;
color_class: "/shadow/normal/border";
color: 255 255 255 128;
}
description { state: "off";
inherit: "default" 0.0;
@ -87,25 +87,27 @@ group { name: "e/deskmirror/frame/default";
part { name: "top"; type: RECT;
description { state: "default" 0.0;
rel.to: "top_spacer";
color_class: "/bg/normal/titlebar";
rel1.to: "top_spacer";
rel2.to: "top_spacer";
color: 64 64 64 255;
min: 0 1;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "/bg/selected/titlebar";
color: 32 32 32 255;
}
}
part { name: "e.text.title"; type: TEXT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
rel.to: "spacer";
rel1.offset: 1 3;
rel1.to: "spacer";
rel2.relative: 1.0 0.0;
rel2.offset: -2 3;
rel2.to: "spacer";
align: 0.5 0.0;
color_class: "/fg/normal/titlebar";
color: 160 160 160 255;
text { font: FNBD; size: 10;
text_class: "title_bar";
align: 0.5 0.0;
@ -116,14 +118,15 @@ group { name: "e/deskmirror/frame/default";
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "/fg/selected/titlebar";
color: 255 255 255 255;
}
}
part { name: "bottom"; type: RECT; mouse_events: 0;
description { state: "default" 0.0;
rel.to: "bottom_size";
color_class: "/bg/normal/border";
rel1.to: "bottom_size";
rel2.to: "bottom_size";
color: 64 64 64 255;
}
description { state: "hidden" 0.0;
inherit: "default" 0.0;
@ -135,15 +138,16 @@ group { name: "e/deskmirror/frame/default";
part { name: "clone"; type: PROXY; mouse_events: 0;
description { state: "default";
source: "e.swallow.client";
rel.to: "e.swallow.client";
rel1.to: "e.swallow.client";
rel2.to: "e.swallow.client";
visible: 0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
proxy.source_clip: 0;
}
description { state: "urgent1";
inherit: "default" 0.0;
visible: 1;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
proxy.source_clip: 0;
}
description { state: "urgent2" 0.0;
@ -151,13 +155,14 @@ group { name: "e/deskmirror/frame/default";
visible: 1;
rel1.relative: -2.0 -2.0;
rel2.relative: 3.0 3.0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
proxy.source_clip: 0;
}
}
}
programs {
program { signal: "e,state,urgent"; source: "e";
program { name: "urgent";
signal: "e,state,urgent"; source: "e";
action: ACTION_STOP;
target: "go_big";
target: "go_big2";
@ -170,11 +175,12 @@ group { name: "e/deskmirror/frame/default";
}
program { name: "go_big2";
action: STATE_SET "urgent2" 0.0;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
transition: LINEAR 0.5;
target: "clone";
after: "go_big";
}
program { signal: "e,state,not_urgent"; source: "e";
program { name: "not_urgent";
signal: "e,state,not_urgent"; source: "e";
action: ACTION_STOP;
target: "go_big";
target: "go_big2";
@ -182,62 +188,76 @@ group { name: "e/deskmirror/frame/default";
}
program { name: "go_hid";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
transition: LINEAR 0.5;
target: "clone";
}
program { signal: "e,state,shadow,on"; source: "e";
program { name: "shon";
signal: "e,state,shadow,on"; source: "e";
action: STATE_SET "default" 0.0;
target: "shadow";
}
program { signal: "e,state,shadow,off"; source: "e";
program { name: "shoff";
signal: "e,state,shadow,off"; source: "e";
action: STATE_SET "off" 0.0;
target: "shadow";
}
program { signal: "e,state,focused"; source: "e";
program {
name: "focus";
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "e.text.title";
target: "top";
}
program { signal: "e,state,unfocused"; source: "e";
program {
name: "unfocus";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.text.title";
target: "top";
}
program { signal: "e,state,shaded"; source: "e";
program {
name: "shade";
signal: "e,state,shaded"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "bottom";
}
program { signal: "e,state,maximize*"; source: "e";
program {
signal: "e,state,maximize*"; source: "e";
action: STATE_SET "hidden" 0.0;
target: "bottom";
}
program { signal: "e,state,unmaximize*"; source: "e";
program {
signal: "e,state,unmaximize*"; source: "e";
after: "unshade";
}
program { signal: "e,state,unshaded"; source: "e";
program {
signal: "e,state,unshaded"; source: "e";
after: "unshade";
}
program { name: "unshade";
program {
name: "unshade";
signal: "e,state,unshading"; source: "e";
action: STATE_SET "default" 0.0;
target: "bottom";
}
program { name: "iconify";
action: STATE_SET "iconic" 0.0;
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
transition: ACCELERATE 0.2 CURRENT;
target: "spacer";
}
program { name: "uniconify";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
transition: DECELERATE 0.2 CURRENT;
target: "spacer";
}
program { signal: "e,action,uniconify"; source: "e";
program {
signal: "e,action,uniconify"; source: "e";
action: ACTION_STOP;
target: "iconify";
after: "uniconify";
}
program { signal: "e,action,iconify"; source: "e";
program {
signal: "e,action,iconify"; source: "e";
action: ACTION_STOP;
target: "uniconify";
after: "iconify";
@ -255,7 +275,7 @@ group { name: "e/deskmirror/frame/noresize";
}
part { name: "bottom"; type: RECT;
description { state: "default" 0.0;
color_class: "/bg/normal/border";
color_class: "border_bottom";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -1;
rel2.relative: 1.0 1.0;
@ -278,7 +298,7 @@ group { name: "e/deskmirror/frame/noresize_dialog";
}
part { name: "bottom"; type: RECT;
description { state: "default" 0.0;
color_class: "/bg/normal/border";
color_class: "border_bottom";
rel1.relative: 0.0 1.0;
rel1.offset: 0 -1;
rel2.relative: 1.0 1.0;
@ -295,16 +315,17 @@ group { name: "e/deskmirror/frame/pixel";
parts {
part { name: "client_clip"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.swallow.client";
rel1.to: "e.swallow.client";
rel2.to: "e.swallow.client";
}
}
part { name: "frame"; type: RECT;
description { state: "default" 0.0;
color_class: "/bg/normal/border/outline";
color: 0 0 0 255;
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color_class: "/bg/selected/border/outline";
color: 51 153 255 255;
}
}
part { name: "e.swallow.client"; type: SWALLOW;
@ -316,11 +337,15 @@ group { name: "e/deskmirror/frame/pixel";
}
}
programs {
program { signal: "e,state,focused"; source: "e";
program {
name: "focus";
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "frame";
}
program { signal: "e,state,unfocused"; source: "e";
program {
name: "unfocus";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "frame";
}
@ -331,20 +356,19 @@ group { name: "e/deskmirror/frame/tiling";
parts {
part { name: "client_clip"; type: RECT;
description { state: "default" 0.0;
rel.to: "e.swallow.client";
rel1.to: "e.swallow.client";
rel2.to: "e.swallow.client";
}
}
part { name: "frame"; type: RECT;
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
rel1.offset: -1 -1;
rel2.offset: 0 0;
color_class: "/bg/selected/border/outline";
color: 255 255 255 0; // no cc
}
description { state: "focused" 0.0;
inherit: "default" 0.0;
color: 255 255 255 255; // no cc
color: 51 153 255 255;
}
}
part { name: "e.swallow.client"; type: SWALLOW;
@ -354,11 +378,15 @@ group { name: "e/deskmirror/frame/tiling";
}
}
programs {
program { signal: "e,state,focused"; source: "e";
program {
name: "focus";
signal: "e,state,focused"; source: "e";
action: STATE_SET "focused" 0.0;
target: "frame";
}
program { signal: "e,state,unfocused"; source: "e";
program {
name: "unfocus";
signal: "e,state,unfocused"; source: "e";
action: STATE_SET "default" 0.0;
target: "frame";
}
@ -383,40 +411,43 @@ group { "e/deskmirror/frame/borderless";
desc {
source: "e.swallow.client";
hid;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
}
desc { "urgent1"; inherit: "default";
vis;
color: 255 255 255 255; // no cc
color: 255 255 255 255;
}
desc { "urgent2"; inherit: "default";
vis;
rel1.relative: -2.0 -2.0;
rel2.relative: 3.0 3.0;
color: 255 255 255 0; // no cc
color: 255 255 255 0;
}
}
program { name: "iconify";
action: STATE_SET "iconic" 0.0;
transition: ACCELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
transition: ACCELERATE 0.2 CURRENT;
target: "spacer";
}
program { name: "uniconify";
action: STATE_SET "default" 0.0;
transition: DECELERATE 0.2 CURRENT USE_DURATION_FACTOR 1;
transition: DECELERATE 0.2 CURRENT;
target: "spacer";
}
program { signal: "e,action,uniconify"; source: "e";
program {
signal: "e,action,uniconify"; source: "e";
action: ACTION_STOP;
target: "iconify";
after: "uniconify";
}
program { signal: "e,action,iconify"; source: "e";
program {
signal: "e,action,iconify"; source: "e";
action: ACTION_STOP;
target: "uniconify";
after: "iconify";
}
program { signal: "e,state,urgent"; source: "e";
program { name: "urgent";
signal: "e,state,urgent"; source: "e";
action: ACTION_STOP;
target: "go_big";
target: "go_big2";
@ -429,11 +460,12 @@ group { "e/deskmirror/frame/borderless";
}
program { name: "go_big2";
action: STATE_SET "urgent2" 0.0;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
transition: LINEAR 0.5;
target: "clone";
after: "go_big";
}
program { signal: "e,state,not_urgent"; source: "e";
program { name: "not_urgent";
signal: "e,state,not_urgent"; source: "e";
action: ACTION_STOP;
target: "go_big";
target: "go_big2";
@ -441,7 +473,7 @@ group { "e/deskmirror/frame/borderless";
}
program { name: "go_hid";
action: STATE_SET "default" 0.0;
transition: LINEAR 0.5 USE_DURATION_FACTOR 1;
transition: LINEAR 0.5;
target: "clone";
}
}

View File

@ -4,7 +4,7 @@ group { name: "e/widgets/deskpreview/desk";
part { name: "e.event.menu"; type: RECT;
insert_after: "e.swallow.content";
description { state: "default" 0.0;
color: 0 0 0 0; // no cc
color: 0 0 0 0;
}
}
}

View File

@ -2,11 +2,10 @@ group { name: "e/widgets/dialog/main";
parts {
part { name: "base"; type: RECT;
description { state: "default" 0.0;
color_class: "/bg/normal/background";
color: 64 64 64 255;
}
}
part { name: "separator"; type: RECT; mouse_events: 0;
scale: 1;
description { state: "default" 0.0;
min: 16 1;
max: 99999 1;
@ -16,7 +15,7 @@ group { name: "e/widgets/dialog/main";
rel2.relative: 1.0 0.0;
rel2.offset: -1 -1;
rel2.to_y: "e.swallow.buttons";
color_class: "/fg/normal/separator/horizontal";
color: 72 72 72 255;
fixed: 0 1;
link.base: "e,state,buttons,on" "e";
visible: 1;
@ -89,12 +88,14 @@ group { name: "e/widgets/dialog/main";
}
}
programs {
program { signal: "e,icon,enabled"; source: "e";
program {
signal: "e,icon,enabled"; source: "e";
action: STATE_SET "icon" 0.0;
target: "e.swallow.icon";
target: "e.swallow.content";
}
program { signal: "e,icon,disabled"; source: "e";
program {
signal: "e,icon,disabled"; source: "e";
action: STATE_SET "default" 0.0;
target: "e.swallow.icon";
target: "e.swallow.content";
@ -105,7 +106,7 @@ group { name: "e/widgets/dialog/main";
group { name: "e/widgets/dialog/text";
styles {
style { name: "dialog_style";
base: "font="FN" font_size=10 text_class=tb_plain align=center color=cc:/fg/normal/text wrap=word";
base: "font="FN" font_size=10 text_class=tb_plain align=center color=#a0a0a0 wrap=word";
tag: "br" "\n";
tag: "hilight" "+ font="FNBD" text_class=tb_light";
}

Some files were not shown because too many files have changed in this diff Show More