summaryrefslogtreecommitdiff
path: root/column.c
blob: cd2ec8499b23e55adcff657c83512d68d236bf7b (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
/*
 * column.c
 */

#include "column.h"


/* --- cColumn -------------------------------------------------------------- */

cColumn::cColumn(void)
{
        set(colEnd);
}


void cColumn::set(eColumn _type, int _width, bool _join, bool _cut)
{
        type = _type;
	width = _width;
        if (width < 0)
                width = 0;
        
        join = _join;
        cut = _cut;
        
        filter.erase();
        last_entry.erase();
        item = NULL;
}