aboutsummaryrefslogtreecommitdiffstats
path: root/bar.h
diff options
context:
space:
mode:
authorreinelt <>2002-08-19 04:41:20 +0000
committerreinelt <>2002-08-19 04:41:20 +0000
commit14f4600010f07dfd1e6b91e1038c468b40c8f748 (patch)
treec97b9dd85328464e0c75fe7780e7cec6004ba92e /bar.h
parentd9d3e35a7b8ebe1f2aab0b8c010b5030f1c3e9df (diff)
downloadlcd4linux-14f4600010f07dfd1e6b91e1038c468b40c8f748.tar.gz
[lcd4linux @ 2002-08-19 04:41:20 by reinelt]
introduced bar.c, moved bar stuff from display.h to bar.h
Diffstat (limited to 'bar.h')
-rw-r--r--bar.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/bar.h b/bar.h
new file mode 100644
index 0000000..4b932d4
--- /dev/null
+++ b/bar.h
@@ -0,0 +1,45 @@
+/* $Id: bar.h,v 1.1 2002/08/19 04:41:20 reinelt Exp $
+ *
+ * generic bar handling
+ *
+ * Copyright 2002 by Michael Reinelt (reinelt@eunet.at)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ *
+ *
+ * $Log: bar.h,v $
+ * Revision 1.1 2002/08/19 04:41:20 reinelt
+ * introduced bar.c, moved bar stuff from display.h to bar.h
+ *
+ *
+ */
+
+#ifndef _BAR_H_
+#define _BAR_H_
+
+#define BAR_L (1<<0)
+#define BAR_R (1<<1)
+#define BAR_U (1<<2)
+#define BAR_D (1<<3)
+#define BAR_H2 (1<<4)
+#define BAR_V2 (1<<5)
+#define BAR_LOG (1<<6)
+#define BAR_T (1<<7)
+
+#define BAR_H (BAR_L | BAR_R)
+#define BAR_V (BAR_U | BAR_D | BAR_T)
+#define BAR_HV (BAR_H | BAR_V)
+
+#endif