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

Linux Cross Reference
Tina5/tina-tools/tinatool/wdgts/tcl/wdgtsTcl_tw_tool.c

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

  1 /**********
  2  * 
  3  * Copyright (c) 2003, Division of Imaging Science and Biomedical Engineering,
  4  * University of Manchester, UK.  All rights reserved.
  5  * 
  6  * Redistribution and use in source and binary forms, with or without modification, 
  7  * are permitted provided that the following conditions are met:
  8  * 
  9  *   . Redistributions of source code must retain the above copyright notice, 
 10  *     this list of conditions and the following disclaimer.
 11  *    
 12  *   . Redistributions in binary form must reproduce the above copyright notice,
 13  *     this list of conditions and the following disclaimer in the documentation 
 14  *     and/or other materials provided with the distribution.
 15  * 
 16  *   . Neither the name of the University of Manchester nor the names of its
 17  *     contributors may be used to endorse or promote products derived from this 
 18  *     software without specific prior written permission.
 19  * 
 20  * 
 21  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
 22  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 23  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 
 24  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE 
 25  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 
 26  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 
 27  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 28  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 
 29  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
 30  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
 31  * POSSIBILITY OF SUCH DAMAGE.
 32  *
 33  **********
 34  * 
 35  * Program :    TINA
 36  * File    :  $Source: /home/tina/cvs/tina-tools/tinatool/wdgts/tcl/wdgtsTcl_tw_tool.c,v $
 37  * Date    :  $Date: 2005/03/30 22:01:23 $
 38  * Version :  $Revision: 1.4 $
 39  * CVS Id  :  $Id: wdgtsTcl_tw_tool.c,v 1.4 2005/03/30 22:01:23 paul Exp $
 40  *
 41  * Author  : Legacy TINA
 42  *
 43  * Notes :
 44  *
 45  *********
 46 */
 47 
 48 #include "wdgtsTcl_tw_tool.h"
 49 
 50 #if HAVE_CONFIG_H
 51 #   include <config.h>
 52 #endif
 53 
 54 #include <stdio.h>
 55 #include <tinatool/wdgts/tcl/wdgtsTcl_tw_command.h>
 56 
 57 static char *toolname = NULL;
 58 
 59 void tw_active_tool_data_set(Display * display, Window window)
 60 {
 61 }
 62 
 63 
 64 void tw_active_tool_data_get(Display ** display, Window * window)
 65 {
 66 }
 67 
 68 int tw_get_width(void)
 69 {
 70         return (0);
 71 }
 72 
 73 void tw_set_width(int w)
 74 {
 75 }
 76 
 77 void tw_get_pos(Frame tool, int *x, int *y)
 78 {
 79 }
 80 
 81 void tw_correct_pos(Frame tool, int *x, int *y)
 82 {
 83 }
 84 
 85 void tw_set_pos(Frame tool, int x, int y)
 86 {
 87 }
 88 
 89 int tw_get_closed(Frame tool)
 90 {
 91         return (0);
 92 }
 93 
 94 void tw_set_closed(Frame tool, int closed)
 95 {
 96 }
 97 
 98 void tw_get_geom(Frame tool, int *x, int *y, int *w, int *h)
 99 {
100 }
101 
102 void tw_set_geom(Frame tool, int x, int y, int w, int h)
103 {
104 }
105 
106 Frame tw_get_toptool(void)
107 {
108         return (0);
109 }
110 
111 Frame tw_get_tool(void)
112 {
113         return (0);
114 }
115 
116 void tw_set_tool(Frame newtool)
117 {
118 }
119 
120 int tw_get_row(void)
121 {
122         return (0);
123 }
124 
125 void tw_firstrow(void)
126 {
127 }
128 
129 void tw_newrow(void)
130 {
131 }
132 
133 Bool tw_get_newrow(void)
134 {
135         return (0);
136 }
137 
138 void tw_set_newrow(Bool val)
139 {
140 }
141 
142 Panel tw_get_panel(void)
143 {
144         return (0);
145 }
146 
147 void tw_set_panel(Panel newpanel)
148 {
149 }
150 
151 Window tw_get_lowest(void)
152 {
153         return (0);
154 }
155 
156 void tw_set_lowest(Window newlowest)
157 {
158 }
159 
160 void tw_set_toolname(char *name)
161 {
162         toolname = name;
163 }
164 
165 char *tw_get_toolname(void)
166 {
167         return (toolname);
168 }
169 
170 void tw_show_tool(Frame tool)
171 {
172 }
173 
174 Frame tw_tool_remote(char *name, int x, int y, char *display_string)
175 {
176         toolname = tw_extend_fullname(name, (char *) NULL);
177         return (0);
178 }
179 
180 void tw_no_panel(void)
181 {
182 }
183 
184 Frame tw_tool(char *name, int x, int y)
185 {
186         tw_tool_remote(name, x, y, "");
187         return (0);
188 }
189 
190 void tw_tool_title_reset(Frame tool, char *name)
191 {
192 }
193 
194 void tw_tool_icon_title(Frame tool, char *name)
195 {
196 }
197 
198 void tw_end_tool(void)
199 {
200 }
201 
202 int tw_next_event(void)
203 {
204         return (0);
205 }
206 
207 
208 void tw_main_loop(void)
209 {
210 }
211 
212 
213 void tw_flush(void)
214 {
215 }
216 
217 
218 Display *tw_get_display(void)
219 {
220         return (NULL);
221 }
222 
223 int tw_tool_destroy(void *item)
224 {
225         return (0);
226 }
227 
228 int tw_dialog_destroy(void *item)
229 {
230         return (0);
231 }
232 

~ [ 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.