laf
laf copied to clipboard
A C++ library to create desktop applications
This PR contains the drag and drop implementation in each platform for laf. Also exposes the API that can be used by laf clients to use drag and drop in...
reinterpret_cast on pointers break strict-aliasing rule (-Wstrict-aliasing). Implemented internal function copy_reinterpret_cast that memcpy pointer into type, that can be converted to desired type. Closes https://github.com/aseprite/aseprite/issues/4413 I agree that my contributions...
Some changes that must be done for a probable first release of the library (some of these items are implemented in an internal beta version that will be published in...
fix [aseprite/aseprite#3989](https://github.com/aseprite/aseprite/issues/3936) Allows to pick files with \ in files names in Linux. Should also work with MacOS. I agree that my contributions are licensed under the MIT License.
When building with shared libraries is enabled in the top-level project (e.g. aseprite here), laf still tries to find the vendored source. This PR fixes the issue by checking whether...
``` find_library() is not a proper way for finding OpenGL libraries. On Windows, SKIA_OPENGL_LIBRARY got "SKIA_OPENGL_LIBRARY-NOTFOUND" without using VS-Dev-CMD. See discussions here: https://gitlab.kitware.com/cmake/cmake/-/issues/19804 https://gitlab.kitware.com/cmake/cmake/-/issues/20226 Use find_package(OpenGL) and OpenGL::GL instead. ```...
I can't compile laf for some reason. The error-message is just "collect2: error: ld returned 1 exit status". I am trying to compile laf with skia. I downloaded skia-m102 from...
As we are going to use zenity for the native file dialog, it would be nice to implement some issues for zenity like: - [ ] https://gitlab.gnome.org/GNOME/zenity/-/issues/13 - [ ]...
I tried following the [compile section](https://github.com/aseprite/laf#compile) but I got a error when running `ninja`: ```sh FAILED: gfx/packing_rects_tests : && /usr/bin/c++ gfx/CMakeFiles/packing_rects_tests.dir/packing_rects_tests.cpp.o -o gfx/packing_rects_tests lib/libgtest.a gfx/liblaf-gfx.a -lpthread base/liblaf-base.a -lpthread /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libGL.so...
Hi there, currently I am having a problem compiling laf at the cmake command cmake -G Ninja \ -DLAF_BACKEND=skia \ -DSKIA_DIR=/skiadir \ -DSKIA_LIBRARY_DIR=/skiadir/out/Release-x64 \ when I put that on the...