~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Tina6/tina-tools/tinatool/wdgts/wdgtsPro.h

Version: ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /**********
  2  * 
  3  * This file is part of the TINA Open Source Image Analysis Environment
  4  * henceforth known as TINA
  5  *
  6  * TINA is free software; you can redistribute it and/or modify
  7  * it under the terms of the GNU Lesser General Public License as 
  8  * published by the Free Software Foundation.
  9  *
 10  * TINA is distributed in the hope that it will be useful,
 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13  * GNU Lesser General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU Lesser General Public License
 16  * along with TINA; if not, write to the Free Software Foundation, Inc., 
 17  * 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 18  *
 19  **********
 20  * 
 21  * Program :    TINA
 22  * File    :  $Source: /home/tina/cvs/tina-tools/tinatool/wdgts/wdgtsPro.h,v $
 23  * Date    :  $Date: 2009/03/25 13:37:03 $
 24  * Version :  $Revision: 1.4 $
 25  * CVS Id  :  $Id: wdgtsPro.h,v 1.4 2009/03/25 13:37:03 paul Exp $
 26  *
 27  * Author  : Legacy TINA
 28  *
 29  * Notes :
 30  *
 31  *  An ungly nasty way of abstracting xv, xm etc
 32  *  This file lists the interface to any of the libraries
 33  *  below.
 34  *
 35  *********
 36 */
 37 
 38 #ifndef TINATOOL_WDGTS_PRO_HDR
 39 #define TINATOOL_WDGTS_PRO_HDR
 40 
 41 #if HAVE_CONFIG_H
 42   #include <config.h>
 43 #endif
 44 
 45 #include <stdio.h>
 46 
 47 #if !HAVE_STDARG_H
 48   error wdgtsPro.h demands stdarg.h
 49 #else
 50 #  include <stdarg.h>
 51 #endif /* !HAVE_STDARG_H */
 52 
 53 #include <tina/sys/sysDef.h>
 54 
 55 extern void scan_files_without_extension(char *dir, char *file);
 56 extern void scan_files_with_extension(char *dir, char *file);
 57 extern void scan_files(char *dir, char *file);
 58 extern Bool tw_get_newrow(void) ;
 59 extern Bool tw_recover(void) ;
 60 extern Bool tw_save(void) ;
 61 extern char *tw_extend_fullname(char *name, char *extension) ;
 62 extern char *tw_get_progname(void) ;
 63 extern char *tw_get_toolname(void) ;
 64 extern int tw_dialog_destroy(void *item) ;
 65 extern int tw_get_closed(void *tool) ;
 66 extern int tw_get_row(void) ;
 67 extern int tw_get_width(void) ;
 68 extern int tw_next_event(void) ;
 69 extern int tw_set_icon(void *f,char *label, int w, int h,  short *icon_bits, short *icon_mask_bits) ;
 70 extern int tw_set_icon_file(void *f,char *label, int w, int h,  char *fname, char *mfname) ;
 71 extern int tw_set_tina_icon(void *f,char *name) ;
 72 extern int tw_tool_destroy(void *item) ;
 73 extern void tw_read_call_file(char *charfile) ;
 74 extern void tw_run_cmnd(char *name, char *args) ;
 75 extern void *tw_callback_make(char *name, void *window, void (*call) ( /* ??? */ ), void (*cmnd) ( /* ??? */ ), void (*prnt) ( /* ??? */ ), void (*func) ( /* ??? */ ), void *data1, void *data2) ;
 76 extern void *tw_canvas(int w, int h) ;
 77 extern void tw_choice_list_style_select(int style);
 78 extern void *tw_choice(char *name,...) ;
 79 extern void *tw_dialog(char *name) ;
 80 extern void *tw_fglobal(char *name, double *ptr, int nchars) ;
 81 extern void *tw_fvalue(char *name, double (*get) ( /* ??? */ ), void (*set) ( /* ??? */ ), int nchars) ;
 82 extern void *tw_get_display(void) ;
 83 extern void *tw_get_lowest(void) ;
 84 extern void *tw_get_panel(void) ;
 85 extern void *tw_get_tool(void) ;
 86 extern void *tw_get_toptool(void) ;
 87 extern void *tw_icon_button(char *name, int w, int h,short *image_bits,  void (*func) ( /* ??? */ ), int data)  ;
 88 extern void *tw_icon_label(char *name,int w, int h,  short *image_bits) ;
 89 extern void *tw_iglobal(char *name, int *ptr, int nchars) ;
 90 extern void *tw_ivalue(char *name, int (*get) ( /* ??? */ ), void (*set) ( /* ??? */ ), int nchars) ;
 91 extern void *tw_label(char *name) ;
 92 extern void *tw_sglobal(char *name, char *ptr, int nchars) ;
 93 extern void *tw_svalue(char *name, char *(*get) ( /* ??? */ ), void (*set) ( /* ??? */ ), int nchars) ;
 94 extern void *tw_text_callback(void *item, void * event) ;
 95 extern void *tw_textsubwin(int rows, int cols) ;
 96 extern void *tw_textsw(int rows, int cols) ;
 97 extern void *tw_tool(char *name, int x, int y) ;
 98 extern void *tw_tool_remote(char *name, int x, int y, char *display_string) ;
 99 extern void *tw_tvtool(void) ;
100 extern void canvas_upgrade(void *canvas_ptr, void *owner_ptr, void * tv_screen) ;
101 extern void interrupt_button_data_get(void ** display, void * window) ;
102 extern void textsw_print(char *string) ;
103 extern void textsw_print_sw(void* text_subwin, char *string) ;
104 extern void tv_screen_set_size(void * tv_screen, int width, int height) ;
105 extern void tw_active_tool_data_get(void ** display, void * window) /* NB pointer to pointer */  ;
106 extern void tw_active_tool_data_set(void * display, void *window) ;
107 extern void tw_button(char *name, void (*func) ( /* ??? */ ), void * data) ;
108 extern void tw_button_callback(void *item, void * event) ;
109 extern void tw_button_reset_image(void *button,int w, int h,  short *image_bits) ;
110 extern void tw_check_list_style_select(int style);
111 extern void tw_check(char *name,...) ;
112 extern void tw_choice_reset(void * twc, int value) ;
113 extern void tw_close_call_file(void) ;
114 extern void tw_correct_pos(void *tool, int *x, int *y) ;
115 extern void tw_data_choice(char *name,...) ;
116 extern void tw_end_dialog(void) ;
117 extern void tw_end_tool(void) ;
118 extern void tw_fglobal_reset(void * twc) ;
119 extern void tw_firstrow(void) ;
120 extern void tw_flush(void) ;
121 extern void tw_fvalue_reset(void * twc) ;
122 extern void tw_get_geom(void *tool, int *x, int *y, int *w, int *h) ;
123 extern void tw_get_pos(void *tool, int *x, int *y) ;
124 extern void tw_help_button(char *help_file) ;
125 extern void tw_iglobal_reset(void * twc) ;
126 extern void tw_init(int *argc, char **argv) ;
127 extern void tw_interrupt_button(void) ;
128 extern void tw_ivalue_reset(void * twc) ;
129 extern void tw_label_reset(void *label, char *name) ;
130 extern void tw_label_reset_image(void *pic,int w, int h,  short *image_bits) ;
131 extern void tw_main_loop(void) ;
132 extern void tw_menu_callback(void *menu, void *menu_item) ;
133 extern void tw_menubar(char *name,...) ;
134 extern void tw_newrow(void) ;
135 extern void tw_no_panel(void) ;
136 extern void tw_open_call_file(char *savefile, char *mode) ;
137 extern void tw_panel_callback(void *item, int value, void * event) ;
138 extern void tw_quit(int dummy) ;
139 extern void tw_register_callfrom(void * twc) ;
140 extern void tw_save_button(void) ;
141 extern void tw_set_closed(void *tool, int closed) ;
142 extern void tw_set_geom(void *tool, int x, int y, int w, int h) ;
143 extern void tw_set_lowest(void *newlowest) ;
144 extern void tw_set_newrow(Bool val) ;
145 extern void tw_set_panel(void *newpanel) ;
146 extern void tw_set_pos(void *tool, int x, int y) ;
147 extern void tw_set_tool(void *newtool) ;
148 extern void tw_set_toolname(char *name) ;
149 extern void tw_set_width(int w) ;
150 extern void tw_sglobal_reset(void * twc) ;
151 extern void tw_show_dialog(void *dialog) ;
152 extern void tw_show_tool(void *tool);
153 extern void tw_submenu_add(char *menubarname, char *name, va_list * ptr) ;
154 extern void tw_svalue_reset(void * twc) ;
155 extern void tw_textsw_clear(void *sw) ;
156 extern void tw_textsw_print(void* text_subwin, char *string) ;
157 extern void tw_toggle(char *name, void (*func) ( /* ??? */ ), int value) ;
158 extern void tw_tool_icon_title(void *tool, char *name) ;
159 extern void tw_tool_title_reset(void *tool, char *name) ;
160 extern void tw_write_callfrom(void * twc) ;
161 extern void *tw_colour_button(char *name, void (*func)(), void *rgb);
162 extern void tw_colour_button_reset(void *twc, void *rgb);
163 extern void *tw_curve(char *name, void (*set)(), int length);
164 extern void tw_curve_set_vector(void * twc, float *x, int xlen);
165 extern float *tw_curve_get_vector(void * twc);
166 extern void tw_curve_store_free(void *curve_store);
167 extern void *tw_curve_get(void * twc);
168 extern void tw_curve_set(void * twc, void *curve_store);
169 extern void tw_curve_apply(void * twc);
170 extern void *tw_keyvalue(char *name, int (*get) ( /* ??? */ ), void (*set) ( /* ??? */ ), int nchars);
171 extern void tw_keyvalue_reset(void * twc);
172 extern void tw_progressbar_set_fraction(void *tw_pbar, double fraction);
173 extern void tw_progressbar_set_text(void *tw_pbar, char *text);
174 extern void tw_progressbar_stop(void *tw_pbar);
175 extern void *tw_progressbar_start(char *name, char *text);
176 
177 
178 #endif /* TINATOOL_WDGTS_PRO_HDR */
179 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.