| 1 |
//------------------------------------------------------------------------------ |
| 2 |
// Author: Vitali Adamenka |
| 3 |
// Description: Header for description all ncurses windows constants. |
| 4 |
// Copyright (c) 2015 EPAM Systems. All Rights Reserved. |
| 5 |
//------------------------------------------------------------------------------ |
| 6 |
/* |
| 7 |
This file is part of Nfstrace. |
| 8 |
|
| 9 |
Nfstrace is free software: you can redistribute it and/or modify |
| 10 |
it under the terms of the GNU General Public License as published by |
| 11 |
the Free Software Foundation, version 2 of the License. |
| 12 |
|
| 13 |
Nfstrace 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 |
| 16 |
GNU General Public License for more details. |
| 17 |
|
| 18 |
You should have received a copy of the GNU General Public License |
| 19 |
along with Nfstrace. If not, see <http://www.gnu.org/licenses/>. |
| 20 |
*/ |
| 21 |
//------------------------------------------------------------------------------ |
| 22 |
#ifndef NC_WINDOW_CONST_H |
| 23 |
#define NC_WINDOW_CONST_H |
| 24 |
//------------------------------------------------------------------------------ |
| 25 |
namespace |
| 26 |
{ |
| 27 |
const unsigned int SECINMIN = 60; |
| 28 |
const unsigned int SECINHOUR = 60 * 60; |
| 29 |
const unsigned int SECINDAY = 60 * 60 * 24; |
| 30 |
|
| 31 |
const unsigned int BORDER_SIZE = 1; |
| 32 |
|
| 33 |
const int MAXSHIFT = 25; |
| 34 |
const int SHIFTCU = 1; |
| 35 |
|
| 36 |
const int GUI_LENGTH = 80; |
| 37 |
const int GUI_HEADER_HEIGHT = 6; |
| 38 |
const int PERSENT_POS = 29; |
| 39 |
const int COUNTERS_POS = 22; |
| 40 |
|
| 41 |
const int FIRST_CHAR_POS = 1; |
| 42 |
const int EMPTY_LINE = 1; |
| 43 |
} |
| 44 |
//------------------------------------------------------------------------------ |
| 45 |
#endif //NC_WINDOW_CONST_H |
| 46 |
//------------------------------------------------------------------------------ |