base/config/kconfig/lxdialog/textbox.c File Reference

#include "dialog.h"

Include dependency graph for textbox.c:

Include dependency graph

Go to the source code of this file.

Functions

void back_lines (int n)
void print_page (WINDOW *win, int height, int width)
void print_line (WINDOW *win, int row, int width)
char * get_line (void)
void print_position (WINDOW *win, int height, int width)
int dialog_textbox (const char *title, const char *file, int height, int width)

Variables

int hscroll
int fd
int file_size
int bytes_read
int begin_reached = 1 end_reached page_length
char * buf
char * page


Function Documentation

void back_lines int  n  )  [static]
 

Definition at line 328 of file textbox.c.

References begin_reached, buf, BUF_SIZE, bytes_read, fd, and page.

Referenced by dialog_textbox().

int dialog_textbox const char *  title,
const char *  file,
int  height,
int  width
 

Definition at line 38 of file textbox.c.

References ACS_HLINE, ACS_LTEE, ACS_RTEE, attr_clear(), back_lines(), begin_reached, border_attr, buf, BUF_SIZE, bytes_read, dialog_attr, draw_box(), draw_shadow(), ESC, fd, file_size, get_line(), hscroll, MAX_LEN, page, print_button(), print_line(), print_page(), print_position(), text, and title_attr.

Referenced by j_textbox().

Here is the call graph for this function:

char * get_line void   )  [static]
 

Definition at line 490 of file textbox.c.

References buf, BUF_SIZE, bytes_read, fd, file_size, MAX_LEN, and page.

Referenced by dialog_textbox(), and print_line().

void print_line WINDOW *  win,
int  row,
int  width
[static]
 

Definition at line 460 of file textbox.c.

References get_line(), hscroll, and MIN.

Referenced by dialog_textbox(), and print_page().

Here is the call graph for this function:

void print_page WINDOW *  win,
int  height,
int  width
[static]
 

Definition at line 441 of file textbox.c.

References print_line().

Referenced by dialog_textbox().

Here is the call graph for this function:

void print_position WINDOW *  win,
int  height,
int  width
[static]
 

Definition at line 541 of file textbox.c.

References buf, bytes_read, fd, file_size, page, and position_indicator_attr.

Referenced by dialog_textbox().


Variable Documentation

int begin_reached = 1 end_reached page_length [static]
 

Definition at line 31 of file textbox.c.

Referenced by back_lines(), and dialog_textbox().

char* buf [static]
 

Definition at line 32 of file textbox.c.

Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().

int bytes_read [static]
 

Definition at line 30 of file textbox.c.

Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().

int fd [static]
 

Definition at line 30 of file textbox.c.

Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().

int file_size [static]
 

Definition at line 30 of file textbox.c.

Referenced by dialog_textbox(), get_line(), and print_position().

int hscroll [static]
 

Definition at line 30 of file textbox.c.

Referenced by dialog_textbox(), and print_line().

char * page [static]
 

Definition at line 32 of file textbox.c.

Referenced by back_lines(), dialog_textbox(), get_line(), and print_position().


Generated on Thu Nov 20 11:51:26 2008 for RTAI API by doxygen 1.3.8