Andreas Kling
197ed1bb2a
HackStudio: Move the rubber-banding state into CursorTool
...
I originally put it in FormWidget because CursorTool was clueless about
painting. This patch adds Tool::on_second_paint() which allows all the
tools to hook into the second paint pass.
2019-11-16 22:26:46 +01:00
Andreas Kling
c8637e0206
HackStudio: Allow moving the selected widgets using the arrow keys
...
This is a nice complement to moving widgets with the mouse. :^)
2019-11-10 22:40:58 +01:00
Andreas Kling
567769eb2f
HackStudio: Allow moving widgets around using the CursorTool
...
You can now move the widgets around, either by themselves or in group
selections, by dragging them with the cursor tool. :^)
2019-11-10 22:31:10 +01:00
Andreas Kling
e87756424d
HackStudio: Introduce a Tool class with subs CursorTool and WidgetTool
...
These will be used to draw out new widgets on a FormWidget, or in the
case of CursorTool, to select and manipulate existing widgets.
2019-11-10 21:45:32 +01:00