Fresnel

This is the current revision of Fresnel, edited by Mattias2 at .

/* Roadmap */

Overview

Fresnel is a visual component library based on CSS and custom drawn components. It is in an early stage of development.

git repo: https://gitlab.com/freepascal.org/lazarus/fresnel

Requirements: fpc 3.2.2 and Lazarus 4.99.

Advantages

Quick Start

Download/clone the above git repository. Then open in Lazarus one of the demos, e.g. demo/ButtonGenerator/ButtonGenerator.lpi

The above screenshot was using the skia renderer. The LCL renderer lacks some features and does not use sub pixel rendering.

Gallery

The InspectorDemo showing CSS rules of an element and its box model properties:

The IDEDemo with a port of SynEdit as editor control:

Platforms

Fresnel runs already natively on

Fresnel forms can also run inside an LCL application.

Documentation

Docs in the git repository

Architecture - explains how Fresnel is put together, in plain language, for someone who is new to the code.

Controls - explains, for each control, what elements it is made of and which CSS you can write to change its look.

CSS Engine -

Development Guide - how to build Fresnel, run the tests, and write your first app, in plain steps.

Wiki pages

Fresnel CSS Algorithm

What is working?

As Fresnel is still in an alpha stage, many things do work already:

Skia

Skia is a dynamic lib. Set the environment variable: 
 set or export LD_LIBRARY_PATH=~/pathtoyour/fresnel/bin/Binary/Shared/Linux64/
Skia is a static lib. Add your fpc linker search path -FL: 
/Users/USERNAME/pathtoyour/fresnel/bin/Binary/Static/OSXARM64
For the static library add to the linker search path -FL:
/Users/USERNAME/pathtoyour/fresnel/bin/Binary/Static/OSX64

Goals

The main goals are at the moment:

Roadmap