Stop clipping the cat at the window edge
The cat was drawn in a 100 x 90 box that was exactly the window, so anything reaching past it was cut off: the right whiskers always, and more of them in poses that push the head forward, up to art x 109 while stretching. The window box is now 120 x 106 with the drawing inset at (7, 14). The slack is symmetric on purpose, because facing left mirrors the art about the box centre, so asymmetric slack would clip the other side instead. The mood-name mapper grew the shared aspect ratio and became CatDefs, so every window sizes the cat the same way. Nose and mug offsets follow the new inset. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
403ac30b3a
commit
6b9553f6d4
8 files changed
+78
-66
No files matched your search
+2
-2
@@ -22,13 +22,13 @@ qt_add_executable(tncat
|
||||
target_include_directories(tncat PRIVATE src)
|
||||
|
||||
# QML files live in qml/ but register at the module root (TNCat.Main etc.)
|
||||
set(TNCAT_QML Main Cat Chip Cup CatWindow ChipWindow CupWindow OverlayWindow SettingsWindow CatMoods)
|
||||
set(TNCAT_QML Main Cat Chip Cup CatWindow ChipWindow CupWindow OverlayWindow SettingsWindow CatDefs)
|
||||
foreach(qmlfile IN LISTS TNCAT_QML)
|
||||
set_source_files_properties(qml/${qmlfile}.qml PROPERTIES QT_RESOURCE_ALIAS ${qmlfile}.qml)
|
||||
list(APPEND TNCAT_QML_FILES qml/${qmlfile}.qml)
|
||||
endforeach()
|
||||
|
||||
set_source_files_properties(qml/CatMoods.qml PROPERTIES QT_QML_SINGLETON_TYPE TRUE)
|
||||
set_source_files_properties(qml/CatDefs.qml PROPERTIES QT_QML_SINGLETON_TYPE TRUE)
|
||||
|
||||
qt_add_qml_module(tncat
|
||||
URI TNCat
|
||||
|
||||
Reference in new issue
Block a user