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) |
| |
◆ COLOR_DEFAULT
| #define COLOR_DEFAULT (-1) |
◆ contacts
◆ history
◆ history_index
◆ HISTORY_MAX
◆ LINE_MAXLEN
| #define LINE_MAXLEN 1000 /* max line length */ |
◆ MULTILINE_INPUT_SIZE
| #define MULTILINE_INPUT_SIZE 5 |
◆ ncurses_current
◆ window_frame_t
| Wartości wyliczeń |
|---|
| WF_LEFT | |
| WF_TOP | |
| WF_RIGHT | |
| WF_BOTTOM | |
| WF_ALL | |
◆ changed_backlog_size()
| void changed_backlog_size |
( |
const char * |
var | ) |
|
◆ color_pair()
| int color_pair |
( |
int |
fg, |
|
|
int |
bg |
|
) |
| |
◆ COMMAND()
◆ header_statusbar_resize()
| void header_statusbar_resize |
( |
const char * |
dummy | ) |
|
◆ ncurses_backlog_add_real()
◆ ncurses_clear()
| void ncurses_clear |
( |
window_t * |
w, |
|
|
int |
full |
|
) |
| |
◆ ncurses_command_window()
| int ncurses_command_window |
( |
void * |
data, |
|
|
va_list |
ap |
|
) |
| |
◆ ncurses_commit()
| void ncurses_commit |
( |
void |
| ) |
|
◆ ncurses_deinit()
| void ncurses_deinit |
( |
void |
| ) |
|
◆ ncurses_fixchar()
| wchar_t ncurses_fixchar |
( |
wchar_t |
ch, |
|
|
int * |
attr |
|
) |
| |
|
inline |
◆ ncurses_fstring_print()
| 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.
◆ ncurses_init()
| void ncurses_init |
( |
void |
| ) |
|
◆ ncurses_lastlog_new()
| void ncurses_lastlog_new |
( |
window_t * |
w | ) |
|
◆ ncurses_lastlog_update()
| int ncurses_lastlog_update |
( |
window_t * |
w | ) |
|
◆ ncurses_prompt_set()
| 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 |
◆ ncurses_redraw()
◆ ncurses_redraw_input()
| void ncurses_redraw_input |
( |
unsigned int |
ch | ) |
|
◆ ncurses_refresh()
| void ncurses_refresh |
( |
void |
| ) |
|
◆ ncurses_resize()
| void ncurses_resize |
( |
void |
| ) |
|
◆ ncurses_simple_print()
| 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.
◆ ncurses_update_real_prompt()
◆ ncurses_window_kill()
◆ ncurses_window_new()
◆ QUERY()
◆ update_statusbar()
| void update_statusbar |
( |
int |
commit | ) |
|
◆ WATCHER() [1/2]
◆ WATCHER() [2/2]
◆ config_backlog_scroll_half_page
| int config_backlog_scroll_half_page |
◆ config_backlog_size
◆ config_display_transparent
| int config_display_transparent |
◆ config_enter_scrolls
◆ config_kill_irc_window
| int config_kill_irc_window |
◆ config_lastlog_lock
◆ config_lastlog_size
◆ config_margin_size
◆ config_mark_on_window_change
| int config_mark_on_window_change |
◆ config_text_bottomalign
| int config_text_bottomalign |
◆ have_winch_pipe
◆ ncurses_contacts
◆ ncurses_debug
◆ ncurses_history
| wchar_t* ncurses_history[1000] |
◆ ncurses_history_index
| int ncurses_history_index |
◆ ncurses_input
◆ ncurses_plugin
◆ ncurses_plugin_destroyed
| int ncurses_plugin_destroyed |
◆ ncurses_screen_height
| int ncurses_screen_height |
◆ ncurses_screen_width
◆ winch_pipe