{"repo":"aseprite/laf","free":true,"listed":false,"github":"https://github.com/aseprite/laf","clone":"git clone https://github.com/aseprite/laf.git","description":"A C++ library to create desktop applications","language":"C++","stars":347,"topics":["cpp","cross-platform","ui-library","cpp17"],"license":"MIT","category":"ui-components","readme_excerpt":"LAF: The Lost Application Framework A library to create Windows, macOS, and Linux applications. This library is under active development so we don't provide API or ABI compatibility at this moment. Documentation Dependencies laf can be compiled with two back-ends ( LAF BACKEND ): skia or none . When LAF BACKEND=skia , laf requires a compiled version of the Skia library from branch aseprite-m124 . You can check the aseprite/skia fork which includes a release with pre-built versions, or the check the instructions to compile skia from scratch. When LAF BACKEND=none , the Pixman library can be used as an alternative implementation of the gfx::Region class (generally if you're using laf-os you will link it with Skia, so there is no need for Pixman at all). Compile To compile laf with Skia as backend you have to specify some variables pointing to a valid compiled version of Skia in your disk. In the following example /skiadir is the absolute path to a directory where the Skia source code + compiled version is, or just where you've uncompressed a pre-built package of Skia (note that in this case /skiadir/out/Release-x64 should contain the Skia library files, i.e. skia.lib on Windows or libskia.a on other platforms): To compile only the library (without examples and tests) you can disable the LAF WITH EXAMPLES / LAF WITH TESTS options: Running Tests You can use ctest to run all tests: License laf is distributed under the terms of the MIT license. Some functions in laf depends on thir","default_branch":null,"files":null,"tree":[],"storefront":"/r/aseprite","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aseprite/laf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}