C-Menu 0.2.9
A User Interface Toolkit
Loading...
Searching...
No Matches
Pick Struct Reference

Pick data structure. More...

#include <pick.h>

Collaboration diagram for Pick:
[legend]

Data Fields

int fg_clr_idx
int bg_clr_idx
int bo_clr_idx
int win_lines
int win_width
int begy
int begx
int y
int x
WINDOW * win
WINDOW * box
char title [MAXLEN]
int argc
char ** argv
FILE * in_fp
FILE * out_fp
int in_fd
int out_fd
char mapp_spec [MAXLEN]
char in_spec [MAXLEN]
char out_spec [MAXLEN]
char help_spec [MAXLEN]
char chyron_s [MAXLEN]
char provider_cmd [MAXLEN]
char receiver_cmd [MAXLEN]
char cmd [MAXLEN]
char parent_cmd [MAXLEN]
bool f_mapp_spec
bool f_in_spec
bool f_out_spec
bool f_in_pipe
bool f_out_pipe
bool f_help_spec
bool f_multiple_cmd_args
bool f_selected [OBJ_MAXCNT]
bool help
bool f_provider_cmd
bool f_receiver_cmd
bool f_cmd
char in_buf [BUFSIZ]
char ** object
int select_idx
int select_cnt
int select_max
int obj_cnt
int obj_idx
int pg_line
int pg_lines
int pg_objs
int tab_idx
int tbl_pages
int tbl_page
int tbl_line
int tbl_lines
int tbl_cols
int tbl_col
int tbl_col_width
Chyronchyron

Detailed Description

Pick data structure.

Definition at line 25 of file pick.h.

Field Documentation

◆ argc

int Pick::argc

argument count

Definition at line 38 of file pick.h.

Referenced by read_pick_input().

◆ argv

char** Pick::argv

argument vector

Definition at line 39 of file pick.h.

Referenced by read_pick_input().

◆ begx

int Pick::begx

begin x screen position of windor left

Definition at line 32 of file pick.h.

Referenced by display_pick_help(), exec_objects(), new_pick(), open_pick_win(), and pick_engine().

◆ begy

int Pick::begy

begin y screen position of window top

Definition at line 31 of file pick.h.

Referenced by display_pick_help(), exec_objects(), new_pick(), open_pick_win(), and pick_engine().

◆ bg_clr_idx

int Pick::bg_clr_idx

background color

Definition at line 27 of file pick.h.

◆ bo_clr_idx

int Pick::bo_clr_idx

box color

Definition at line 28 of file pick.h.

◆ box

WINDOW* Pick::box

pointer to box

Definition at line 36 of file pick.h.

Referenced by open_pick_win().

◆ chyron

Chyron* Pick::chyron

chyron data structure

Definition at line 83 of file pick.h.

Referenced by display_page(), pick_engine(), and picker().

◆ chyron_s

char Pick::chyron_s[MAXLEN]

chyron string

Definition at line 48 of file pick.h.

◆ cmd

char Pick::cmd[MAXLEN]

command spec

Definition at line 51 of file pick.h.

Referenced by exec_objects(), init_pick_files(), and pick_engine().

◆ f_cmd

bool Pick::f_cmd

flag: command verified

Definition at line 64 of file pick.h.

Referenced by init_pick_files(), and pick_engine().

◆ f_help_spec

bool Pick::f_help_spec

flag: help spec verified

Definition at line 58 of file pick.h.

Referenced by display_pick_help(), and init_pick_files().

◆ f_in_pipe

bool Pick::f_in_pipe

flag: input spec is a pipe

Definition at line 56 of file pick.h.

Referenced by init_pick().

◆ f_in_spec

bool Pick::f_in_spec

flag: input spec verified

Definition at line 54 of file pick.h.

Referenced by init_pick_files().

◆ f_mapp_spec

bool Pick::f_mapp_spec

flag: mapp spec verified

Definition at line 53 of file pick.h.

◆ f_multiple_cmd_args

bool Pick::f_multiple_cmd_args

flag: multiple command arguments

Definition at line 59 of file pick.h.

Referenced by exec_objects(), and init_pick_files().

◆ f_out_pipe

bool Pick::f_out_pipe

flag: output spec is a pipe

Definition at line 57 of file pick.h.

◆ f_out_spec

bool Pick::f_out_spec

flag: output spec verified

Definition at line 55 of file pick.h.

Referenced by init_pick_files(), and pick_engine().

◆ f_provider_cmd

bool Pick::f_provider_cmd

flag: provider command verified

Definition at line 62 of file pick.h.

Referenced by init_pick_files().

◆ f_receiver_cmd

bool Pick::f_receiver_cmd

flag: receiver command verified

Definition at line 63 of file pick.h.

Referenced by init_pick_files().

◆ f_selected

bool Pick::f_selected[OBJ_MAXCNT]

flag: object selected

Definition at line 60 of file pick.h.

Referenced by deselect_object(), display_page(), exec_objects(), output_objects(), save_object(), and toggle_object().

◆ fg_clr_idx

int Pick::fg_clr_idx

foreground color

Definition at line 26 of file pick.h.

◆ help

bool Pick::help

flag: help requested

Definition at line 61 of file pick.h.

◆ help_spec

char Pick::help_spec[MAXLEN]

help file spec

Definition at line 47 of file pick.h.

Referenced by display_pick_help(), and init_pick_files().

◆ in_buf

char Pick::in_buf[BUFSIZ]

input buffer

Definition at line 65 of file pick.h.

Referenced by read_pick_input().

◆ in_fd

int Pick::in_fd

input file descriptor

Definition at line 42 of file pick.h.

◆ in_fp

FILE* Pick::in_fp

pointer to input file

Definition at line 40 of file pick.h.

Referenced by init_pick(), and read_pick_input().

◆ in_spec

char Pick::in_spec[MAXLEN]

input file spec or input pipe spec

Definition at line 45 of file pick.h.

Referenced by init_pick(), init_pick_files(), and output_objects().

◆ mapp_spec

char Pick::mapp_spec[MAXLEN]

mapp description file spec

Definition at line 44 of file pick.h.

◆ obj_cnt

int Pick::obj_cnt

count of objects

Definition at line 70 of file pick.h.

Referenced by destroy_pick(), display_page(), exec_objects(), init_pick(), output_objects(), pick_engine(), picker(), and read_pick_input().

◆ obj_idx

int Pick::obj_idx

◆ object

char** Pick::object

◆ out_fd

int Pick::out_fd

output file descriptor

Definition at line 43 of file pick.h.

◆ out_fp

FILE* Pick::out_fp

pointer to output file

Definition at line 41 of file pick.h.

Referenced by output_objects().

◆ out_spec

char Pick::out_spec[MAXLEN]

output file spec or output pipe spec

Definition at line 46 of file pick.h.

Referenced by init_pick_files(), output_objects(), and pick_engine().

◆ parent_cmd

char Pick::parent_cmd[MAXLEN]

command to be executed by parent

Definition at line 52 of file pick.h.

◆ pg_line

int Pick::pg_line

current line on page

Definition at line 72 of file pick.h.

Referenced by picker().

◆ pg_lines

int Pick::pg_lines

lines per page

Definition at line 73 of file pick.h.

Referenced by display_page(), pick_engine(), picker(), read_pick_input(), and reverse_object().

◆ pg_objs

int Pick::pg_objs

objects per page

Definition at line 74 of file pick.h.

◆ provider_cmd

char Pick::provider_cmd[MAXLEN]

provider command spec

Definition at line 49 of file pick.h.

Referenced by init_pick(), and init_pick_files().

◆ receiver_cmd

char Pick::receiver_cmd[MAXLEN]

receiver command spec

Definition at line 50 of file pick.h.

Referenced by init_pick_files().

◆ select_cnt

int Pick::select_cnt

count of selected objects

Definition at line 68 of file pick.h.

Referenced by deselect_object(), pick_engine(), picker(), read_pick_input(), and toggle_object().

◆ select_idx

int Pick::select_idx

index of current selected object

Definition at line 67 of file pick.h.

◆ select_max

int Pick::select_max

maximum number of selected objects

Definition at line 69 of file pick.h.

Referenced by init_pick_files(), and picker().

◆ tab_idx

int Pick::tab_idx

index of current tab

Definition at line 75 of file pick.h.

◆ tbl_col

int Pick::tbl_col

current column on table page

Definition at line 81 of file pick.h.

Referenced by deselect_object(), picker(), read_pick_input(), reverse_object(), toggle_object(), and unreverse_object().

◆ tbl_col_width

int Pick::tbl_col_width

column width on table page

Definition at line 82 of file pick.h.

Referenced by deselect_object(), display_page(), pick_engine(), picker(), reverse_object(), save_object(), toggle_object(), and unreverse_object().

◆ tbl_cols

int Pick::tbl_cols

columns per table page

Definition at line 80 of file pick.h.

Referenced by display_page(), pick_engine(), picker(), read_pick_input(), and reverse_object().

◆ tbl_line

int Pick::tbl_line

current line on table page

Definition at line 78 of file pick.h.

Referenced by picker(), and reverse_object().

◆ tbl_lines

int Pick::tbl_lines

lines per table page

Definition at line 79 of file pick.h.

Referenced by pick_engine().

◆ tbl_page

int Pick::tbl_page

current table page

Definition at line 77 of file pick.h.

Referenced by display_page(), pick_engine(), picker(), and read_pick_input().

◆ tbl_pages

int Pick::tbl_pages

total number of table pages

Definition at line 76 of file pick.h.

Referenced by pick_engine(), picker(), and read_pick_input().

◆ title

char Pick::title[MAXLEN]

title string

Definition at line 37 of file pick.h.

Referenced by init_pick_files(), and open_pick_win().

◆ win

WINDOW* Pick::win

pointer to window

Definition at line 35 of file pick.h.

Referenced by deselect_object(), display_page(), init_pick(), open_pick_win(), picker(), reverse_object(), toggle_object(), and unreverse_object().

◆ win_lines

int Pick::win_lines

window lines

Definition at line 29 of file pick.h.

Referenced by open_pick_win(), and pick_engine().

◆ win_width

int Pick::win_width

window width (columns)

Definition at line 30 of file pick.h.

Referenced by open_pick_win(), and pick_engine().

◆ x

int Pick::x

current x (column)

Definition at line 34 of file pick.h.

Referenced by deselect_object(), display_page(), pick_engine(), picker(), read_pick_input(), reverse_object(), toggle_object(), and unreverse_object().

◆ y

int Pick::y

current y (line)

Definition at line 33 of file pick.h.

Referenced by deselect_object(), picker(), read_pick_input(), reverse_object(), toggle_object(), and unreverse_object().


The documentation for this struct was generated from the following file: