summaryrefslogtreecommitdiff
blob: 7176c8a37b2c92c1d69e95f6cd4d7f9cf18831da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * ufed-curses-globals.c
 *
 *  Created on: 03.02.2013
 *      Author: Sven Eden
 */

#include "ufed-curses-types.h"

int        bottomline     = 0;
bool       configDone     = false;
int        minwidth       = 0;
int        ro_mode        = false;
int        topline        = 0;
eDesc      e_desc         = eDesc_ori;
eMask      e_mask         = eMask_unmasked;
eOrder     e_order        = eOrder_left;
eScope     e_scope        = eScope_all;
eState     e_state        = eState_all;
char*      fayt           = NULL;
sListStats listStats      = { 0, 0, 0, 0, 0, 0 };
// windows: top, left, height width
sWindow    window[wCount] = {
	{ NULL,  0,  0,   4,  0 }, /* Top       --- Top ---- */
	{ NULL,  4,  0,  -8,  3 }, /* Left      L+------+S|R */
	{ NULL,  4,  3,  -9, -6 }, /* List      E|      |c|i */
	{ NULL, -5,  3,   1, -6 }, /* Input     F| List |r|g */
	{ NULL,  4, -3,  -8,  1 }, /* Scrollbar T|______|B|h */
	{ NULL,  4, -2,  -8,  2 }, /* Right     |+Input-+r|t */
	{ NULL, -4,  0,   4,  0 }, /* Bottom    ---Bottom--- */
};