"Fossies" - the Fresh Open Source Software Archive

Member "teapot-2.3.0/display.h" (6 Feb 2012, 914 Bytes) of package /linux/privat/old/teapot-2.3.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "display.h" see the Fossies "Dox" file reference documentation.

    1 #ifndef DISPLAY_H
    2 #define DISPLAY_H
    3 
    4 #include "main.h"
    5 #include "sheet.h"
    6 
    7 #ifdef __cplusplus
    8 extern "C" {
    9 #endif
   10 
   11 typedef struct
   12 {
   13   Key c;
   14   char *str;
   15 } MenuChoice;
   16 
   17 void display_main(Sheet *cursheet);
   18 void display_init(Sheet *cursheet, int always_redraw);
   19 void display_end(void);
   20 void redraw_cell(Sheet *sheet, int x, int y, int z);
   21 void redraw_sheet(Sheet *sheet);
   22 const char *line_file(const char *file, const char *pattern, const char *title, int create);
   23 int line_edit(Sheet *sheet, char *buf, size_t size, const char *prompt, size_t *x, size_t *offx);
   24 int line_ok(const char *prompt, int curx);
   25 void line_msg(const char *prompt, const char *msg);
   26 int keypressed(void);
   27 void show_text(const char *text);
   28 
   29 Key show_menu(Sheet *cursheet);
   30 int line_menu(const char *prompt, const MenuChoice *choice, int curx);
   31 void find_helpfile(char *buf, int size, const char *argv0);
   32 
   33 #ifdef __cplusplus
   34 }
   35 #endif
   36 
   37 
   38 #endif