#ifndef SCREEN_H #define SCREEN_H #include enum colors { BLACK = COLOR_BLACK, RED = COLOR_RED, GREEN = COLOR_GREEN, YELLOW = COLOR_YELLOW, BLUE = COLOR_BLUE, MAGENTA = COLOR_MAGENTA, CYAN = COLOR_CYAN, WHITE = COLOR_WHITE, }; #define COLOR_MASK(fg, bg) ((fg) + (bg) * (COLOR_WHITE + 1)) #define COLOR(fg, bg) COLOR_PAIR(COLOR_MASK((fg), (bg))) #define INIT_COLOR(fg, bg) init_pair(COLOR_MASK((fg), (bg)), (fg), (bg)) #define COLOR_ON(fg, bg) attron(COLOR(fg, bg)) #define COLOR_OFF(fg, bg) attroff(COLOR(fg, bg)) extern WINDOW *screen_init(bool israw); extern void screen_end(void); #endif /* SCREEN_H */ '>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/nau8825.c
inux/net-next.git/diff/sound/usb/usx2y/usb_stream.h?id=b272f732f888d4cf43c943a40c9aaa836f9b7431&id2=10bbe7599e2755d3f3e100103967788b8b5a4bce'>usb_stream.h
diff options
AgeCommit message (Expand)AuthorFilesLines
context:
space:
mode:
Diffstat (limited to 'sound/usb/usx2y/usb_stream.h')