|
C-Menu 0.2.9
A User Interface Toolkit
|
#include <view.h>
| int View::argc |
command line arguments count
Definition at line 58 of file view.h.
Referenced by build_prompt(), destroy_view(), new_view(), view_cmd_processor(), and view_file().
| char** View::argv |
command line arguments vector
Definition at line 59 of file view.h.
Referenced by build_prompt(), destroy_view(), init_view_boxwin(), init_view_files(), new_view(), view_cmd_processor(), and view_file().
| int View::begx |
screen column upper left corner of window
Definition at line 51 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), mview(), popup_view(), and resize_page().
| int View::begy |
screen line upper left corner of window
Definition at line 50 of file view.h.
Referenced by enter_file_spec(), init_view_boxwin(), init_view_full_screen(), mview(), popup_view(), and resize_page().
| char View::bg_clr_x[COLOR_LEN] |
| char View::bo_clr_x[COLOR_LEN] |
| WINDOW* View::box |
| char* View::buf |
pointer to first byte of virtual buffer
Definition at line 144 of file view.h.
Referenced by view_file(), and view_init_input().
| char* View::buf_curr_ptr |
pointer to current position in virtual buffer
Definition at line 145 of file view.h.
Referenced by view_init_input().
| char* View::buf_end_ptr |
| char View::cmd[MAXLEN] |
command to execute in foreground, e.g. an editor
Definition at line 54 of file view.h.
Referenced by view_cmd_processor(), and view_init_input().
| char View::cmd_all[MAXLEN] |
View - command to execute at start of program
Definition at line 55 of file view.h.
Referenced by init_view_files(), and view_init_input().
| char View::cmd_arg[MAXLEN] |
argument string
Definition at line 73 of file view.h.
Referenced by get_cmd_arg(), get_cmd_char(), and view_cmd_processor().
| int View::cmd_line |
command line location on pad
Definition at line 103 of file view.h.
Referenced by display_prompt(), get_cmd_arg(), get_cmd_char(), init_view_boxwin(), init_view_full_screen(), remove_file(), resize_page(), and view_cmd_processor().
| cchar_t View::cmplx_buf[PAD_COLS] |
complex character buffer
Definition at line 95 of file view.h.
Referenced by display_line(), and fmt_line().
| int View::cols |
number of columns for window size
Definition at line 49 of file view.h.
Referenced by get_cmd_arg(), init_view_boxwin(), init_view_files(), init_view_full_screen(), mview(), popup_view(), resize_page(), and view_cmd_processor().
| char View::cur_file_str[MAXLEN] |
file currently open for viewing
Definition at line 91 of file view.h.
Referenced by remove_file(), view_cmd_processor(), view_file(), and view_init_input().
| int View::curr_argc |
current argument count when processing multiple arguments
Definition at line 71 of file view.h.
Referenced by build_prompt(), view_cmd_processor(), and view_file().
| int View::curx |
curx is the pad column of the cursor location
Definition at line 101 of file view.h.
Referenced by display_prompt(), get_cmd_arg(), get_cmd_char(), and search().
| int View::cury |
cury is the pad row of the cursor location
Definition at line 100 of file view.h.
Referenced by display_line(), get_cmd_arg(), go_to_eof(), next_page(), prev_page(), scroll_down_n_lines(), scroll_up_n_lines(), search(), view_cmd_processor(), and view_display_page().
| bool View::f_at_end_remove |
obsolete, unneeded
Definition at line 62 of file view.h.
Referenced by init_view_files(), and remove_file().
| bool View::f_bod |
beginning of data
Definition at line 77 of file view.h.
Referenced by get_pos_prev_line(), scroll_down_n_lines(), and view_file().
| bool View::f_displaying_help |
currently didsplaying help information
Definition at line 83 of file view.h.
Referenced by view_cmd_processor().
| bool View::f_eod |
end of data
Definition at line 78 of file view.h.
Referenced by build_prompt(), cat_file(), get_next_line(), get_pos_next_line(), scroll_down_n_lines(), scroll_up_n_lines(), sync_ln(), view_display_page(), view_file(), and write_view_buffer().
| bool View::f_first_iter |
first iteration of search
Definition at line 84 of file view.h.
Referenced by search(), and view_cmd_processor().
| bool View::f_full_screen |
default mode if lines and columns not specified
Definition at line 86 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), mview(), popup_view(), and resize_page().
| bool View::f_help_spec |
output file verified
Definition at line 124 of file view.h.
Referenced by init_view_files(), and view_display_help().
| bool View::f_ignore_case |
View - ignore case in search
Definition at line 61 of file view.h.
Referenced by init_view_files(), search(), and view_cmd_processor().
| bool View::f_in_pipe |
| bool View::f_is_pipe |
input is from a pipe
Definition at line 80 of file view.h.
Referenced by build_prompt(), and view_cmd_processor().
| bool View::f_ln |
flag - number lines
Definition at line 155 of file view.h.
Referenced by display_line(), init_view_files(), pad_refresh(), scroll_down_n_lines(), scroll_up_n_lines(), and view_cmd_processor().
| bool View::f_multiple_cmd_args |
| bool View::f_redisplay_page |
flag indicating page needs to be redisplayed
Definition at line 82 of file view.h.
Referenced by resize_page(), view_cmd_processor(), and view_display_help().
| bool View::f_search_complete |
Entire file has been searched
Definition at line 85 of file view.h.
Referenced by search(), and view_cmd_processor().
| bool View::f_squeeze |
View - print one line for each group of blank lines
Definition at line 63 of file view.h.
Referenced by get_next_line(), get_pos_next_line(), init_view_files(), and view_cmd_processor().
| bool View::f_strip_ansi |
strip ansi escape sequences when writing buffer
Definition at line 64 of file view.h.
Referenced by view_cmd_processor().
| bool View::f_timer |
| char View::fg_clr_x[COLOR_LEN] |
| char View::file_name[MAXLEN] |
basename of file being viewed
Definition at line 81 of file view.h.
Referenced by build_prompt(), search(), and view_init_input().
| off_t View::file_pos |
current file position
Definition at line 129 of file view.h.
Referenced by get_next_line(), get_pos_next_line(), get_pos_prev_line(), get_prev_line(), go_to_eof(), go_to_line(), go_to_mark(), go_to_percent(), go_to_position(), increment_ln(), next_page(), scroll_up_n_lines(), search(), sync_ln(), view_cmd_processor(), view_display_page(), and view_file().
| off_t View::file_size |
size of file being viewed
Definition at line 128 of file view.h.
Referenced by build_prompt(), get_pos_next_line(), go_to_eof(), go_to_percent(), next_page(), scroll_down_n_lines(), search(), view_file(), and view_init_input().
| char* View::file_spec_ptr |
pointer to current file spec
Definition at line 125 of file view.h.
Referenced by view_cmd_processor(), and view_file().
| int View::first_match_x |
| char View::help_spec[MAXLEN] |
help file spec
Definition at line 121 of file view.h.
Referenced by init_view_files(), and view_display_help().
| int View::in_fd |
input file descriptor
Definition at line 137 of file view.h.
Referenced by enter_file_spec(), and view_init_input().
| char View::in_spec[MAXLEN] |
input file spec
Definition at line 119 of file view.h.
Referenced by view_cmd_processor(), and write_view_buffer().
| int View::last_match_x |
| char* View::line_in_beg_p |
pointer used in matching search targets
Definition at line 97 of file view.h.
Referenced by get_next_line().
| char* View::line_in_end_p |
pointer used in matching search targets
Definition at line 98 of file view.h.
Referenced by get_next_line().
| char View::line_in_s[PAD_COLS] |
raw input line from buffer
Definition at line 92 of file view.h.
Referenced by fmt_line(), get_next_line(), and write_view_buffer().
| char* View::line_out_p |
| char View::line_out_s[PAD_COLS] |
| int View::lines |
number of lines for window size
Definition at line 48 of file view.h.
Referenced by enter_file_spec(), init_view_boxwin(), init_view_files(), init_view_full_screen(), mview(), popup_view(), and resize_page().
| off_t View::ln |
line number
Definition at line 156 of file view.h.
Referenced by display_line(), get_pos_prev_line(), go_to_eof(), go_to_percent(), increment_ln(), initialize_line_table(), next_page(), prev_page(), scroll_down_n_lines(), scroll_up_n_lines(), search(), sync_ln(), view_cmd_processor(), view_display_page(), and view_file().
| char View::ln_bg_clr_x[COLOR_LEN] |
| char View::ln_clr_x[COLOR_LEN] |
| off_t View::ln_max_pos |
position of last page number increment
Definition at line 161 of file view.h.
Referenced by increment_ln(), initialize_line_table(), sync_ln(), and view_file().
| off_t* View::ln_tbl |
line number table - array of file positions
Definition at line 158 of file view.h.
Referenced by destroy_view(), get_pos_prev_line(), go_to_eof(), go_to_percent(), increment_ln(), initialize_line_table(), next_page(), scroll_down_n_lines(), scroll_up_n_lines(), sync_ln(), view_cmd_processor(), and view_display_page().
| off_t View::ln_tbl_cnt |
number of entries used in line_tbl
Definition at line 160 of file view.h.
Referenced by increment_ln(), and sync_ln().
| off_t View::ln_tbl_size |
number of entries allocated in line_tbl
Definition at line 159 of file view.h.
Referenced by increment_ln(), and initialize_line_table().
| WINDOW* View::ln_win |
ncurses window used by View for line numbers
Definition at line 152 of file view.h.
Referenced by destroy_view(), display_line(), init_view_boxwin(), init_view_full_screen(), pad_refresh(), scroll_down_n_lines(), scroll_up_n_lines(), view_cmd_processor(), view_display_page(), and view_restore_wins().
| int View::ln_win_cols |
number of columns in line number window
Definition at line 154 of file view.h.
Referenced by init_view_boxwin(), and init_view_full_screen().
| int View::ln_win_lines |
number of lines in line number window
Definition at line 153 of file view.h.
Referenced by init_view_boxwin(), and init_view_full_screen().
| char* View::lnbuf_curr_ptr |
| char* View::lnbuf_end_ptr |
| off_t View::mark_tbl[NMARKS] |
not implemented
Definition at line 135 of file view.h.
Referenced by go_to_mark(), view_cmd_processor(), and view_init_input().
| int View::maxcol |
length of longest line on pad
Definition at line 104 of file view.h.
Referenced by build_prompt(), fmt_line(), next_page(), view_cmd_processor(), and view_file().
| int View::next_cmd_char |
index of next character in cmd string to process when building prompt
Definition at line 75 of file view.h.
Referenced by view_cmd_processor().
| char* View::next_file_spec_ptr |
pointer to next file spec
Definition at line 126 of file view.h.
Referenced by view_cmd_processor(), and view_file().
| int View::optind |
| int View::out_fd |
| char View::out_spec[MAXLEN] |
output file spec
Definition at line 120 of file view.h.
Referenced by view_cmd_processor(), and write_view_buffer().
| WINDOW* View::pad |
ncurses pad used by View
Definition at line 99 of file view.h.
Referenced by display_line(), init_view_boxwin(), init_view_full_screen(), pad_refresh(), remove_file(), resize_page(), scroll_down_n_lines(), scroll_up_n_lines(), search(), view_cmd_processor(), and view_display_page().
| off_t View::page_bot_ln |
line number of last line displayed
Definition at line 163 of file view.h.
Referenced by scroll_down_n_lines(), scroll_up_n_lines(), search(), view_display_page(), and view_file().
| off_t View::page_bot_pos |
file position of last line displayed
Definition at line 132 of file view.h.
Referenced by build_prompt(), go_to_eof(), go_to_line(), go_to_percent(), go_to_position(), scroll_down_n_lines(), scroll_up_n_lines(), search(), view_cmd_processor(), view_display_page(), and view_file().
| off_t View::page_top_ln |
line number of top line displayed
Definition at line 162 of file view.h.
Referenced by go_to_eof(), go_to_percent(), next_page(), prev_page(), scroll_down_n_lines(), scroll_up_n_lines(), search(), view_cmd_processor(), view_display_page(), and view_file().
| off_t View::page_top_pos |
file position of top line displayed
Definition at line 131 of file view.h.
Referenced by build_prompt(), go_to_eof(), go_to_line(), go_to_percent(), go_to_position(), prev_page(), scroll_down_n_lines(), scroll_up_n_lines(), search(), view_cmd_processor(), view_display_page(), and view_file().
| int View::pmincol |
first pad column displayed in view window
Definition at line 106 of file view.h.
Referenced by build_prompt(), init_view_boxwin(), init_view_full_screen(), pad_refresh(), and view_cmd_processor().
| int View::pminrow |
first pad row displayed in view window
Definition at line 105 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), and pad_refresh().
| off_t View::prev_file_pos |
previous file position
Definition at line 130 of file view.h.
Referenced by view_cmd_processor(), and view_init_input().
| char View::prompt_str[MAXLEN] |
prompt string for chyron
Definition at line 56 of file view.h.
Referenced by build_prompt(), and view_cmd_processor().
| char View::provider_cmd[MAXLEN] |
command provides input
Definition at line 52 of file view.h.
Referenced by init_view_files(), and view_init_input().
| char View::receiver_cmd[MAXLEN] |
| int View::scroll_lines |
number of lines to scroll
Definition at line 102 of file view.h.
Referenced by display_line(), go_to_eof(), go_to_percent(), init_view_boxwin(), init_view_full_screen(), prev_page(), resize_page(), scroll_down_n_lines(), search(), view_cmd_processor(), and view_display_page().
| int View::smaxcol |
screen position of last column of pad displayed in view window
Definition at line 113 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), pad_refresh(), resize_page(), and view_cmd_processor().
| int View::smaxrow |
screen position of last row of pad displayed in view windiow
Definition at line 111 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), pad_refresh(), and resize_page().
| int View::smincol |
screen position of first column of pad displayed in view window
Definition at line 109 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), pad_refresh(), and view_cmd_processor().
| int View::sminrow |
screen position of first row of pad displayed in view window
Definition at line 107 of file view.h.
Referenced by init_view_boxwin(), init_view_full_screen(), and pad_refresh().
| off_t View::srch_beg_pos |
file position when search started
Definition at line 134 of file view.h.
Referenced by search(), and view_cmd_processor().
| off_t View::srch_curr_pos |
current search position
Definition at line 133 of file view.h.
Referenced by search(), and view_cmd_processor().
| FILE* View::stdin_fp |
| FILE* View::stdout_fp |
| char View::stripped_line_out[PAD_COLS] |
printable characters only
Definition at line 94 of file view.h.
Referenced by fmt_line(), and search().
| int View::tab_stop |
number of spaces between tab stops
Definition at line 74 of file view.h.
Referenced by fmt_line(), init_view_boxwin(), init_view_files(), init_view_full_screen(), and view_cmd_processor().
| char View::title[MAXLEN] |
title string for window
Definition at line 57 of file view.h.
Referenced by init_view_boxwin(), init_view_files(), and resize_page().
| char* View::tmp_file_name_ptr |
pointer to temporary file spec
Definition at line 127 of file view.h.
Referenced by view_cmd_processor().
| char View::tmp_prompt_str[MAXLEN] |
| WINDOW* View::win |
ncurses window used by View
Definition at line 67 of file view.h.
Referenced by destroy_view(), display_prompt(), get_cmd_arg(), get_cmd_char(), init_view_boxwin(), init_view_full_screen(), pad_refresh(), remove_file(), and view_restore_wins().