1 /** @file
2 * Commit events.
3 */
4 /* Authors:
5 * Krzysztof KosiĆski <tweenk.pl@gmail.com>
6 *
7 * Copyright (C) 2009 Authors
8 * Released under GNU GPL, read the file 'COPYING' for more information
9 */
11 #ifndef SEEN_UI_TOOL_COMMIT_EVENTS_H
12 #define SEEN_UI_TOOL_COMMIT_EVENTS_H
14 namespace Inkscape {
15 namespace UI {
17 /// This is used to provide sensible messages on the undo stack.
18 enum CommitEvent {
19 COMMIT_MOUSE_MOVE,
20 COMMIT_KEYBOARD_MOVE_X,
21 COMMIT_KEYBOARD_MOVE_Y,
22 COMMIT_MOUSE_SCALE,
23 COMMIT_MOUSE_SCALE_UNIFORM,
24 COMMIT_KEYBOARD_SCALE_UNIFORM,
25 COMMIT_KEYBOARD_SCALE_X,
26 COMMIT_KEYBOARD_SCALE_Y,
27 COMMIT_MOUSE_ROTATE,
28 COMMIT_KEYBOARD_ROTATE,
29 COMMIT_MOUSE_SKEW_X,
30 COMMIT_MOUSE_SKEW_Y,
31 COMMIT_KEYBOARD_SKEW_X,
32 COMMIT_KEYBOARD_SKEW_Y,
33 COMMIT_FLIP_X,
34 COMMIT_FLIP_Y
35 };
37 } // namespace UI
38 } // namespace Inkscape
40 #endif
42 /*
43 Local Variables:
44 mode:c++
45 c-file-style:"stroustrup"
46 c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
47 indent-tabs-mode:nil
48 fill-column:99
49 End:
50 */
51 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :