summaryrefslogtreecommitdiff
path: root/column.c
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-04-26 19:15:40 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-04-26 19:15:40 +0200
commitd45bc4bed686d1d0c2daff22a66dfa0394fde4fb (patch)
tree75b7a38c993c0c5761764a375fa822190729a402 /column.c
parent99628e3cec79c4b5888056ce4be3b92a38eddf47 (diff)
downloadvdr-plugin-audiorecorder-d45bc4bed686d1d0c2daff22a66dfa0394fde4fb.tar.gz
vdr-plugin-audiorecorder-d45bc4bed686d1d0c2daff22a66dfa0394fde4fb.tar.bz2
initial commit
Diffstat (limited to 'column.c')
-rw-r--r--column.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/column.c b/column.c
new file mode 100644
index 0000000..cd2ec84
--- /dev/null
+++ b/column.c
@@ -0,0 +1,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;
+}