| 935 | } |
| 936 | |
| 937 | void |
| 938 | X11_status_update( |
| 939 | int fld, |
| 940 | genericptr_t ptr, |
| 941 | int chg, int percent, |
| 942 | int color, |
| 943 | unsigned long *colormasks) |
| 944 | { |
| 945 | if (fld < BL_RESET || fld >= MAXBLSTATS) |
| 946 | panic("X11_status_update(%d) -- invalid field", fld); |
| 947 | |
| 948 | if (appResources.fancy_status) |
| 949 | X11_status_update_fancy(fld, ptr, chg, percent, color, colormasks); |
| 950 | else |
| 951 | X11_status_update_tty(fld, ptr, chg, percent, color, colormasks); |
| 952 | } |
| 953 | |
| 954 | /* create a widget for a particular status field or potential condition */ |
| 955 | static Widget |
nothing calls this directly
no test coverage detected