Skip to content

Commit

Permalink
[lcd4linux @ 2004-06-05 06:41:39 by reinelt]
Browse files Browse the repository at this point in the history
chancged splash screen again

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@464 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
  • Loading branch information
reinelt committed Jun 5, 2004
1 parent d8ce1d7 commit 302e18d
Showing 11 changed files with 87 additions and 42 deletions.
15 changes: 8 additions & 7 deletions drv_BeckmannEgle.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_BeckmannEgle.c,v 1.5 2004/06/05 06:13:11 reinelt Exp $
/* $Id: drv_BeckmannEgle.c,v 1.6 2004/06/05 06:41:39 reinelt Exp $
*
* driver for Beckmann+Egle mini terminals
* Copyright 2000 Michael Reinelt <reinelt@eunet.at>
@@ -22,6 +22,10 @@
*
*
* $Log: drv_BeckmannEgle.c,v $
* Revision 1.6 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.5 2004/06/05 06:13:11 reinelt
*
* splash screen for all text-based display drivers
@@ -64,7 +68,6 @@

#include "debug.h"
#include "cfg.h"
#include "qprintf.h"
#include "plugin.h"
#include "widget.h"
#include "widget_text.h"
@@ -75,7 +78,7 @@
#include "drv_generic_serial.h"


static char Name[]="BeckmannEgle";
static char Name[]="Beckmann+Egle";

typedef struct {
int type;
@@ -185,9 +188,7 @@ static int drv_BE_start (char *section, int quiet)
drv_BE_clear();

if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "B+E %s", Models[Model].name);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (Name, Models[Model].name)) {
sleep (3);
drv_BE_clear();
}
@@ -300,7 +301,7 @@ int drv_BE_quit (void) {
drv_BE_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

drv_generic_serial_close();

10 changes: 7 additions & 3 deletions drv_Crystalfontz.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_Crystalfontz.c,v 1.24 2004/06/05 06:13:11 reinelt Exp $
/* $Id: drv_Crystalfontz.c,v 1.25 2004/06/05 06:41:39 reinelt Exp $
*
* new style driver for Crystalfontz display modules
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_Crystalfontz.c,v $
* Revision 1.25 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.24 2004/06/05 06:13:11 reinelt
*
* splash screen for all text-based display drivers
@@ -973,7 +977,7 @@ int drv_CF_init (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %s", Name, Models[Model].name);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, "www.crystalfontz.com")) {
sleep (3);
drv_CF_clear();
}
@@ -1033,7 +1037,7 @@ int drv_CF_quit (void) {
drv_CF_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

drv_generic_serial_close();

10 changes: 7 additions & 3 deletions drv_Curses.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_Curses.c,v 1.3 2004/06/05 06:13:11 reinelt Exp $
/* $Id: drv_Curses.c,v 1.4 2004/06/05 06:41:39 reinelt Exp $
*
* pure ncurses based text driver
*
@@ -26,6 +26,10 @@
*
*
* $Log: drv_Curses.c,v $
* Revision 1.4 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.3 2004/06/05 06:13:11 reinelt
*
* splash screen for all text-based display drivers
@@ -198,7 +202,7 @@ static int drv_Curs_start (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, NULL)) {
sleep (3);
drv_Curs_clear();
}
@@ -298,7 +302,7 @@ int drv_Curs_quit (void) {
drv_Curs_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

endwin();

10 changes: 7 additions & 3 deletions drv_Cwlinux.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_Cwlinux.c,v 1.13 2004/06/05 06:13:11 reinelt Exp $
/* $Id: drv_Cwlinux.c,v 1.14 2004/06/05 06:41:39 reinelt Exp $
*
* new style driver for Cwlinux display modules
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_Cwlinux.c,v $
* Revision 1.14 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.13 2004/06/05 06:13:11 reinelt
*
* splash screen for all text-based display drivers
@@ -303,7 +307,7 @@ static int drv_CW_start (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %s", Name, Models[Model].name);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, "www.cwlinux.com")) {
sleep (3);
drv_CW_clear();
}
@@ -440,7 +444,7 @@ int drv_CW_quit (void) {
drv_CW_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

drv_generic_serial_close();

10 changes: 7 additions & 3 deletions drv_HD44780.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_HD44780.c,v 1.27 2004/06/05 06:13:11 reinelt Exp $
/* $Id: drv_HD44780.c,v 1.28 2004/06/05 06:41:39 reinelt Exp $
*
* new style driver for HD44780-based displays
*
@@ -29,6 +29,10 @@
*
*
* $Log: drv_HD44780.c,v $
* Revision 1.28 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.27 2004/06/05 06:13:11 reinelt
*
* splash screen for all text-based display drivers
@@ -746,7 +750,7 @@ static int drv_HD_start (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, NULL)) {
sleep (3);
drv_HD_clear();
}
@@ -876,7 +880,7 @@ int drv_HD_quit (void) {
drv_HD_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

// clear all signals
if (Bits==8) {
10 changes: 7 additions & 3 deletions drv_M50530.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_M50530.c,v 1.9 2004/06/05 06:13:12 reinelt Exp $
/* $Id: drv_M50530.c,v 1.10 2004/06/05 06:41:39 reinelt Exp $
*
* new style driver for M50530-based displays
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_M50530.c,v $
* Revision 1.10 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.9 2004/06/05 06:13:12 reinelt
*
* splash screen for all text-based display drivers
@@ -277,7 +281,7 @@ static int drv_M5_start (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, NULL)) {
sleep (3);
drv_M5_clear();
}
@@ -390,7 +394,7 @@ int drv_M5_quit (void) {
drv_M5_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

// clear all signals
drv_generic_parport_control (SIGNAL_EX|SIGNAL_IOC1|SIGNAL_IOC2|SIGNAL_GPO, 0);
13 changes: 7 additions & 6 deletions drv_MatrixOrbital.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_MatrixOrbital.c,v 1.30 2004/06/05 06:13:12 reinelt Exp $
/* $Id: drv_MatrixOrbital.c,v 1.31 2004/06/05 06:41:39 reinelt Exp $
*
* new style driver for Matrix Orbital serial display modules
*
@@ -23,6 +23,10 @@
*
*
* $Log: drv_MatrixOrbital.c,v $
* Revision 1.31 2004/06/05 06:41:39 reinelt
*
* chancged splash screen again
*
* Revision 1.30 2004/06/05 06:13:12 reinelt
*
* splash screen for all text-based display drivers
@@ -167,7 +171,6 @@

#include "debug.h"
#include "cfg.h"
#include "qprintf.h"
#include "plugin.h"
#include "widget.h"
#include "widget_text.h"
@@ -505,9 +508,7 @@ static int drv_MO_start (char *section, int quiet)
}

if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (Models[Model].name, "MatrixOrbital")) {
sleep (3);
drv_MO_clear();
}
@@ -712,7 +713,7 @@ int drv_MO_quit (void) {
drv_MO_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

drv_generic_serial_close();

11 changes: 7 additions & 4 deletions drv_MilfordInstruments.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_MilfordInstruments.c,v 1.7 2004/06/05 06:13:12 reinelt Exp $
/* $Id: drv_MilfordInstruments.c,v 1.8 2004/06/05 06:41:40 reinelt Exp $
*
* driver for Milford Instruments 'BPK' piggy-back serial interface board
* for standard Hitachi 44780 compatible lcd modules.
@@ -27,6 +27,10 @@
*
*
* $Log: drv_MilfordInstruments.c,v $
* Revision 1.8 2004/06/05 06:41:40 reinelt
*
* chancged splash screen again
*
* Revision 1.7 2004/06/05 06:13:12 reinelt
*
* splash screen for all text-based display drivers
@@ -70,7 +74,6 @@

#include "debug.h"
#include "cfg.h"
#include "qprintf.h"
#include "plugin.h"
#include "widget.h"
#include "widget_text.h"
@@ -174,7 +177,7 @@ static int drv_MI_start (char *section, int quiet)
drv_generic_serial_write ("\376\014", 2); // cursor off

if (!quiet) {
if (drv_generic_text_greet (Models[Model].name)) {
if (drv_generic_text_greet (Models[Model].name, "Milford Instruments")) {
sleep (3);
drv_MI_clear();
}
@@ -288,7 +291,7 @@ int drv_MI_quit (void) {
drv_MI_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

drv_generic_serial_close();

10 changes: 7 additions & 3 deletions drv_USBLCD.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $Id: drv_USBLCD.c,v 1.7 2004/06/05 06:13:12 reinelt Exp $
/* $Id: drv_USBLCD.c,v 1.8 2004/06/05 06:41:40 reinelt Exp $
*
* new style driver for USBLCD displays
*
@@ -26,6 +26,10 @@
*
*
* $Log: drv_USBLCD.c,v $
* Revision 1.8 2004/06/05 06:41:40 reinelt
*
* chancged splash screen again
*
* Revision 1.7 2004/06/05 06:13:12 reinelt
*
* splash screen for all text-based display drivers
@@ -272,7 +276,7 @@ static int drv_UL_start (char *section, int quiet)
if (!quiet) {
char buffer[40];
qprintf(buffer, sizeof(buffer), "%s %dx%d", Name, DCOLS, DROWS);
if (drv_generic_text_greet (buffer)) {
if (drv_generic_text_greet (buffer, "http://www.usblcd.de")) {
sleep (3);
drv_UL_clear();
drv_UL_send();
@@ -395,7 +399,7 @@ int drv_UL_quit (void)
drv_UL_clear();

// say goodbye...
drv_generic_text_greet ("goodbye!");
drv_generic_text_greet ("goodbye!", NULL);

// flush buffer
drv_UL_send();
Loading

0 comments on commit 302e18d

Please sign in to comment.