Compare commits

...

3 Commits

Author SHA1 Message Date
28b92b0f4c prep qoi 2024-03-04 12:38:39 +01:00
c966fc6954 update sub changes coming from fs/os research 2024-03-04 11:28:51 +01:00
d0761bf60e revert crop by default (did not work as intended) 2024-02-29 19:15:33 +01:00
7 changed files with 19 additions and 4 deletions

View File

@@ -17,4 +17,5 @@ add_subdirectory(./imgui)
add_subdirectory(./stb)
add_subdirectory(./libwebp)
add_subdirectory(./qoi)

13
external/qoi/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.13...3.24 FATAL_ERROR)
project(qoi C CXX)
# do fetch or subtree
#add_library(stb INTERFACE)
#target_include_directories(stb SYSTEM INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}")
# static lib with impl
add_library(qoi "qoi.cpp")
#target_link_libraries(qoi stb)

1
external/qoi/qoi.cpp vendored Normal file
View File

@@ -0,0 +1 @@
// TODO: include and impl

View File

@@ -32,7 +32,7 @@ struct SendImagePopup {
Rect crop_rect;
Rect crop_before_drag;
bool cropping {true};
bool cropping {false};
bool dragging_last_frame_ul {false};
bool dragging_last_frame_lr {false};