bin_PROGRAMS = lcd4linux
-AM_CFLAGS = -D_GNU_SOURCE -Wall -W
+AM_CFLAGS = -D_GNU_SOURCE -Wall -Wextra -fno-strict-aliasing
lcd4linux_LDFLAGS =
lcd4linux_LDADD = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@
target_alias = @target_alias@
AUTOMAKE_OPTIONS = gnu
CLEANFILES = *~
-AM_CFLAGS = -D_GNU_SOURCE -Wall -W
+AM_CFLAGS = -D_GNU_SOURCE -Wall -Wextra -fno-strict-aliasing
lcd4linux_LDFLAGS =
lcd4linux_LDADD = @DRIVERS@ @PLUGINS@ @DRVLIBS@ @PLUGINLIBS@
lcd4linux_DEPENDENCIES = @DRIVERS@ @PLUGINS@
-/* $Id: drv_LEDMatrix.c,v 1.7 2006/08/13 18:45:25 harbaum Exp $
+/* $Id: drv_LEDMatrix.c,v 1.8 2006/08/14 05:54:04 reinelt Exp $
*
* LED matrix driver for LCD4Linux
* (see http://www.harbaum.org/till/ledmatrix for hardware)
*
*
* $Log: drv_LEDMatrix.c,v $
+ * Revision 1.8 2006/08/14 05:54:04 reinelt
+ * minor warnings fixed, CFLAGS changed (no-strict-aliasing)
+ *
* Revision 1.7 2006/08/13 18:45:25 harbaum
* Little cleanup ...
*
struct timeval tv;
unsigned char reply[256];
struct sockaddr_in cli_addr;
- int fromlen, ack = 0;
+ socklen_t fromlen;
+ int ack = 0;
int timeout = 10;
for (r = row; r < row + height; r++) {
-/* $Id: drv_USBHUB.c,v 1.2 2006/08/13 06:46:51 reinelt Exp $
+/* $Id: drv_USBHUB.c,v 1.3 2006/08/14 05:54:04 reinelt Exp $
*
* new style driver for USBLCD displays
*
*
*
* $Log: drv_USBHUB.c,v $
+ * Revision 1.3 2006/08/14 05:54:04 reinelt
+ * minor warnings fixed, CFLAGS changed (no-strict-aliasing)
+ *
* Revision 1.2 2006/08/13 06:46:51 reinelt
* T6963 soft-timing & enhancements; indent
*
}
-static int drv_UH_start(const char *section, const int quiet)
+static int drv_UH_start(const char *section, const __attribute__ ((unused)) int quiet)
{
char *buf;
int ret;
int i;
- info("%s: %s", Name, "$Revision: 1.2 $");
+ info("%s: %s", Name, "$Revision: 1.3 $");
Port '/dev/parports/0'
Size '240x64'
Font '6x8'
- FontStyle 'bold'
Wire.CE 'STROBE'
Wire.CD 'SLCTIN'
Wire.RD 'AUTOFD'
Wire.WR 'INIT'
}
+Display T6963-240x128 {
+ Driver 'T6963'
+ Port '/dev/parports/0'
+ Size '240x128'
+ Font '6x8'
+ Wire.CE 'STROBE'
+ Wire.CD 'SLCTIN'
+ Wire.RD 'AUTOFD'
+ Wire.WR 'INIT'
+ Timing.fuzz 120
+}
+
Display LPH7508 {
Driver 'LPH7508'
Widget Test1 {
class 'Text'
expression 'ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
- width 80
+ width 40
align 'M'
speed 100
}
Widget Test2 {
class 'Text'
expression '1234567890abcdefghijklmnopqrstuvwxyz'
- width 80
+ width 40
align 'M'
speed 150
}
Row14.Col1 'Test1'
Row15.Col1 'Test1'
Row16.Col1 'Test1'
+ Row17.Col1 'Test1'
+ Row18.Col1 'Test1'
+ Row19.Col1 'Test1'
+ Row20.Col1 'Test1'
+ Row21.Col1 'Test1'
+ Row22.Col1 'Test1'
+ Row23.Col1 'Test1'
+ Row24.Col1 'Test1'
}
Layout Test2 {
#Display 'SimpleLCD'
#Display 'BA63'
#Display 'CT20x4'
-Display 'T6963-240x64'
+Display 'T6963-240x128'
+#Display 'T6963-240x64'
#Display 'XWindow'
#Display 'USBLCD'
#Display 'BWCT'
#Display 'LPH7508'
#Display 'ctinclud'
-Layout 'Default'
+#Layout 'Default'
#Layout 'TestLayer'
#Layout 'TestImage'
#Layout 'L8x2'
#Layout 'L16x2'
#Layout 'L20x2'
#Layout 'L40x2'
-#Layout 'Test'
+Layout 'Test'
#Layout 'Test2'
#Layout 'TestGPO'
#Layout 'Debug'
-/* $Id: property.h,v 1.2 2006/08/13 11:38:20 reinelt Exp $
+/* $Id: property.h,v 1.3 2006/08/14 05:54:04 reinelt Exp $
*
* dynamic properties
*
*
*
* $Log: property.h,v $
+ * Revision 1.3 2006/08/14 05:54:04 reinelt
+ * minor warnings fixed, CFLAGS changed (no-strict-aliasing)
+ *
* Revision 1.2 2006/08/13 11:38:20 reinelt
* text widget uses dynamic properties
*
#ifndef _PROPERTY_H_
#define _PROPERTY_H_
+#include "evaluator.h"
+
typedef struct {
char *name;
-/* $Id: widget.h,v 1.21 2006/08/09 17:25:34 harbaum Exp $
+/* $Id: widget.h,v 1.22 2006/08/14 05:54:04 reinelt Exp $
*
* generic widget handling
*
*
*
* $Log: widget.h,v $
+ * Revision 1.22 2006/08/14 05:54:04 reinelt
+ * minor warnings fixed, CFLAGS changed (no-strict-aliasing)
+ *
* Revision 1.21 2006/08/09 17:25:34 harbaum
* Better bar color support and new bold font
*
void widget_unregister(void);
int widget_add(const char *name, const int type, const int layer, const int row, const int col);
WIDGET *widget_find(int type, void *needle);
+int widget_color(const char *section, const char *name, const char *key, RGBA * C);
#endif