Chemical Data Processing Library C++ API - Version 1.1.1
Alignment.hpp
Go to the documentation of this file.
1 /*
2  * Alignment.hpp
3  *
4  * This file is part of the Chemical Data Processing Toolkit
5  *
6  * Copyright (C) 2003 Thomas Seidel <thomas.seidel@univie.ac.at>
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Lesser General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License
19  * along with this library; see the file COPYING. If not, write to
20  * the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21  * Boston, MA 02111-1307, USA.
22  */
23 
29 #ifndef CDPL_VIS_ALIGNMENT_HPP
30 #define CDPL_VIS_ALIGNMENT_HPP
31 
32 
33 namespace CDPL
34 {
35 
36  namespace Vis
37  {
38 
46  namespace Alignment
47  {
48 
52  const unsigned int NONE = 0;
53 
57  const unsigned int LEFT = 0x1;
58 
62  const unsigned int RIGHT = 0x2;
63 
67  const unsigned int H_CENTER = LEFT | RIGHT;
68 
72  const unsigned int H_ALIGNMENT_MASK = H_CENTER;
73 
77  const unsigned int TOP = 0x4;
78 
82  const unsigned int BOTTOM = 0x8;
83 
87  const unsigned int V_CENTER = TOP | BOTTOM;
88 
92  const unsigned int V_ALIGNMENT_MASK = V_CENTER;
93 
97  const unsigned int CENTER = H_CENTER | V_CENTER;
98  } // namespace Alignment
99  } // namespace Vis
100 } // namespace CDPL
101 
102 #endif // CDPL_VIS_ALIGNMENT_HPP
CDPL::Vis::Alignment::CENTER
const unsigned int CENTER
Specifies that an object has to be centered horizontally and vertically.
Definition: Alignment.hpp:97
CDPL::Vis::Alignment::LEFT
const unsigned int LEFT
Specifies an alignment to the left.
Definition: Alignment.hpp:57
CDPL::Vis::Alignment::BOTTOM
const unsigned int BOTTOM
Specifies an alignment to the bottom.
Definition: Alignment.hpp:82
CDPL::Vis::Alignment::H_CENTER
const unsigned int H_CENTER
Specifies that an object has to be centered horizontally.
Definition: Alignment.hpp:67
CDPL::Vis::Alignment::V_ALIGNMENT_MASK
const unsigned int V_ALIGNMENT_MASK
A bitmask for all vertical alignment flags.
Definition: Alignment.hpp:92
CDPL::Vis::Alignment::H_ALIGNMENT_MASK
const unsigned int H_ALIGNMENT_MASK
A bitmask for all horizontal alignment flags.
Definition: Alignment.hpp:72
CDPL::Vis::Alignment::RIGHT
const unsigned int RIGHT
Specifies an alignment to the right.
Definition: Alignment.hpp:62
CDPL::Vis::Alignment::TOP
const unsigned int TOP
Specifies an alignment to the top.
Definition: Alignment.hpp:77
CDPL
The namespace of the Chemical Data Processing Library.
CDPL::Vis::Alignment::NONE
const unsigned int NONE
Specifies that an object has no special alignment.
Definition: Alignment.hpp:52
CDPL::Vis::Alignment::V_CENTER
const unsigned int V_CENTER
Specifies that an object has to be centered vertically.
Definition: Alignment.hpp:87