/src/libmspub/src/lib/Arrow.h
Line | Count | Source |
1 | | /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
2 | | /* |
3 | | * This file is part of the libmspub project. |
4 | | * |
5 | | * This Source Code Form is subject to the terms of the Mozilla Public |
6 | | * License, v. 2.0. If a copy of the MPL was not distributed with this |
7 | | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
8 | | */ |
9 | | |
10 | | #ifndef INCLUDED_ARROW_H |
11 | | #define INCLUDED_ARROW_H |
12 | | |
13 | | namespace libmspub |
14 | | { |
15 | | enum ArrowStyle |
16 | | { |
17 | | NO_ARROW, |
18 | | TRIANGLE_ARROW, |
19 | | STEALTH_ANGLE_ARROW, |
20 | | ROTATED_SQUARE_ARROW, |
21 | | CIRCLE_ARROW, |
22 | | LINE_ARROW |
23 | | }; |
24 | | enum ArrowSize |
25 | | { |
26 | | SMALL, |
27 | | MEDIUM, |
28 | | LARGE |
29 | | }; |
30 | | struct Arrow |
31 | | { |
32 | | ArrowStyle m_style; |
33 | | ArrowSize m_width; |
34 | | ArrowSize m_height; |
35 | | Arrow(ArrowStyle style, ArrowSize width, ArrowSize height) : |
36 | 49.1k | m_style(style), m_width(width), m_height(height) |
37 | 49.1k | { |
38 | 49.1k | } |
39 | | }; |
40 | | } // namespace libmspub |
41 | | |
42 | | #endif /* INCLUDED_ARROW_H */ |
43 | | /* vim:set shiftwidth=2 softtabstop=2 expandtab: */ |