1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
- #include "gds.h"
-
- extern struct GDS_Device *display;
-
- enum displayer_cmd_e { DISPLAYER_SHUTDOWN, DISPLAYER_ACTIVATE, DISPLAYER_SUSPEND, DISPLAYER_TIMER_PAUSE, DISPLAYER_TIMER_RUN };
- enum displayer_time_e { DISPLAYER_ELAPSED, DISPLAYER_REMAINING };
- enum display_bus_cmd_e { DISPLAY_BUS_TAKE, DISPLAY_BUS_GIVE };
- bool (*display_bus)(void *from, enum display_bus_cmd_e cmd);
- void displayer_scroll(char *string, int speed, int pause);
- void displayer_control(enum displayer_cmd_e cmd, ...);
- void displayer_metadata(char *artist, char *album, char *title);
- void displayer_timer(enum displayer_time_e mode, int elapsed, int duration);
|