More formatting updates. Reduced whitespace, looks even better.

This commit is contained in:
William Ferrell
2000-03-30 20:43:33 +00:00
parent a98c8109a8
commit ddfd41f53e
78 changed files with 0 additions and 590 deletions
-10
View File
@@ -10,7 +10,6 @@
#include "text.h"
#include "drv_base.h"
lcd_logical_driver *text;
//////////////////////////////////////////////////////////////////////////
@@ -27,7 +26,6 @@ text_init (lcd_logical_driver * driver, char *args)
return -1;
}
driver->wid = 20;
driver->hgt = 4;
driver->cellwid = 5;
@@ -55,7 +53,6 @@ text_init (lcd_logical_driver * driver, char *args)
driver->getkey = NULL;
return 200; // 200 is arbitrary. (must be 1 or more)
}
@@ -75,7 +72,6 @@ text_clear ()
}
//////////////////////////////////////////////////////////////////
// Flushes all output to the lcd...
//
@@ -85,7 +81,6 @@ text_flush ()
text_draw_frame (lcd.framebuf);
}
/////////////////////////////////////////////////////////////////
// Prints a string on the lcd display, at position (x,y). The
// upper-left is (1,1), and the lower right should be (20,4).
@@ -116,8 +111,6 @@ text_chr (int x, int y, char c)
lcd.framebuf[(y * lcd.wid) + x] = c;
}
int
text_contrast (int contrast)
{
@@ -199,7 +192,6 @@ text_hbar (int x, int y, int len)
}
void
text_flush_box (int lft, int top, int rgt, int bot)
{
@@ -207,7 +199,6 @@ text_flush_box (int lft, int top, int rgt, int bot)
}
void
text_draw_frame (char *dat)
{
@@ -226,7 +217,6 @@ text_draw_frame (char *dat)
out[lcd.wid] = 0;
printf ("+%s+\n", out);
for (i = 0; i < lcd.hgt; i++) {
for (j = 0; j < lcd.wid; j++) {
out[j] = dat[j + (i * lcd.wid)];