summaryrefslogtreecommitdiff
path: root/tikzit/src/gtk/SelectTool.m
AgeCommit message (Collapse)Author
2017-01-11made new subdirAleks Kissinger
2013-08-29When dragging, only snap leader node to gridAlex Merry
If you've carefully hand-positioned various nodes on a diagram relative to each other, and then want to move the whole thing around, you generally don't want to change their position relative to each other. So we only snap the node being dragged to the grid. Everything else in the selection maintains its position relative to that node.
2013-08-27Properly clear selection boxAlex Merry
It turns out the selection box, rather than being properly set to the zero rectangle, was being set to the value of an uninitialised NSRect created on the stack. This never caused any issues for me before, because my system compiles things with _FORTIFY_SOURCE by default, which zeros new variables. It was only when I (indirectly) disabled this for debugging in gdb that I started getting selection boxes appearing in odd places.
2013-08-04GTK: SelectTool: return to QuietState on mouse releaseAlex Merry
2013-03-22Add debugging option to Select toolAlex Merry
Selecting edges and/or nodes and pressing shift-d will print info about them to the console.
2013-02-13GTK: Add shortcuts for changing selection modeAlex Merry
Now when the graph has focus, shift+n will choose node selection, shift+e edge selection and shift+b both.
2012-12-11Remove use of GtkFrame in tool windowsAlex Merry
It's unnecessary and a waste of space. Use bolded titles instead.
2012-12-07Add select tool option for drag-selecting edgesAlex Merry
Drag-select can now select nodes, edges or both.
2012-12-07Only discard selection when switching to another toolAlex Merry
Before, the selection was discarded even when another window grabbed the tool.
2012-12-06Add a toolboxAlex Merry
Just allows selecting tools, so far - no tool configuration.
2012-12-06Refactor GraphInputHandler into ToolsAlex Merry