#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 */ y'/>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas D Steeves <nsteeves@gmail.com>2016-05-19 21:18:45 -0400
committerDavid Sterba <dsterba@suse.com>2016-05-25 22:35:14 +0200
commit0132761017e012ab4dc8584d679503f2ba26ca86 (patch)
treea81760d104ee6307d79ba5cf85460afa18a3df21 /Documentation
parent210aa27768bec4297a9d6ad0e5cab45935c775e9 (diff)
btrfs: fix string and comment grammatical issues and typos
Signed-off-by: Nicholas D Steeves <nsteeves@gmail.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation')