|
C-Menu 0.2.9
A User Interface Toolkit
|
Window support for C-Menu - EXPERIMENTAL. More...
#include "include/ui_backend.h"#include "ui/ui_ncurses_internal.h"#include <cm.h>#include <errno.h>#include <fcntl.h>#include <math.h>#include <stdlib.h>#include <string.h>#include <sys/ioctl.h>#include <sys/stat.h>#include <sys/types.h>#include <termios.h>#include <unistd.h>#include <wchar.h>Go to the source code of this file.
Macros | |
| #define | NC true |
Enumerations | |
| enum | WinFlags { WF_BOX = 0b00000001 , WF_WIN = 0b00000010 , WF_WIN2 = 0b00000100 } |
Functions | |
| void | abend (int ec, char *s) |
| Abnormal program termination. | |
| bool | action_disposition (char *title, char *action_str) |
| Display a simple action disposition message window or print to stderr. | |
| void | activate_all_chyron_keys (Chyron *chyron) |
| Deactivate chyron key. | |
| void | activate_chyron_key (Chyron *chyron, int k) |
| Activate chyron key. | |
| int | answer_yn (char *msg0, char *msg1, char *msg2, char *msg3) |
| Accept a single letter answer. | |
| void | apply_gamma (RGB *rgb) |
| Apply gamma correction to RGB color. | |
| int | bare_box_new (int wlines, int wcols, int wbegy, int wbegx, char *wtitle) |
| Create a new window with optional box and title. | |
| int | border_draw (WINDOW *) |
| int | border_hsplit (WINDOW *box, int y) |
| Draw a box with a separator line around the specified window. | |
| int | border_hsplit_text (WINDOW *box, char *text, int separator_line) |
| Draw a box with a separator line and text around the specified window. | |
| int | border_title (WINDOW *box, char *title) |
| Draw a box with a title around the specified window. | |
| int | box_hsplit_new (int wlines, int split_win_lines, int wcols, int wbegy, int wbegx, char *wtitle) |
| Create a new window with optional box and title, and a second window inside it, split horizontally. | |
| int | box_new (int wlines, int wcols, int wbegy, int wbegx, char *wtitle) |
| Create a new window with optional box and title. | |
| void | check_panels (int i) |
| Check and display the panels for a given window index. | |
| int | clr_name_to_idx (char *s) |
| Get color index from color name. | |
| void | compile_chyron (Chyron *chyron) |
| construct the chyron string from the chyron structure | |
| void | deactivate_all_chyron_keys (Chyron *chyron) |
| Deactivate all chyron keys. | |
| void | deactivate_chyron_key (Chyron *chyron, int k) |
| Deactivate chyron key. | |
| Chyron * | destroy_chyron (Chyron *chyron) |
| Destroy Chyron structure. | |
| void | destroy_curses () |
| Gracefully shut down NCurses and restore terminal settings. | |
| void | display_chyron (WINDOW *win, Chyron *chyron, int line, int col) |
| Display chyron on window. | |
| void | display_cmplx_str (WINDOW *win, cchar_t *cmplx_buf, int line, int col) |
| Display a complex character string on a window. | |
| int | display_error (char *msg0, char *msg1, char *msg2, char *msg3) |
| Display an error message window or print to stderr. | |
| int | dxwgetch (WINDOW *win_0, WINDOW *win_1, WINDOW *win_2, WINDOW *win_3, WINDOW *win_c, Chyron *chyron, int n) |
| Wrapper for wgetch that handles signals, mouse events, checks for clicks on the chyron line, and accepts a sinigle character answer. | |
| int | get_chyron_key (Chyron *chyron, int x) |
| Get keycode from chyron. | |
| int | get_clr_pair (int fg, int bg) |
| Get color pair index for foreground and background colors. | |
| RGB | hex_clr_str_to_rgb (char *s) |
| Convert six-digit HTML style hex color code to RGB struct. | |
| bool | init_clr_palette (SIO *sio) |
| Initialize color palette based on SIO settings. | |
| void | init_hex_clr (int idx, char *s) |
| Initialize extended ncurses color from HTML style hex string. | |
| void | initialize_local_colors (SIO *sio) |
| Initialize local color variables and color pairs based on SIO settings. | |
| bool | is_set_chyron_key (Chyron *chyron, int k) |
| Check if function key label is set. | |
| void | list_colors () |
| list colors to stderr | |
| int | mb_to_cc (cchar_t *cmplx_buf, char *str, attr_t attr, int cpx, int *pos, int maxlen) |
| Convert multibyte string to complex character array. | |
| WINDOW * | message_win (char *msg) |
| Display a message in a window or print to stderr if curses is not available. | |
| size_t | mk_cmplx_str (cchar_t *cmplx_buf, char *s, attr_t attr, int cp) |
| Convert a multibyte string to an array of cchar_t complex characters. | |
| cchar_t | mkcc (int cp, attr_t attr, const char *s) |
| Create a cchar_t with the specified color pair index. | |
| void | mvwaddstr_fill (WINDOW *w, int y, int x, char *s, int l) |
| For lines shorter than their display area, fill the rest with spaces. | |
| Chyron * | new_chyron () |
| Create and initialize Chyron structure. | |
| int | nf_error (int ec, char *s) |
| Display error message and wait for key press. | |
| bool | open_curses (SIO *sio) |
| Initialize NCurses and color settings. | |
| int | Perror (char *emsg_str) |
| Display a simple error message window or print to stderr. | |
| void | restore_wins () |
| Restore all windows after a screen resize. | |
| int | rgb_to_curses_clr (RGB *rgb) |
| Get color index for RGB color. | |
| int | rgb_to_xterm256_idx (RGB *rgb) |
| Convert RGB color to XTerm 256 color index. | |
| void | set_chyron_key (Chyron *chyron, int k, char *s, int kc) |
| Set chyron key with default color pair (cp_nt_rev). | |
| void | set_chyron_key_cp (Chyron *chyron, int k, char *s, int kc, int cp) |
| Set chyron key with color pair (cp). | |
| size_t | str_to_cc (cchar_t *cmplx_buf, const char *s, attr_t attr, int cp, size_t maxlen) |
| Convert a multibyte string to an array of cchar_t complex characters. | |
| void | ui_rect_set (UiRect *r, int y, int x, int h, int w) |
| Set the properties of a UiRect structure. | |
| void | unset_chyron_key (Chyron *chyron, int k) |
| Unset chyron key. | |
| int | vgetch (WINDOW *win, int n) |
| Wrapper for wgetch that handles signals and mouse events, and accepts a single character answer. | |
| int | wait_continue (WINDOW *wait_win, Chyron *chyron, int remaining) |
| Update the waiting message with remaining time and check for user input. | |
| bool | wait_destroy (Chyron *chyron) |
| Destroy the waiting message window and chyron. | |
| Chyron * | wait_mk_chyron () |
| Create a Chyron struct for the waiting message. | |
| WINDOW * | wait_mk_win (Chyron *chyron, char *title) |
| Display a popup waiting message. | |
| bool | waitpid_with_timeout (pid_t pid, int timeout) |
| Wait for a process to finish with a timeout and optional user cancellation. | |
| int | wccp_to_str (wchar_t cp, uint8_t *buffer) |
| Converts a Unicode code point to a UTF-8 encoded string. | |
| int | win2_box_new (int wlines, int wcols, int wbegy, int wbegx, char *wtitle) |
| Create a new window with optional box and title, and a second window inside it. | |
| int | win2_new (int wlines, int wcols, int wbegy, int wbegx) |
| Create a new subwindow (win2) with specified dimensions and position. | |
| void | win_del () |
| Delete the current window and its associated box window. | |
| void | win_init_attrs () |
| Initialize window attributes. | |
| int | win_new (int wlines, int wcols) |
| Create a new window with specified dimensions and position. | |
| void | win_redraw (WINDOW *win) |
| Redraw the specified window. | |
| void | win_resize (int wlines, int wcols, char *title) |
| Resize the current window and its box, and update the title. | |
| RGB | xterm256_idx_to_rgb (int idx) |
| Convert XTerm 256 color index to RGB. | |
| int | xwgetch (WINDOW *win, Chyron *chyron, int n) |
| Wrapper for wgetch that handles signals, mouse events, checks for clicks on the chyron line, and accepts a sinigle character answer. | |
Variables | |
| cchar_t | bl |
| double | BLUE_GAMMA = 1.2 |
| int | box_attr |
| cchar_t | br |
| cchar_t | bs |
| const wchar_t | bw_bl = BW_RBL |
| const wchar_t | bw_br = BW_RBR |
| const wchar_t | bw_chk = BW_CHK |
| const wchar_t | bw_da = BW_DA |
| const wchar_t | bw_ho = BW_HO |
| const wchar_t | bw_la = BW_LA |
| const wchar_t | bw_lt = BW_LT |
| const wchar_t | bw_ra = BW_RA |
| const wchar_t | bw_ran = BW_RAN |
| const wchar_t | bw_rt = BW_RT |
| const wchar_t | bw_sp = BW_SP |
| const wchar_t | bw_tl = BW_RTL |
| const wchar_t | bw_tr = BW_RTR |
| const wchar_t | bw_ua = BW_UA |
| const wchar_t | bw_ve = BW_VE |
| cchar_t | CC_BG |
| cchar_t | CC_BLUE |
| cchar_t | CC_BOX |
| cchar_t | CC_BRKTL |
| cchar_t | CC_BRKTR |
| cchar_t | CC_CHK |
| cchar_t | CC_CMDLN |
| cchar_t | CC_FILL_CHAR |
| cchar_t | CC_GREEN |
| cchar_t | CC_IND |
| cchar_t | CC_LN |
| cchar_t | CC_NORM |
| cchar_t | CC_NT |
| cchar_t | CC_NT_HL |
| cchar_t | CC_NT_HL_REV |
| cchar_t | CC_NT_REV |
| cchar_t | CC_RAN |
| cchar_t | CC_RED |
| cchar_t | CC_TITLE |
| cchar_t | CC_YELLOW |
| cchar_t | chk |
| int | click_x |
| int | click_y |
| int | clr_cnt = 0 |
| int | clr_pair_cnt = 1 |
| int | clr_pair_idx = 1 |
| unsigned int | cmd_key |
| char const | colors_text [][10] |
| Color names for .minitrc overrides. | |
| int | cp_blue |
| int | cp_box |
| int | cp_brackets |
| int | cp_cmdln |
| int | cp_fill_char |
| int | cp_green |
| int | cp_ind |
| int | cp_ln |
| int | cp_norm |
| int | cp_nt |
| int | cp_nt_hl |
| int | cp_nt_hl_rev |
| int | cp_nt_rev |
| int | cp_red |
| int | cp_title |
| int | cp_yellow |
| cchar_t | da |
| char | em0 [MAXLEN] |
| char | em1 [MAXLEN] |
| char | em2 [MAXLEN] |
| char | em3 [MAXLEN] |
| int | exit_code |
| bool | f_sigwench = false |
| char | fn [MAXLEN] |
| double | GRAY_GAMMA = 1.2 |
| double | GREEN_GAMMA = 1.2 |
| cchar_t | la |
| cchar_t | ls |
| cchar_t | lt |
| int | m_begx = -1 |
| int | m_begy = -1 |
| int | m_cols |
| int | m_lines |
| int | mouse_support |
| WINDOW * | mouse_win |
| PANEL * | panel_box [MAXWIN] |
| PANEL * | panel_main |
| PANEL * | panel_win [MAXWIN] |
| PANEL * | panel_win2 [MAXWIN] |
| int | pipe_in |
| int | pipe_out |
| cchar_t | ra |
| cchar_t | ran |
| double | RED_GAMMA = 1.2 |
| cchar_t | rs |
| cchar_t | rt |
| SCREEN * | screen |
| cchar_t | sp |
| int | src_line |
| char * | src_name |
| RGB | StdColors [16] |
| int | stdin_fd |
| int | stdout_fd |
| cchar_t | tl |
| cchar_t | tr |
| cchar_t | ts |
| int | tty_fd |
| FILE * | tty_fp |
| cchar_t | ua |
| UiSurface * | ui_box [MAXWIN] |
| UiConfig * | ui_config |
| UiRect | ui_rect |
| UiRuntime * | ui_runtime |
| UiSurface * | ui_win [MAXWIN] |
| UiSurface * | ui_win2 [MAXWIN] |
| int | win_attr |
| WINDOW * | win_box [MAXWIN] |
| WINDOW * | win_main |
| int | win_ptr |
| WINDOW * | win_win [MAXWIN] |
| WINDOW * | win_win2 [MAXWIN] |
Window support for C-Menu - EXPERIMENTAL.
This file contains functions for managing NCurses windows and color settings for the Chyron structure for function key labels and mouse click handling. This file is a work in progress and may be subject to change as the C-Menu project evolves. Generally, don't try to use it yet unless you want complete the half-done code modifications.
Definition in file dwin.c.
| enum WinFlags |
| int border_draw | ( | WINDOW * | box | ) |
Definition at line 1236 of file dwin.c.
References bl, br, bs, ls, rs, tl, tr, and ts.
Referenced by bare_box_new().
| double BLUE_GAMMA = 1.2 |
Gamma correction value for blue colors. Set in .minitrc
Definition at line 157 of file dwin.c.
Referenced by apply_gamma(), and initialize_local_colors().
| const wchar_t bw_bl = BW_RBL |
| const wchar_t bw_br = BW_RBR |
| const wchar_t bw_chk = BW_CHK |
| const wchar_t bw_da = BW_DA |
| const wchar_t bw_ho = BW_HO |
horizontal line
Definition at line 138 of file dwin.c.
Referenced by border_hsplit(), and initialize_local_colors().
| const wchar_t bw_la = BW_LA |
| const wchar_t bw_lt = BW_LT |
left tee
Definition at line 144 of file dwin.c.
Referenced by border_hsplit(), initialize_local_colors(), and win_resize().
| const wchar_t bw_ra = BW_RA |
| const wchar_t bw_ran = BW_RAN |
| const wchar_t bw_rt = BW_RT |
right tee
Definition at line 145 of file dwin.c.
Referenced by border_hsplit(), initialize_local_colors(), and win_resize().
| const wchar_t bw_sp = BW_SP |
tee space
Definition at line 146 of file dwin.c.
Referenced by initialize_local_colors(), picker(), and win_resize().
| const wchar_t bw_tl = BW_RTL |
| const wchar_t bw_tr = BW_RTR |
| const wchar_t bw_ua = BW_UA |
| const wchar_t bw_ve = BW_VE |
| cchar_t CC_BLUE |
blue background
Definition at line 217 of file dwin.c.
Referenced by check_panels(), and initialize_local_colors().
| cchar_t CC_BOX |
indicator colors
Definition at line 199 of file dwin.c.
Referenced by bare_box_new(), box_hsplit_new(), init_view_boxwin(), initialize_local_colors(), message_win(), and win_resize().
| cchar_t CC_BRKTL |
left bracket
left field bracket
Definition at line 209 of file dwin.c.
Referenced by initialize_local_colors().
| cchar_t CC_BRKTR |
right bracket
right field bracket
Definition at line 210 of file dwin.c.
Referenced by initialize_local_colors().
| cchar_t CC_CHK |
Definition at line 212 of file dwin.c.
Referenced by initialize_local_colors().
| cchar_t CC_CMDLN |
Definition at line 202 of file dwin.c.
Referenced by initialize_local_colors().
| cchar_t CC_FILL_CHAR |
| cchar_t CC_GREEN |
green background
Definition at line 215 of file dwin.c.
Referenced by check_panels(), and initialize_local_colors().
| cchar_t CC_IND |
box colors
Definition at line 200 of file dwin.c.
Referenced by get_cmd_char(), and initialize_local_colors().
| cchar_t CC_LN |
Definition at line 201 of file dwin.c.
Referenced by init_view_boxwin(), init_view_full_screen(), and initialize_local_colors().
| cchar_t CC_NORM |
Definition at line 208 of file dwin.c.
Referenced by initialize_local_colors(), and open_curses().
| cchar_t CC_NT |
C-Menu normal text
Definition at line 204 of file dwin.c.
Referenced by display_prompt(), get_cmd_arg(), init_view_boxwin(), init_view_full_screen(), initialize_local_colors(), menu_cmd_processor(), popup_ckeys(), reverse_object(), unreverse_object(), win2_new(), win_new(), and win_resize().
| cchar_t CC_NT_HL |
| cchar_t CC_NT_HL_REV |
| cchar_t CC_NT_REV |
reverse
Definition at line 205 of file dwin.c.
Referenced by display_prompt(), get_cmd_arg(), initialize_local_colors(), menu_cmd_processor(), popup_ckeys(), and reverse_object().
| cchar_t CC_RAN |
Definition at line 213 of file dwin.c.
Referenced by initialize_local_colors().
| cchar_t CC_RED |
red background
Definition at line 214 of file dwin.c.
Referenced by check_panels(), and initialize_local_colors().
| cchar_t CC_TITLE |
| cchar_t CC_YELLOW |
| int click_x |
the x coordinate of a mouse click
Definition at line 81 of file dwin.c.
Referenced by cf_accept(), dxwgetch(), field_editor(), form_post(), form_process(), menu_cmd_processor(), picker(), and xwgetch().
| int click_y |
the y coordinate of a mouse click
Definition at line 80 of file dwin.c.
Referenced by cf_accept(), dxwgetch(), field_editor(), form_post(), form_process(), menu_cmd_processor(), picker(), and xwgetch().
| int clr_cnt = 0 |
number of colors used
Definition at line 195 of file dwin.c.
Referenced by init_clr_palette(), and rgb_to_curses_clr().
| int clr_pair_cnt = 1 |
number of color pairs supported by the terminal
Definition at line 197 of file dwin.c.
Referenced by get_clr_pair().
| int clr_pair_idx = 1 |
| unsigned int cmd_key |
Definition at line 160 of file dwin.c.
Referenced by action_disposition(), answer_yn(), display_error(), wait_continue(), and waitpid_with_timeout().
| char const colors_text[][10] |
Color names for .minitrc overrides.
colors_text
These names are used in .minitrc to specify color overrides The order of these names corresponds to the ColorsEnum values
Definition at line 133 of file dwin.c.
Referenced by clr_name_to_idx(), and list_colors().
| int cp_blue |
blue background color pair index
Definition at line 194 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_box |
box color pair index
Definition at line 179 of file dwin.c.
Referenced by border_hsplit_text(), initialize_local_colors(), and picker().
| int cp_brackets |
color pair index for field brackets
Definition at line 190 of file dwin.c.
Referenced by init_form(), and initialize_local_colors().
| int cp_cmdln |
Definition at line 181 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_fill_char |
fill character color pair index
Definition at line 189 of file dwin.c.
Referenced by form_display_fields(), and initialize_local_colors().
| int cp_green |
green background color pair index
Definition at line 192 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_ind |
indicator color pair index
Definition at line 180 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_ln |
Definition at line 187 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_norm |
Definition at line 188 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_nt |
normal color pair index
Definition at line 183 of file dwin.c.
Referenced by fmt_line(), form_display_field(), form_display_fields(), and initialize_local_colors().
| int cp_nt_hl |
highlight color pair index
Definition at line 185 of file dwin.c.
Referenced by initialize_local_colors(), menu_cmd_processor(), and menu_engine().
| int cp_nt_hl_rev |
highlight reverse color pair index
Definition at line 186 of file dwin.c.
Referenced by field_editor(), form_engine(), initialize_local_colors(), menu_cmd_processor(), and picker().
| int cp_nt_rev |
reverse color pair index
Definition at line 184 of file dwin.c.
Referenced by compile_chyron(), field_editor(), initialize_local_colors(), picker(), search(), and set_chyron_key().
| int cp_red |
red background color pair index
Definition at line 191 of file dwin.c.
Referenced by initialize_local_colors().
| int cp_title |
title color pair index
Definition at line 182 of file dwin.c.
Referenced by border_title(), and initialize_local_colors().
| int cp_yellow |
yellow background color pair index
Definition at line 193 of file dwin.c.
Referenced by initialize_local_colors().
| char em0[MAXLEN] |
error message string for error messages
Definition at line 175 of file dwin.c.
Referenced by action_disposition(), dxwgetch(), enter_file_spec(), form_desc_error(), form_parse_desc(), form_process(), form_read_data(), form_write(), get_clr_pair(), handle_signal(), init_view_boxwin(), init_view_full_screen(), mk_dir(), new_init(), new_pick(), new_view(), open_cmenu_log(), pad_refresh(), parse_menu_description(), popup_ckeys(), verify_dir(), verify_file(), view_cmd_processor(), view_init_input(), waitpid_with_timeout(), write_view_buffer(), and xwgetch().
| char em1[MAXLEN] |
error message string for error messages
Definition at line 176 of file dwin.c.
Referenced by dxwgetch(), enter_file_spec(), form_desc_error(), form_parse_desc(), form_process(), form_read_data(), form_write(), get_clr_pair(), handle_signal(), mk_dir(), new_init(), new_pick(), new_view(), parse_menu_description(), popup_ckeys(), verify_dir(), verify_file(), view_cmd_processor(), view_init_input(), write_cmenu_log(), write_view_buffer(), and xwgetch().
| char em2[MAXLEN] |
error message string for error messages
Definition at line 177 of file dwin.c.
Referenced by dxwgetch(), enter_file_spec(), form_desc_error(), form_parse_desc(), form_process(), form_read_data(), form_write(), get_clr_pair(), handle_signal(), mk_dir(), new_init(), new_view(), parse_menu_description(), popup_ckeys(), verify_dir(), verify_file(), view_cmd_processor(), view_init_input(), write_view_buffer(), and xwgetch().
| char em3[MAXLEN] |
error message string for error messages
Definition at line 178 of file dwin.c.
Referenced by verify_dir(), and verify_file().
| int exit_code |
| char fn[MAXLEN] |
function name for error messages
Definition at line 174 of file dwin.c.
Referenced by verify_dir(), and verify_file().
| double GRAY_GAMMA = 1.2 |
Gamma correction value for gray colors. Set in .minitrc
Definition at line 154 of file dwin.c.
Referenced by apply_gamma(), and initialize_local_colors().
| double GREEN_GAMMA = 1.2 |
Gamma correction value for green colors. Set in .minitrc
Definition at line 156 of file dwin.c.
Referenced by apply_gamma(), and initialize_local_colors().
| cchar_t ls |
Definition at line 122 of file dwin.c.
Referenced by border_draw(), init_view_boxwin(), initialize_local_colors(), message_win(), and win_resize().
| WINDOW* mouse_win |
| PANEL* panel_box[MAXWIN] |
Definition at line 57 of file dwin.c.
Referenced by bare_box_new(), check_panels(), destroy_curses(), open_curses(), and win_del().
| PANEL* panel_main |
Definition at line 83 of file dwin.c.
Referenced by open_curses().
| PANEL* panel_win[MAXWIN] |
Definition at line 56 of file dwin.c.
Referenced by check_panels(), win_del(), and win_new().
| PANEL* panel_win2[MAXWIN] |
Definition at line 55 of file dwin.c.
Referenced by check_panels(), win2_new(), and win_del().
| double RED_GAMMA = 1.2 |
Gamma correction value for red colors. Set in .minitrc
Definition at line 155 of file dwin.c.
Referenced by apply_gamma(), and initialize_local_colors().
| SCREEN* screen |
Definition at line 42 of file dwin.c.
Referenced by destroy_curses(), open_curses(), ui_init(), and ui_shutdown().
| int src_line |
the line number of the source file being processed, for error messages
Definition at line 172 of file dwin.c.
Referenced by verify_dir(), and verify_file().
| char* src_name |
the name of the source file being processed, for error messages
Definition at line 173 of file dwin.c.
Referenced by verify_dir(), and verify_file().
| RGB StdColors[16] |
StdColors
Standard 16 colors for xterm256 color conversions These colors can be overridden in ".minitrc"
Definition at line 127 of file dwin.c.
Referenced by init_hex_clr(), and xterm256_idx_to_rgb().
| FILE* tty_fp |
Definition at line 43 of file dwin.c.
Referenced by destroy_curses(), open_curses(), ui_init(), and ui_shutdown().
Definition at line 46 of file dwin.c.
Referenced by open_curses().
| UiRuntime* ui_runtime |
Definition at line 44 of file dwin.c.
Referenced by bare_box_new().
Definition at line 47 of file dwin.c.
Referenced by open_curses().
Definition at line 48 of file dwin.c.
Referenced by open_curses().
| int win_attr |
| WINDOW* win_box[MAXWIN] |
array of pointers to box windows
Definition at line 53 of file dwin.c.
Referenced by bare_box_new(), box_hsplit_new(), check_panels(), destroy_curses(), display_form(), open_curses(), open_pick_win(), restore_wins(), win2_new(), win_del(), win_new(), and win_resize().
| int win_ptr |
Pointer to the current window pair, box and window, which can be used to keep track of the currently active window and its associated box.
Definition at line 164 of file dwin.c.
Referenced by action_disposition(), answer_yn(), bare_box_new(), box_hsplit_new(), destroy_curses(), display_error(), display_form(), menu_cmd_processor(), menu_engine(), open_curses(), open_pick_win(), Perror(), popup_ckeys(), restore_wins(), ui_init(), wait_mk_win(), win2_new(), win_del(), win_new(), and win_resize().
| WINDOW* win_win[MAXWIN] |
array of pointers to windows
Definition at line 52 of file dwin.c.
Referenced by action_disposition(), answer_yn(), check_panels(), destroy_curses(), display_error(), display_form(), menu_cmd_processor(), menu_engine(), open_curses(), open_pick_win(), Perror(), popup_ckeys(), restore_wins(), wait_mk_win(), win_del(), win_new(), and win_resize().
| WINDOW* win_win2[MAXWIN] |
array of pointers to windows
Definition at line 51 of file dwin.c.
Referenced by check_panels(), destroy_curses(), open_curses(), open_pick_win(), restore_wins(), win2_new(), and win_del().