Code

fix stroke scaling for the objects with the default 1px width
[inkscape.git] / src / shortcuts.h
1 #ifndef __SP_SHORTCUTS_H__
2 #define __SP_SHORTCUTS_H__
4 /*
5  * Keyboard shortcut processing
6  *
7  * Author:
8  *   Lauris Kaplinski <lauris@kaplinski.com>
9  *
10  * This code is in public domain
11  */
13 #include <forward.h>
16 /* We define high-bit mask for packing into single int */
18 #define SP_SHORTCUT_SHIFT_MASK (1 << 24)
19 #define SP_SHORTCUT_CONTROL_MASK (1 << 25)
20 #define SP_SHORTCUT_ALT_MASK (1 << 26)
22 /* Returns true if action was performed */
23 bool sp_shortcut_invoke (unsigned int shortcut, Inkscape::UI::View::View *view);
25 Inkscape::Verb * sp_shortcut_get_verb (unsigned int shortcut);
26 unsigned int sp_shortcut_get_primary (Inkscape::Verb * verb);
28 #endif
30 /*
31   Local Variables:
32   mode:c++
33   c-file-style:"stroustrup"
34   c-file-offsets:((innamespace . 0)(inline-open . 0)(case-label . +))
35   indent-tabs-mode:nil
36   fill-column:99
37   End:
38 */
39 // vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 :