mirror of
https://github.com/irssi/irssi.git
synced 2026-08-14 14:12:11 +02:00
..adding new files..
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@171 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d01b094151
commit
c95034c6de
206 changed files with 31247 additions and 0 deletions
31
src/fe-text/screen.h
Normal file
31
src/fe-text/screen.h
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
#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
|
||||
|
||||
extern gboolean use_colors;
|
||||
|
||||
gint init_screen(void); /* Initialize screen, detect screen length */
|
||||
void deinit_screen(void); /* Deinitialize screen */
|
||||
|
||||
void set_color(gint col);
|
||||
void set_bg(gint col);
|
||||
|
||||
void scroll_up(gint y1, gint y2); /* Scroll area up */
|
||||
void scroll_down(gint y1, gint y2); /* Scroll area down */
|
||||
|
||||
void move_cursor(gint y, gint x);
|
||||
|
||||
void screen_refresh_freeze(void);
|
||||
void screen_refresh_thaw(void);
|
||||
void screen_refresh(void);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue