|
C-Menu 0.2.9
A User Interface Toolkit
|
The SIO structure encapsulates various aspects of the terminal's state and configuration, including color management, file pointers, and terminal device information. More...
#include <cm.h>
Data Fields | |
| uint32_t | abg |
| uint32_t | bblack |
| uint32_t | bblue |
| uint32_t | bcyan |
| uint32_t | bg |
| uint32_t | bgreen |
| uint32_t | black |
| uint32_t | blue |
| double | blue_gamma |
| uint32_t | bmagenta |
| uint32_t | borange |
| char | border |
| uint32_t | box_bg |
| uint32_t | box_fg |
| char | brackets [3] |
| uint32_t | brackets_bg |
| uint32_t | brackets_fg |
| uint32_t | bred |
| uint32_t | bwhite |
| uint32_t | byellow |
| uint | clr_cnt |
| uint | clr_idx |
| uint | clr_pair_cnt |
| uint | clr_pair_idx |
| uint32_t | cmdln_bg |
| uint32_t | cmdln_fg |
| ushort | cp_bold |
| ushort | cp_box |
| ushort | cp_brackets |
| ushort | cp_chk |
| ushort | cp_cmdln |
| ushort | cp_default |
| ushort | cp_fill_char |
| ushort | cp_ind |
| ushort | cp_ln |
| ushort | cp_nt |
| ushort | cp_nt_hl |
| ushort | cp_nt_hl_rev |
| ushort | cp_nt_rev |
| ushort | cp_ran |
| ushort | cp_title |
| uint32_t | cyan |
| uint32_t | fg |
| char | fill_char [2] |
| uint32_t | fill_char_bg |
| uint32_t | fill_char_fg |
| double | gray_gamma |
| uint32_t | green |
| double | green_gamma |
| uint32_t | ind_bg |
| uint32_t | ind_fg |
| uint32_t | ln_bg |
| uint32_t | ln_fg |
| uint32_t | magenta |
| uint32_t | nt_bg |
| uint32_t | nt_fg |
| uint32_t | nt_hl_bg |
| uint32_t | nt_hl_fg |
| uint32_t | nt_hl_rev_bg |
| uint32_t | nt_hl_rev_fg |
| uint32_t | nt_rev_bg |
| uint32_t | nt_rev_fg |
| uint32_t | orange |
| uint32_t | ran_bg |
| uint32_t | ran_fg |
| uint32_t | red |
| double | red_gamma |
| int | stderr_fd |
| FILE * | stderr_fp |
| int | stdin_fd |
| FILE * | stdin_fp |
| int | stdout_fd |
| FILE * | stdout_fp |
| uint32_t | title_bg |
| uint32_t | title_fg |
| int | tty_fd |
| FILE * | tty_fp |
| char | tty_name [MAXLEN] |
| uint32_t | white |
| uint32_t | yellow |
The SIO structure encapsulates various aspects of the terminal's state and configuration, including color management, file pointers, and terminal device information.
The SIO structure serves as a central repository for all relevant information needed to manage the terminal's appearance and behavior effectively, allowing for a highly customizable and visually appealing terminal experience. The SIO structure includes fields for managing colors, gamma correction values, color codes for different colors, file pointers and descriptors for standard input/output/error and the terminal device, as well as counters and indices for color management. Additionally, it contains a field for storing the name of the terminal device. This comprehensive structure allows for efficient management of the terminal's state and configuration in a structured way.
| uint32_t SIO::bblack |
bold black
Definition at line 702 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::bblue |
bold blue
Definition at line 706 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::bcyan |
bold cyan
Definition at line 708 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::bg |
background color
Definition at line 713 of file cm.h.
Referenced by init_clr_palette(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::bgreen |
bold green
Definition at line 704 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::black |
black
Definition at line 693 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::blue |
blue
Definition at line 697 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| double SIO::blue_gamma |
blue gamma correction value
Definition at line 691 of file cm.h.
Referenced by initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::bmagenta |
bold magenta
Definition at line 707 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::borange |
bold orange
Definition at line 710 of file cm.h.
Referenced by init_clr_palette(), and process_config_file().
| char SIO::border |
Rounded, Single, Double, None
Definition at line 752 of file cm.h.
Referenced by main(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::box_bg |
box background
Definition at line 715 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::box_fg |
box foreground
Definition at line 714 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), and write_config().
| char SIO::brackets[3] |
Definition at line 750 of file cm.h.
Referenced by initialize_cells(), and mapp_initialization().
| uint32_t SIO::brackets_bg |
brackets background
Definition at line 719 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::brackets_fg |
brackets foreground
Definition at line 718 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::bred |
bold red
Definition at line 703 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::bwhite |
bold white
Definition at line 709 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::byellow |
bold yellow
Definition at line 705 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::cmdln_bg |
line number background index
Definition at line 725 of file cm.h.
Referenced by initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::cmdln_fg |
line number color index
Definition at line 724 of file cm.h.
Referenced by initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::cyan |
cyan
Definition at line 699 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::fg |
foreground color
Definition at line 712 of file cm.h.
Referenced by init_clr_palette(), mapp_initialization(), process_config_file(), and write_config().
| char SIO::fill_char[2] |
Definition at line 751 of file cm.h.
Referenced by mapp_initialization().
| uint32_t SIO::fill_char_bg |
fill character background
Definition at line 721 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::fill_char_fg |
fill character foreground
Definition at line 720 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), process_config_file(), and write_config().
| double SIO::gray_gamma |
gray gamma correction value
Definition at line 692 of file cm.h.
Referenced by initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::green |
green
Definition at line 695 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| double SIO::green_gamma |
green gamma correction value
Definition at line 690 of file cm.h.
Referenced by initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::ind_bg |
indicator background
Definition at line 717 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::ind_fg |
indicator foreground
Definition at line 716 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::ln_bg |
line number background index
Definition at line 723 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::ln_fg |
line number color index
Definition at line 722 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::magenta |
magenta
Definition at line 698 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::nt_bg |
color code for normal text background
Definition at line 727 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_fg |
color code for normal text foreground
Definition at line 726 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_hl_bg |
normal text highlight background
Definition at line 731 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_hl_fg |
normal text highlight foreground
Definition at line 730 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_hl_rev_bg |
normal text highlight reverse background
Definition at line 733 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_hl_rev_fg |
normal text highlight reverse foreground
Definition at line 732 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_rev_bg |
normal text reverse background
Definition at line 729 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::nt_rev_fg |
normal text reverse foreground
Definition at line 728 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::orange |
| uint32_t SIO::ran_bg |
right angle background
Definition at line 737 of file cm.h.
Referenced by initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::ran_fg |
right angle foreground
Definition at line 736 of file cm.h.
Referenced by initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::red |
red
Definition at line 694 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| double SIO::red_gamma |
red gamma correction value
Definition at line 689 of file cm.h.
Referenced by initialize_cells(), process_config_file(), and write_config().
| uint32_t SIO::title_bg |
title background
Definition at line 735 of file cm.h.
Referenced by init_clr_palette(), initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::title_fg |
title foreground
Definition at line 734 of file cm.h.
Referenced by initialize_cells(), mapp_initialization(), process_config_file(), and write_config().
| uint32_t SIO::white |
white
Definition at line 700 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().
| uint32_t SIO::yellow |
yellow
Definition at line 696 of file cm.h.
Referenced by init_clr_palette(), process_config_file(), and write_config().