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 argc
char ** argv
uint begx
uint begy
uint bg_clr_idx
uint bo_clr_idx
Chyronchyron
char cmd [MAXLEN]
uint d_cnt
uint d_idx
char ** d_object
bool f_cmd
bool f_help_spec
bool f_in_pipe
bool f_in_spec
bool f_mapp_spec
bool f_multiple_cmd_args
bool f_out_pipe
bool f_out_spec
bool f_provider_cmd
bool f_read_theme
bool f_receiver_cmd
bool f_selected [OBJ_MAXCNT]
uint fg_clr_idx
bool help
char help_spec [MAXLEN]
char in_buf [BUFSIZ]
int in_fd
FILE * in_fp
char in_spec [MAXLEN]
uint lines
uint m_cnt
uint m_idx
char ** m_object
char mapp_spec [MAXLEN]
int out_fd
FILE * out_fp
char out_spec [MAXLEN]
bool p_view_files
char parent_cmd [MAXLEN]
uint pg_line
uint pg_lines
uint pg_objs
char provider_cmd [MAXLEN]
char receiver_cmd [MAXLEN]
uint select_cnt
uint select_idx
uint select_max
uint separator_line
UiSurfacesurface
uint tab_idx
uint tbl_col
uint tbl_col_width
uint tbl_cols
uint tbl_line
uint tbl_lines
uint tbl_page
uint tbl_pages
char title [MAXLEN]
uint width
uint x
uint y
uint y_offset

Detailed Description

Pick data structure.

Definition at line 25 of file pick.h.

Field Documentation

◆ argc

int Pick::argc

argument count

Definition at line 42 of file pick.h.

Referenced by read_pick_input().

◆ argv

char** Pick::argv

argument vector

Definition at line 43 of file pick.h.

Referenced by read_pick_input().

◆ begx

uint 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

uint 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

uint Pick::bg_clr_idx

background color

Definition at line 27 of file pick.h.

◆ bo_clr_idx

uint Pick::bo_clr_idx

box color

Definition at line 28 of file pick.h.

◆ chyron

Chyron* Pick::chyron

chyron data structure

Definition at line 94 of file pick.h.

Referenced by init_pick(), open_pick_win(), pick_engine(), pick_std_chyron(), and picker().

◆ cmd

char Pick::cmd[MAXLEN]

command spec

Definition at line 54 of file pick.h.

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

◆ d_cnt

◆ d_idx

◆ d_object

char** Pick::d_object

◆ f_cmd

bool Pick::f_cmd

flag: command verified

Definition at line 69 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 61 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 59 of file pick.h.

Referenced by init_pick().

◆ f_in_spec

bool Pick::f_in_spec

flag: input spec verified

Definition at line 57 of file pick.h.

Referenced by init_pick_files().

◆ f_mapp_spec

bool Pick::f_mapp_spec

flag: mapp spec verified

Definition at line 56 of file pick.h.

◆ f_multiple_cmd_args

bool Pick::f_multiple_cmd_args

flag: multiple command arguments

Definition at line 63 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 60 of file pick.h.

◆ f_out_spec

bool Pick::f_out_spec

flag: output spec verified

Definition at line 58 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 67 of file pick.h.

Referenced by init_pick_files().

◆ f_read_theme

bool Pick::f_read_theme

flag: read and process default theme

Definition at line 62 of file pick.h.

Referenced by init_pick_files(), and pick_engine().

◆ f_receiver_cmd

bool Pick::f_receiver_cmd

flag: receiver command verified

Definition at line 68 of file pick.h.

Referenced by init_pick_files().

◆ f_selected

◆ fg_clr_idx

uint Pick::fg_clr_idx

foreground color

Definition at line 26 of file pick.h.

◆ help

bool Pick::help

flag: help requested

Definition at line 66 of file pick.h.

◆ help_spec

char Pick::help_spec[MAXLEN]

help file spec

Definition at line 51 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 70 of file pick.h.

Referenced by read_pick_input().

◆ in_fd

int Pick::in_fd

input file descriptor

Definition at line 46 of file pick.h.

◆ in_fp

FILE* Pick::in_fp

pointer to input file

Definition at line 44 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 49 of file pick.h.

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

◆ lines

uint Pick::lines

◆ m_cnt

uint Pick::m_cnt

Definition at line 75 of file pick.h.

Referenced by init_pick(), match_objects(), and read_pick_input().

◆ m_idx

uint Pick::m_idx

count of objects

Definition at line 77 of file pick.h.

Referenced by destroy_pick(), init_pick(), match_objects(), read_pick_input(), and save_object().

◆ m_object

char** Pick::m_object

master object table (as read from input)

Definition at line 71 of file pick.h.

Referenced by destroy_pick(), init_pick(), match_objects(), new_pick(), and save_object().

◆ mapp_spec

char Pick::mapp_spec[MAXLEN]

mapp description file spec

Definition at line 48 of file pick.h.

◆ out_fd

int Pick::out_fd

output file descriptor

Definition at line 47 of file pick.h.

◆ out_fp

FILE* Pick::out_fp

pointer to output file

Definition at line 45 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 50 of file pick.h.

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

◆ p_view_files

bool Pick::p_view_files

flag: View pick files

Definition at line 64 of file pick.h.

Referenced by destroy_pick_view(), init_pick(), init_pick_files(), open_pick_win(), pick_engine(), pick_std_chyron(), and picker().

◆ parent_cmd

char Pick::parent_cmd[MAXLEN]

command to be executed by parent

Definition at line 55 of file pick.h.

◆ pg_line

uint Pick::pg_line

current line on page

Definition at line 81 of file pick.h.

Referenced by picker().

◆ pg_lines

uint Pick::pg_lines

lines per page

Definition at line 82 of file pick.h.

◆ pg_objs

uint Pick::pg_objs

objects per page

Definition at line 83 of file pick.h.

◆ provider_cmd

char Pick::provider_cmd[MAXLEN]

provider command spec

Definition at line 52 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 53 of file pick.h.

Referenced by init_pick_files().

◆ select_cnt

uint Pick::select_cnt

count of selected objects

Definition at line 73 of file pick.h.

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

◆ select_idx

uint Pick::select_idx

index of current selected object

Definition at line 72 of file pick.h.

◆ select_max

uint Pick::select_max

maximum number of selected objects

Definition at line 74 of file pick.h.

Referenced by init_pick_files(), pick_std_chyron(), and picker().

◆ separator_line

uint Pick::separator_line

separator between object selector and line editor

Definition at line 92 of file pick.h.

Referenced by open_pick_win(), and picker().

◆ surface

◆ tab_idx

uint Pick::tab_idx

index of current tab

Definition at line 84 of file pick.h.

◆ tbl_col

uint Pick::tbl_col

current column on table page

Definition at line 90 of file pick.h.

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

◆ tbl_col_width

uint Pick::tbl_col_width

column width on table page

Definition at line 91 of file pick.h.

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

◆ tbl_cols

uint Pick::tbl_cols

columns per table page

Definition at line 89 of file pick.h.

Referenced by display_pick_page(), pick_engine(), picker(), remove_right_angle(), reverse_object(), and unreverse_object().

◆ tbl_line

uint Pick::tbl_line

current line on table page

Definition at line 87 of file pick.h.

Referenced by picker(), remove_right_angle(), reverse_object(), and unreverse_object().

◆ tbl_lines

uint Pick::tbl_lines

lines per table page

Definition at line 88 of file pick.h.

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

◆ tbl_page

uint Pick::tbl_page

current table page

Definition at line 86 of file pick.h.

Referenced by display_pick_page(), pick_engine(), pick_std_chyron(), picker(), remove_right_angle(), reverse_object(), and unreverse_object().

◆ tbl_pages

uint Pick::tbl_pages

total number of table pages

Definition at line 85 of file pick.h.

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

◆ title

char Pick::title[MAXLEN]

title string

Definition at line 41 of file pick.h.

Referenced by init_pick_files(), and open_pick_win().

◆ width

uint Pick::width

window width (columns)

Definition at line 30 of file pick.h.

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

◆ x

uint Pick::x

current x (column)

Definition at line 34 of file pick.h.

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

◆ y

uint Pick::y

◆ y_offset

uint Pick::y_offset

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