Compare commits

..

4 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
0f41ee6a2e add screencap to readme 2024-02-23 11:20:49 +01:00
9 changed files with 23 additions and 4 deletions

View File

@@ -2,3 +2,7 @@
![tomato](res/icon/tomato_v1_256.png)
## Highly experimental solanaceae client with Tox built-in
![group chat](res/tomato_screenshot_group_bot_text_23-02-2024.png)

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

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};