Skip to content

Advanced move and draw functions - #285

Open
MarcusNebel wants to merge 6 commits into
MrTroble:1.12-masterfrom
MarcusNebel:1.12-master
Open

MarcusNebel wants to merge 6 commits into
MrTroble:1.12-masterfrom
MarcusNebel:1.12-master

Conversation

@MarcusNebel

Copy link
Copy Markdown

This pull request introduces a new area selection and movement tool, as well as a draw tool, to the signal box GUI. These features allow users to select rectangular regions of the grid, move them interactively, and draw tiles more efficiently. The changes span the GUI, rendering, and network layers to support these new editing capabilities.

Area Selection and Movement Tool

  • Added area selection and movement support in UISignalBoxRendering, including logic for starting, updating, and finishing area selections and moves, as well as visual feedback for selected and moved areas.

Draw Tool

  • Added a draw tool to enable rapid tile editing by dragging the mouse, with logic to determine add/remove mode and prevent redundant toggles.
  • Added draw tool toggle UI elements in the side panel, with visual highlighting and mode switching logic.

UI and Rendering Enhancements

  • Added toggle buttons for switching between move and draw tools in the side panel, including tooltips and highlight updates.
  • Enhanced rendering to visualize area selections and moves with colored rectangles and previews.

These changes significantly improve the usability and efficiency of the signal box editor by allowing bulk editing and more intuitive interactions.

@MrTroble
MrTroble requested review from Jeronimo97 and Uhutown and removed request for Uhutown October 17, 2026 17:10
@MrTroble

Copy link
Copy Markdown
Owner

Check compatibility with #277 and test @Uhutown

@MrTroble

Copy link
Copy Markdown
Owner

Thank you for your contribution. Sadly we are currently all working on other stuff so this could take a while. We have also done some big changes to the UI in a still (since fking 5 months) unmerged PR

@Uhutown Uhutown self-assigned this Oct 19, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants