#include <linux/fb.h>
Data Structures | |
struct | display_region |
Rectangular region on the display. More... | |
struct | display_data |
Display data, including the display buffer and update regions. More... | |
Defines | |
#define | DISPLAY_FORE_COLOR 0x00000000 |
#define | DISPLAY_BACK_COLOR 0x99c0bf00 |
#define | DISPLAY_WIDTH 400 |
#define | DISPLAY_HEIGHT 160 |
#define | DISPLAY_WIDTH_BYTES 50 |
Functions | |
struct display_data * | display_get_data () |
int | display_show_message (char *message, int duration) |
int | display_update (struct display_data *data) |
void | display_cleanup (struct display_data *data) |
#define DISPLAY_FORE_COLOR 0x00000000 |
Default display foreground color.
#define DISPLAY_BACK_COLOR 0x99c0bf00 |
Default display background color.
#define DISPLAY_WIDTH 400 |
Display width in pixels.
#define DISPLAY_HEIGHT 160 |
Display height in pixels.
#define DISPLAY_WIDTH_BYTES 50 |
Number of bytes per display row.
struct display_data* display_get_data | ( | ) | [read] |
Initialize display data structure.
int display_show_message | ( | char * | message, | |
int | duration | |||
) |
Prepares a message to be shown on the virtual display.
message | the message | |
duration | display duration of message in milliseconds |
int display_update | ( | struct display_data * | data | ) |
Reads the display content and identifies the update regions.
data | display data |
void display_cleanup | ( | struct display_data * | data | ) |
Display data cleanup.
Frees allocated memory.
data | display data |