aboutsummaryrefslogtreecommitdiffstats
path: root/widget_icon.h
diff options
context:
space:
mode:
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-23 04:54:04 +0000
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2004-01-23 04:54:04 +0000
commit3ebce612bcbf403d54e628207b540b75395f5637 (patch)
tree5b8fc83964c3ad2b1abf1064507596b02d16b92d /widget_icon.h
parentc817553542fbdd8687c56509d206dede574ffe69 (diff)
downloadlcd4linux-3ebce612bcbf403d54e628207b540b75395f5637.tar.gz
[lcd4linux @ 2004-01-23 04:53:23 by reinelt]
icon widget added (not finished yet!) git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@336 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to 'widget_icon.h')
-rw-r--r--widget_icon.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/widget_icon.h b/widget_icon.h
new file mode 100644
index 0000000..88bad6c
--- /dev/null
+++ b/widget_icon.h
@@ -0,0 +1,46 @@
+/* $Id: widget_icon.h,v 1.1 2004/01/23 04:54:04 reinelt Exp $
+ *
+ * icon widget handling
+ *
+ * Copyright 2003,2004 Michael Reinelt <reinelt@eunet.at>
+ * Copyright 2004 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
+ *
+ * This file is part of LCD4Linux.
+ *
+ * LCD4Linux 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.
+ *
+ * LCD4Linux 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: widget_icon.h,v $
+ * Revision 1.1 2004/01/23 04:54:04 reinelt
+ * icon widget added (not finished yet!)
+ *
+ */
+
+
+#ifndef _WIDGET_ICON_H_
+#define _WIDGET_ICON_H_
+
+typedef struct WIDGET_ICON {
+ char *speed_expr; // expression for update interval
+ int speed; // update interval (msec)
+ int curmap; // current bitmap sequence
+ int prvmap; // previous bitmap sequence
+ int maxmap; // number of bitmap sequences
+ char *bitmap; // bitmaps of (animated) icon
+} WIDGET_ICON;
+
+extern WIDGET_CLASS Widget_Icon;
+
+#endif