libyui-ncurses
2.44.1
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
NCtypes.h
1
/*
2
Copyright (C) 2000-2012 Novell, Inc
3
This library is free software; you can redistribute it and/or modify
4
it under the terms of the GNU Lesser General Public License as
5
published by the Free Software Foundation; either version 2.1 of the
6
License, or (at your option) version 3.0 of the License. This library
7
is distributed in the hope that it will be useful, but WITHOUT ANY
8
WARRANTY; without even the implied warranty of MERCHANTABILITY or
9
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
10
License for more details. You should have received a copy of the GNU
11
Lesser General Public License along with this library; if not, write
12
to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
13
Floor, Boston, MA 02110-1301 USA
14
*/
15
16
17
/*-/
18
19
File: NCtypes.h
20
21
Author: Michael Andres <ma@suse.de>
22
23
/-*/
24
25
#ifndef NCtypes_h
26
#define NCtypes_h
27
28
#include <iosfwd>
29
30
namespace
NC
31
{
32
enum
ADJUST
33
{
34
CENTER = 0x00,
35
TOP = 0x01,
36
BOTTOM = 0x02,
37
LEFT = 0x10,
38
RIGHT = 0x20,
39
TOPLEFT = TOP | LEFT,
40
TOPRIGHT = TOP | RIGHT,
41
BOTTOMLEFT = BOTTOM | LEFT,
42
BOTTOMRIGHT = BOTTOM | RIGHT,
43
};
44
45
enum
WState
46
{
47
WSdumb,
48
WSnormal,
49
WSactive,
50
WSdisabeled
51
};
52
53
};
54
55
extern
std::ostream & operator<<( std::ostream & str, NC::ADJUST obj );
56
extern
std::ostream & operator<<( std::ostream & str, NC::WState obj );
57
58
59
#endif // NCtypes_h
src
NCtypes.h
Generated by
1.8.5