Close

prerendered menu sketch

A project log for FreEader - minimal e-book reader

HTML/EPUB <pandoc> LATEX <dvipng> png <imagemagick> pbm <pbmtojbg85> SD-Card <uC> 4.4" E-Ink

ventosusventosus 09/13/2015 at 19:300 Comments

Althoug freeader should be a minimal reader, there must be some way to navigate between books, e.g. a kind of menu structure.

This menu structure will also be prerendered pixel data, like the books themselves.

I use Edje from the Enlightenment Foundation Libraries (EFL) as underlying theming and layouting engine.

https://docs.enlightenment.org/auto/eio/edje_main.html

https://docs.enlightenment.org/auto/edje/edcref.html

Why Edje? I have built other things on top of the EFL, know them well and like them a lot.

https://github.com/ventosus/edje2yuv

https://openmusickontrollers.github.io/lv2/synthpod/

With Evas (the EFL canvas library) you can draw to pretty much everying (X11, openGL, Wayland, framebuffer, pixel buffer, ...). Here I draw to a pixel buffer and then compress it with JBIG1.

By using Edje, the menu structure can be themed to the last nut. I've experimented a bit and below you can see two screenshots of a sketch of a simple menu theme.

The menu structure will have limited capabilities, e.g. navigating a directory tree and loading a given book.

I have just uploaded my repository with the current toolchain.

https://github.com/ventosus/freeader

Discussions