Feature: (-tte) Add zoom level buttons to sprite aligner.

This allows for offsets to be adjusted a different zoom level than currently in use, and offset adjustment and display is also more convenient.
This commit is contained in:
Peter Nelson
2023-11-29 17:43:04 +00:00
committed by Peter Nelson
parent 4e5700939d
commit 0434c1b474
2 changed files with 41 additions and 13 deletions

View File

@@ -37,6 +37,8 @@ enum SpriteAlignerWidgets {
WID_SA_PICKER, ///< Sprite picker.
WID_SA_LIST, ///< Queried sprite list.
WID_SA_SCROLLBAR, ///< Scrollbar for sprite list.
WID_SA_ZOOM, ///< Zoom level buttons (from ZOOM_LVL_BEGIN to ZOOM_LVL_END).
WID_SA_ZOOM_LAST = WID_SA_ZOOM + ZOOM_LVL_END - 1, ///< Marker for last zoom level button.
WID_SA_RESET_REL, ///< Reset relative sprite offset
WID_SA_CENTRE, ///< Toggle centre sprite.
WID_SA_CROSSHAIR, ///< Toggle crosshair.