ArticleslgStudy

computer science

Enlightenment Foundation Libraries

Enlightenment Foundation Libraries is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Enlightenment Foundation Libraries rather than just read about it. In short: The Enlightenment Foundation Libraries (EFL) are a set of graphics libraries that grew out of the development of Enlightenment, a window manager and Wayland compositor. The project's focus is to make the EFL a flexible yet powerful and easy to use set of tools to extend the capabilities of both the Enlightenment window manager and other software projects based on the EFL.

Enlightenment Foundation Libraries — main illustration
Enlightenment Foundation Libraries — illustration

Key takeaways

  • Enlightenment Foundation Libraries belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Enlightenment Foundation Libraries to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Enlightenment Foundation Libraries from memory before moving on to harder problems.

Reference excerpt

The Enlightenment Foundation Libraries (EFL) are a set of graphics libraries that grew out of the development of Enlightenment, a window manager and Wayland compositor. The project's focus is to make the EFL a flexible yet powerful and easy to use set of tools to extend the capabilities of both the Enlightenment window manager and other software projects based on the EFL. The libraries are meant to be portable and optimized to be functional even on mobile devices such as smart phones and tablets. The libraries were created for version 0.17 of the window manager. EFL is developed by Enlightenment.org with some sponsorship from Samsung, ProFUSION and Free.fr. EFL is free and open source software.

Core components

Evas Evas is the EFL canvas library, for creating areas, or windows, that applications can draw on in an X Window System. The EFL uses hardware-acceleration where possible to allow it to work faster, but is also designed to work on lower-end hardware, falling back to lower color and quality for graphics if necessary. Unlike most canvas libraries, it is primarily image-based (as opposed to vector-based) and fully state-aware (the vast majority of canvases are stateless, requiring the programmer to keep track of state).

Edje Edje is a library that attempts to separate the user interface from the application. It allows applications to be skinnable, so that it is possible to change the GUI of an application without changing the application itself. Edje-based applications use files which contain the specifications for the GUI layout that is to be used. Edje themes are contained using EET generated files.

Ecore Ecore is an event abstraction, and modular convenience library, intended to simplify a number of common tasks. It is modular, so applications need only call the minimal required libraries for a job. Ecore simplifies working with X, Evas, and also a few other things, such as network communications and threads.

Embryo Embryo implements a scripting language used by other parts of the EFL, such as Edje. The language has a C-like syntax, and was based on the C-like, scriptable language Pawn - built on the old Small-C compiler.

EET EET is a library that is designed to store and load all types of data, locally or through a network stream. It is designed to be light-weight, efficient and quick. EET forms the basis of theme files in the EFL, i.e. if you want to install a theme for Enlightenment or another themable EFL app, you would be installing an EET-format file, which contains all of the theme graphics and configuration and it does not need to be extracted onto the filesystem in order to be used. It is also the basis for all IPC communication and all configuration. Even if it's a binary file format, it is possible to dump or undump it on the fly to see what's going from a human point of view.

Eina Eina is the base library of all data types used by the EFL. It is designed to reduce CPU-usage as much as possible without using too much memory. It provides list (and inlined list), hash, red-black tree, shared string, rectangle, array, iterator and accessor, memory pool, module, fixed point and magic check helper. The library itself is small and could easily be used without any other EFL libraries.

Helper components

Ethumb Ethumb is a library for creating thumbnails of many types of images, designed to be compliant with freedesktop.org's Thumbnail Managing Standard. It supports all of the file formats that Evas supports, including PNG, JPEG, TIFF, GIF, etc.

Emotion Emotion is a library providing video-playing capabilities through the use of smart-objects. Emotion provides several video backends. The best-supported one is libxine, a well-established video-playing library, but gstreamer and vlc backends are also provided. Thus, Emotion supports all of the video formats that video libraries support, including Ogg Theora, DivX, MPEG2, etc.

Elementary Elementary is a widget set based on the EFL that makes heavy use of Evas and Edje to provide a fast, stable, and scalable library that can be used to create both rich and fast applications that can be used on anything from every day desktop computers to small PDAs and set-top boxes. It is designed to fully expose the capability of the EFL.

EIO EIO provide asynchronous file system operation, like listing the content of directory, copying and moving directory and files around. It relies on Ecore thread ability and, if correctly used, prevents any lock in the interface when browsing local file content.

Defunct/deprecated EFL components EWD (features now added to Ecore) Estyle (features have been absorbed by Etox) Etox (obsolete) Ebits (replaced by Edje) Evoak (dead) Imlib2 (replaced by Evas in E17, no new features will be added) EDB (replaced by EET) EXML EPEG (feature obsoleted by Evas) Epsylon (replaced by Ethumb) Engrave (feature have been absorbed by Edje) Esmart (not maintained and job's better done by Elementary)

See also Entrance (display manager)

References

External links Official website

Worked examples

Example 1 — a first encounter with Enlightenment Foundation Libraries

Start with the simplest possible case. Write down what Enlightenment Foundation Libraries claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Enlightenment Foundation Libraries before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Enlightenment Foundation Libraries ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Enlightenment Foundation Libraries

In research
Enlightenment Foundation Libraries appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Enlightenment Foundation Libraries in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Enlightenment Foundation Libraries is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cross-platform software, Enlightenment Foundation Libraries, Free graphics software, so understanding it makes those chapters shorter.
In everyday life
Look for Enlightenment Foundation Libraries outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Enlightenment Foundation Libraries” →

How to study Enlightenment Foundation Libraries in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Enlightenment Foundation Libraries means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Enlightenment Foundation Libraries out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Enlightenment Foundation Libraries in simple terms?

The Enlightenment Foundation Libraries (EFL) are a set of graphics libraries that grew out of the development of Enlightenment, a window manager and Wayland compositor. The project's focus is to make the EFL a flexible yet powerful and easy to use set of tools to extend the capabilities of both the…

Why does Enlightenment Foundation Libraries matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Enlightenment Foundation Libraries?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Enlightenment Foundation Libraries.

Tags

  • Cross-platform software
  • Enlightenment Foundation Libraries
  • Free graphics software
  • Software using the BSD license
  • Widget toolkits

Keep exploring