From 3ebce612bcbf403d54e628207b540b75395f5637 Mon Sep 17 00:00:00 2001 From: reinelt Date: Fri, 23 Jan 2004 04:54:04 +0000 Subject: [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 --- widget_icon.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 widget_icon.h (limited to 'widget_icon.h') 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 + * Copyright 2004 The LCD4Linux Team + * + * 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 -- cgit v1.2.3