More formatting updates. Reduced whitespace, looks even better.
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
#include "curses_drv.h"
|
||||
#include "drv_base.h"
|
||||
|
||||
|
||||
lcd_logical_driver *curses_drv;
|
||||
|
||||
int PAD = 255;
|
||||
@@ -33,7 +32,6 @@ int ELLIPSIS = 7;
|
||||
|
||||
static char icon_char = '@';
|
||||
|
||||
|
||||
int
|
||||
curses_drv_init (struct lcd_logical_driver *driver, char *args)
|
||||
{
|
||||
@@ -41,7 +39,6 @@ curses_drv_init (struct lcd_logical_driver *driver, char *args)
|
||||
int argc;
|
||||
int i, j;
|
||||
|
||||
|
||||
argc = get_args (argv, args, 64);
|
||||
|
||||
for (i = 0; i < argc; i++) {
|
||||
@@ -78,7 +75,6 @@ curses_drv_init (struct lcd_logical_driver *driver, char *args)
|
||||
|
||||
}
|
||||
|
||||
|
||||
curses_drv = driver;
|
||||
|
||||
// Init curses...
|
||||
@@ -146,7 +142,6 @@ curses_drv_clear ()
|
||||
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// 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).
|
||||
@@ -215,7 +210,6 @@ curses_drv_num (int x, int num)
|
||||
curses_drv_chr (x + dx, y, c);
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// Draws a vertical bar; erases entire column onscreen.
|
||||
//
|
||||
@@ -254,13 +248,10 @@ curses_drv_hbar (int x, int y, int len)
|
||||
len -= lcd.cellwid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
// move(y-1, x-1);
|
||||
// hline(0, len/lcd.cellwid);
|
||||
}
|
||||
|
||||
|
||||
/////////////////////////////////////////////////////////////////
|
||||
// Sets character 0 to an icon...
|
||||
//
|
||||
@@ -291,14 +282,12 @@ curses_drv_flush ()
|
||||
curses_drv_draw_frame (curses_drv->framebuf);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
curses_drv_flush_box (int lft, int top, int rgt, int bot)
|
||||
{
|
||||
curses_drv_flush ();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
curses_drv_draw_frame (char *dat)
|
||||
{
|
||||
@@ -308,8 +297,6 @@ curses_drv_draw_frame (char *dat)
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
char
|
||||
curses_drv_getkey ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user