summaryrefslogtreecommitdiff
path: root/lcd.h
blob: a88953e117f61ba4535c8f40e5c0aaa0575b4f03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#define Press_Change_Message "Push CHANGE to continue."

#include <glib.h>

#define LCD_cols    	40
#define LCD_rows    	4		/* 4x40 LCD */
#define LCD_chars_total 160
#define LCD_col_width 13                        /* characters per LCD column */
#define LCD_max_entries_per_page 12             /* how many items fit on one LCD screen at a time */
#define LCD_max_entries 24                      /* upper limit for menu arrays */

void LCD_display_extended_message(char *response, gboolean show_change_message, gboolean is_error_screen);
void LCD_clear();
void LCD_write(int row, int col, char *LCD_string);
void LCD_write_padded_spaces(int row, int col, char *LCD_string, int width);
void LCD_initialize(void);