Skip to content
/ eflete Public
forked from dimmus/eflete

Theme Editor for Enlightenment Foundation Library-based applications

License

Notifications You must be signed in to change notification settings

weblate/eflete

 
 

Repository files navigation

EFLETE (EFL Edge Theme Editor)


GitHub repo size GitHub commit activity Maintenance Coverity Scan Build Status


Work in progress! Limited functionality.

Efl Edje Theme Editor is a rich graphical tool for Enlightenment Foundation Library (EFL) that provides UI for edc markup. It is aimed at simplifying the creation and editing of widget styles. In addition, this is a great example of a full-fledged practical use of the amazing functionality of the EFL.

An EDC (Edje data collection) file is a text file that contains the code describing the position, size, and other parameters of graphical elements that compose the visual aspect of your EFL application. In addition to graphical elements, it can also handle sounds. EDC is a description language where the objects of an interface are described using a text description. An EDC file needs to be compiled into a .edj file using the Edje library tools. After compiling, the .edj file can be used as a theme file by a native EFL-based application.

No one, for sure, wants to learn EDC syntax. Eflete was designed with the idea that its target users are not just programmers but also designers. Besides styles, Eflete is also able to create and edit custom layouts. This is a useful feature for developers who create application layouts.

Requirements

  • EFL >=1.26.0

Please note that some features may not quite function correctly or completely!

Compiling

Once you have met the requirements, compiling and installing is simple:

./autogen.sh
make
sudo make install

If you want a really debuggable piece of code where optimizations mess with little to nothing at all, use:

./configure CFLAGS="-O -g -ffast-math -march=native -ggdb3"

Note that if you wish to compile for older architectures than your current system, please look up the compiler documentation and replace ''-march=native'' with something appropriate.

Use the --prefix option on the configure step to install the program to a specific directory:

./configure --prefix=/full/path/to/some/dir

You will want to ensure the default prefix /usr/local is available to build tools. If you know what you are doing, you can change the prefix, but this assumes you do not and the above prefix is used. These environment variables are used during the build, so you may want to make them more permanent.

export PATH=/usr/local/bin:"$PATH"
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:"$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH=/usr/local/lib:"$LD_LIBRARY_PATH"

Applying themes

To apply a theme to elementary, you should place the .edj-file in the elementary themes directory (default: /usr/local/share/elementary/themes). Note: do not forget to add read permissions to the copied file. After that, the theme will be available for selection from elementary_config.

Bash autocompletion

To enable bash autocompletion for eflete, copy eflete_autocompletion.sh file (you can find it in scripts folder) to your bash completion directory or add the following line to your ~/.bashrc: source /YOUR/PATH/eflete_autocompletion.sh

About

Theme Editor for Enlightenment Foundation Library-based applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.7%
  • Other 2.3%