* * $Log$ * *
Definiert in Datei userif.c.
gehe zum Quellcode dieser Datei
Makrodefinitionen | |
| #define | UI_THREAD_STACK 2048 |
| #define | UI_REFRESH_RATE 300 |
| #define | LCD_VCOLS 160 |
| Number of virtual columns. | |
| #define | LCD_SCROLL_GAP (LCD_COLS / 2) |
Funktionen | |
| static void | DisplayRefresh (void) |
| Refresh the LCD. | |
| static void | UserIfShowStationConf (RADIOSTATION *scp) |
| Displays configured information about a station. | |
| static void | UserIfShowStationInfo (STATIONINFO *sip) |
| Displays station information. | |
| static void | UserIfMainMenu (void) |
| Main menu processing. | |
| void | UserIfThread (void *arg) |
| Background thread for user interface. | |
| void | UserIfShowMessage (u_char row, u_char secs, CONST char *fmt,...) |
| Display a specified text. | |
| void | UserIfShowStatus (u_char status) |
| Display a specified status. | |
| char * | UserIfGetDisplayText (char *buff, size_t siz) |
| Retrieve the current display text. | |
| int | UserIfInit (char *name) |
| Start background thread for display updates. | |
Variablen | |
| static DISPLAYINFO | display |
| #define UI_THREAD_STACK 2048 |
| #define UI_REFRESH_RATE 300 |
Definiert in Zeile 80 der Datei userif.c.
Wird benutzt von UserIfMainMenu(), UserIfShowMessage() und UserIfThread().
| #define LCD_VCOLS 160 |
Number of virtual columns.
Contents will be scrolled, if it doesn't fit on a single LCD line.
Definiert in Zeile 93 der Datei userif.c.
Wird benutzt von UserIfShowStationConf(), UserIfShowStationInfo() und UserIfShowStatus().
| #define LCD_SCROLL_GAP (LCD_COLS / 2) |
| static void DisplayRefresh | ( | void | ) | [static] |
Refresh the LCD.
Definiert in Zeile 131 der Datei userif.c.
Benutzt display und LCD_SCROLL_GAP.
Wird benutzt von UserIfMainMenu() und UserIfThread().
| static void UserIfShowStationConf | ( | RADIOSTATION * | scp | ) | [static] |
Displays configured information about a station.
| scp | Pointer to the configuration table entry. |
Definiert in Zeile 201 der Datei userif.c.
Benutzt display, LCD_VCOLS und RADIOSTATION::rs_name.
Wird benutzt von UserIfMainMenu(), UserIfShowStationInfo() und UserIfShowStatus().
| static void UserIfShowStationInfo | ( | STATIONINFO * | sip | ) | [static] |
Displays station information.
Called during connect.
| sip | Information structure of the connected station. |
Definiert in Zeile 216 der Datei userif.c.
Benutzt display, LCD_VCOLS, STATIONINFO::si_name, STATIONINFO::si_scp und UserIfShowStationConf().
Wird benutzt von UserIfShowStatus().

| static void UserIfMainMenu | ( | void | ) | [static] |
Main menu processing.
Definiert in Zeile 233 der Datei userif.c.
Benutzt ButtonRead(), display, DisplayRefresh(), favlist, FavListCopy(), FavListSearch(), KEYCODE_DOWN, KEYCODE_SELECT, KEYCODE_UP, TOP_FAVORITE, UI_REFRESH_RATE, UserIfShowMessage() und UserIfShowStationConf().
Wird benutzt von UserIfThread().

| void UserIfThread | ( | void * | arg | ) |
Background thread for user interface.
| arg | Unused. Should be NULL. |
Definiert in Zeile 281 der Datei userif.c.
Benutzt ButtonRead(), display, DisplayRefresh(), KEYCODE_DOWN, KEYCODE_SELECT, KEYCODE_UP, LOG_ERROR, LogMsg(), RECEIVERINFO::ri_decoder, UI_REFRESH_RATE, UserIfMainMenu(), UserIfShowMessage(), webradio, WEBRADIO::wr_cfgupd, WEBRADIO::wr_gain, WEBRADIO::wr_rip und XmlRefresh().
Wird benutzt von UserIfInit().

| void UserIfShowMessage | ( | u_char | row, | |
| u_char | secs, | |||
| CONST char * | fmt, | |||
| ... | ||||
| ) |
Display a specified text.
| row | Row position of the message. | |
| secs | Number of seconds to display the message. Set to 0 for permanent display. | |
| fmt | Format string containing conversion specifications. |
Definiert in Zeile 331 der Datei userif.c.
Wird benutzt von UserIfMainMenu(), UserIfShowStatus() und UserIfThread().
| void UserIfShowStatus | ( | u_char | status | ) |
Display a specified status.
| status | Status to be displayed. |
Definiert in Zeile 349 der Datei userif.c.
Wird benutzt von main(), ProcessMetaData(), ShoutCastThread() und UserIfInit().
| char* UserIfGetDisplayText | ( | char * | buff, | |
| size_t | siz | |||
| ) |
Retrieve the current display text.
| buff | The text is store here. | |
| siz | Size of the buffer. |
Definiert in Zeile 396 der Datei userif.c.
Wird benutzt von XmlProcessReports().
| int UserIfInit | ( | char * | name | ) |
DISPLAYINFO display [static] |
Definiert in Zeile 119 der Datei userif.c.
Wird benutzt von DisplayRefresh(), UserIfGetDisplayText(), UserIfInit(), UserIfMainMenu(), UserIfShowMessage(), UserIfShowStationConf(), UserIfShowStationInfo(), UserIfShowStatus() und UserIfThread().