mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@723 dbcabf3a-b0e7-0310-adc4-f8d773084564
26 lines
586 B
C
26 lines
586 B
C
#ifndef __SCREEN_H
|
|
#define __SCREEN_H
|
|
|
|
#if defined(USE_NCURSES) && !defined(RENAMED_NCURSES)
|
|
# include <ncurses.h>
|
|
#else
|
|
# include <curses.h>
|
|
#endif
|
|
|
|
#define ATTR_UNDERLINE 0x100
|
|
#define ATTR_COLOR8 0x200
|
|
#define ATTR_REVERSE 0x400
|
|
|
|
int init_screen(void); /* Initialize screen, detect screen length */
|
|
void deinit_screen(void); /* Deinitialize screen */
|
|
|
|
void set_color(WINDOW *window, int col);
|
|
void set_bg(WINDOW *window, int col);
|
|
|
|
void move_cursor(int y, int x);
|
|
|
|
void screen_refresh_freeze(void);
|
|
void screen_refresh_thaw(void);
|
|
void screen_refresh(WINDOW *window);
|
|
|
|
#endif
|