All Projects → aseprite → laf

aseprite / laf

Licence: MIT license
A C++ library to create desktop applications

Programming Languages

C++
36643 projects - #6 most used programming language
Objective-C++
1391 projects
CMake
9771 projects
c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to laf

Chakra Ui
⚡️ Simple, Modular & Accessible UI Components for your React Applications
Stars: ✭ 22,745 (+10578.4%)
Mutual labels:  ui-library
Leaf Ui
🍃 Leaf-UI: A react component library built using styled-components
Stars: ✭ 98 (-53.99%)
Mutual labels:  ui-library
Compose For Web Demos
Demo projects powered by Compose for Web. / DON'T USE IN PRODUCTION!
Stars: ✭ 163 (-23.47%)
Mutual labels:  ui-library
Daisyui
⭐️ ⭐️ ⭐️ ⭐️ ⭐️  Tailwind Components
Stars: ✭ 382 (+79.34%)
Mutual labels:  ui-library
Vitamin Web
Decathlon Design System libraries for web applications
Stars: ✭ 70 (-67.14%)
Mutual labels:  ui-library
Realtaiizor
C# WinForm UI/UX Component Library
Stars: ✭ 109 (-48.83%)
Mutual labels:  ui-library
Ej2 Javascript Ui Controls
Syncfusion JavaScript UI controls library offer more than 50+ cross-browser, responsive, and lightweight HTML5 UI controls for building modern web applications.
Stars: ✭ 256 (+20.19%)
Mutual labels:  ui-library
Awesome Design Systems
💅🏻 ⚒ A collection of awesome design systems
Stars: ✭ 13,308 (+6147.89%)
Mutual labels:  ui-library
Cube Ui
🔶 A fantastic mobile ui lib implement by Vue
Stars: ✭ 8,896 (+4076.53%)
Mutual labels:  ui-library
Ms Design
Vue components that implement Microsoft Design Language
Stars: ✭ 150 (-29.58%)
Mutual labels:  ui-library
Vstgui
A user interface toolkit mainly for audio plug-ins
Stars: ✭ 443 (+107.98%)
Mutual labels:  ui-library
Carbon Components Svelte
Svelte implementation of the Carbon Design System
Stars: ✭ 685 (+221.6%)
Mutual labels:  ui-library
React Rainbow
🌈 React Rainbow Components. Build your web application in a snap.
Stars: ✭ 1,662 (+680.28%)
Mutual labels:  ui-library
Vant
Lightweight Mobile UI Components built on Vue
Stars: ✭ 18,852 (+8750.7%)
Mutual labels:  ui-library
Vant React
Lightweight 2kb Mobile UI Components built on React and TS, inspired by [email protected]://github.com/youzan/vant
Stars: ✭ 166 (-22.07%)
Mutual labels:  ui-library
Weightless
High-quality web components with a small footprint
Stars: ✭ 284 (+33.33%)
Mutual labels:  ui-library
Class101 Ui
💅A React-based UI Component Library.
Stars: ✭ 102 (-52.11%)
Mutual labels:  ui-library
WeTrident
一站式App开发套件,帮助开发者快速开发可正式上线运营的App。
Stars: ✭ 121 (-43.19%)
Mutual labels:  ui-library
Luda
A library helps to build cross-framework UI components.
Stars: ✭ 170 (-20.19%)
Mutual labels:  ui-library
Smooth Ui
Modern React UI library 💅👩‍🎤🍭
Stars: ✭ 1,583 (+643.19%)
Mutual labels:  ui-library

LAF: The Lost Application Framework

build MIT Licensed

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.

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-m102. 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):

git clone https://github.com/aseprite/laf.git
cd laf
mkdir build
cd build
cmake -G Ninja \
  -DLAF_BACKEND=skia \
  -DSKIA_DIR=/skiadir \
  -DSKIA_LIBRARY_DIR=/skiadir/out/Release-x64 \
  ..
ninja
./examples/helloworld

To compile only the library (without examples and tests) you can disable the LAF_WITH_EXAMPLES/LAF_WITH_TESTS options:

cmake -DLAF_WITH_EXAMPLES=OFF -DLAF_WITH_TESTS=OFF ...

Running Tests

You can use ctest to run all tests:

cd build
ninja
ctest

License

laf is distributed under the terms of the MIT license.

Some functions in laf depends on third party libraries (you should include these license notices when you distribute your software):

  • Tests use the Google Test framework by Google Inc. licensed under a BSD-like license.
  • Color spaces, gfx::Region, and the laf::os library use code from the Skia library by Google Inc. licensed under a BSD-like license and several other third-party libraries/licenses.
  • gfx::Region uses the pixman library if you are not compiling with the Skia backend (e.g. a if you want to create only Command Line utilities that uses the gfx::Region class) on Linux or macOS. On Windows we use an alternative implementation with HRGN. Pixman is distributed under the MIT License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].