|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Modifier-key state captured at the moment a mouse event was dispatched. Tools use this for shift-add-to-selection, alt-clone, etc. Default-constructed = no modifiers, which keeps existing callsites that don't care about modifiers source-compatible. More...
#include "donner/editor/Tool.h"
Public Attributes | |
| bool | shift = false |
| Shift held — used by SelectTool to toggle/extend selection rather than replacing it. | |
Modifier-key state captured at the moment a mouse event was dispatched. Tools use this for shift-add-to-selection, alt-clone, etc. Default-constructed = no modifiers, which keeps existing callsites that don't care about modifiers source-compatible.
| bool donner::editor::MouseModifiers::shift = false |
Shift held — used by SelectTool to toggle/extend selection rather than replacing it.