Idź do kodu źródłowego tego pliku.
|
void | ncurses_init (void) |
|
void | ncurses_deinit (void) |
|
void | update_statusbar (int commit) |
|
| QUERY (ncurses_session_disconnect_handler) |
|
gboolean | ncurses_simple_print (WINDOW *w, const char *s, fstr_attr_t attr, gssize maxx) |
|
const char * | ncurses_fstring_print (WINDOW *w, const char *s, const fstr_attr_t *attr, gssize maxx) |
|
void | ncurses_prompt_set (window_t *w, const gchar *str) |
|
void | ncurses_update_real_prompt (ncurses_window_t *n) |
|
void | ncurses_resize (void) |
|
void | ncurses_redraw (window_t *w) |
|
void | ncurses_redraw_input (unsigned int ch) |
|
void | ncurses_clear (window_t *w, int full) |
|
void | ncurses_refresh (void) |
|
void | ncurses_commit (void) |
|
int | ncurses_window_kill (window_t *w) |
|
int | ncurses_window_new (window_t *w) |
|
void | header_statusbar_resize (const char *dummy) |
|
void | changed_backlog_size (const char *var) |
|
int | ncurses_lastlog_update (window_t *w) |
|
void | ncurses_lastlog_new (window_t *w) |
|
| WATCHER (ncurses_watch_stdin) |
|
| WATCHER (ncurses_watch_winch) |
|
int | ncurses_command_window (void *data, va_list ap) |
|
| COMMAND (cmd_mark) |
|
int | color_pair (int fg, int bg) |
|
int | ncurses_backlog_add_real (window_t *w, fstring_t *str) |
|
wchar_t | ncurses_fixchar (wchar_t ch, int *attr) |
|
#define COLOR_DEFAULT (-1) |
#define LINE_MAXLEN 1000 /* max line length */ |
#define MULTILINE_INPUT_SIZE 5 |
Wartości wyliczeń |
---|
WF_LEFT |
|
WF_TOP |
|
WF_RIGHT |
|
WF_BOTTOM |
|
WF_ALL |
|
void changed_backlog_size |
( |
const char * |
var) | |
|
int color_pair |
( |
int |
fg, |
|
|
int |
bg |
|
) |
| |
void header_statusbar_resize |
( |
const char * |
dummy) | |
|
void ncurses_clear |
( |
window_t * |
w, |
|
|
int |
full |
|
) |
| |
int ncurses_command_window |
( |
void * |
data, |
|
|
va_list |
ap |
|
) |
| |
void ncurses_commit |
( |
void |
) | |
|
void ncurses_deinit |
( |
void |
) | |
|
wchar_t ncurses_fixchar |
( |
wchar_t |
ch, |
|
|
int * |
attr |
|
) |
| |
|
inline |
const char* ncurses_fstring_print |
( |
WINDOW * |
w, |
|
|
const char * |
s, |
|
|
const fstr_attr_t * |
attr, |
|
|
gssize |
maxx |
|
) |
| |
ncurses_fstring_print()
Print fstring_t, making sure output width doesn't exceed max width. If it does, rewind to the previous linebreak possibility.
- Parametry
-
w | - target ncurses window. |
s | - locale-encoded string to print. |
attr | - attribute list (of length strlen(s)). |
maxx | - max output width expressed through the last column to print in or -1 if any. |
- Zwraca
- Pointer to the character which the next print should begin at.
void ncurses_init |
( |
void |
) | |
|
void ncurses_lastlog_new |
( |
window_t * |
w) | |
|
int ncurses_lastlog_update |
( |
window_t * |
w) | |
|
void ncurses_prompt_set |
( |
window_t * |
w, |
|
|
const gchar * |
str |
|
) |
| |
ncurses_prompt_set()
Set window prompt, updating internal data as necessary.
- Parametry
-
w | - window to be updated |
str | - prompt target (uid/nickname) or NULL if none |
void ncurses_redraw_input |
( |
unsigned int |
ch) | |
|
void ncurses_refresh |
( |
void |
) | |
|
void ncurses_resize |
( |
void |
) | |
|
gboolean ncurses_simple_print |
( |
WINDOW * |
w, |
|
|
const char * |
s, |
|
|
fstr_attr_t |
attr, |
|
|
gssize |
maxx |
|
) |
| |
ncurses_simple_print()
Print simple string, making sure it doesn't exceed max width.
- Parametry
-
w | - target ncurses window. |
s | - locale-encoded string to print. |
attr | - attribute set (one for the whole string). |
maxx | - max output width expressed through the last column to print in or -1 if any. |
- Zwraca
- TRUE if whole string was printed, FALSE if maxwidth reached.
- Nota
- If printed string ends with a double-column char maxx may be exceeded. If necessary, provide decreased value.
void update_statusbar |
( |
int |
commit) | |
|
int config_backlog_scroll_half_page |
int config_display_transparent |
int config_kill_irc_window |
int config_mark_on_window_change |
int config_text_bottomalign |
wchar_t* ncurses_history[1000] |
int ncurses_history_index |
int ncurses_plugin_destroyed |
int ncurses_screen_height |