/[ascend]/trunk/tcltk98/generic/interface/AscBitmaps.h
ViewVC logotype

Contents of /trunk/tcltk98/generic/interface/AscBitmaps.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 390 - (show annotations) (download) (as text)
Thu Mar 30 06:41:17 2006 UTC (16 years, 3 months ago) by johnpye
File MIME type: text/x-chdr
File size: 2861 byte(s)
The Tcl/Tk interface now runs as well. Tried with Tcl/Tk 8.4, so needs to be run
on a system with Tcl/Tk 8.3 next up.
1 /*
2 * AscBitmaps.h
3 * by Kirk Abbott and Ben Allan
4 * Created: 1/94
5 * Version: $Revision: 1.5 $
6 * Version control file: $RCSfile: AscBitmaps.h,v $
7 * Date last modified: $Date: 1998/04/25 18:14:15 $
8 * Last modified by: $Author: ballan $
9 *
10 * This file is part of the ASCEND Tcl/Tk interface
11 *
12 * Copyright 1997, Carnegie Mellon University
13 *
14 * The ASCEND Tcl/Tk interface is free software; you can redistribute
15 * it and/or modify it under the terms of the GNU General Public License as
16 * published by the Free Software Foundation; either version 2 of the
17 * License, or (at your option) any later version.
18 *
19 * The ASCEND Tcl/Tk interface is distributed in hope that it will be
20 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22 * General Public License for more details.
23 *
24 * You should have received a copy of the GNU General Public License
25 * along with the program; if not, write to the Free Software Foundation,
26 * Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named
27 * COPYING. COPYING is found in ../compiler.
28 */
29
30 /** @file
31 * Registration of Tcl/Tk bitmaps.
32 * <pre>
33 * To include this header, you must include the following:
34 * #include <tcl.h>
35 * #include <utilities/ascConfig.h>
36 * #include "AscBitmaps.h"
37 * </pre>
38 */
39
40 #ifndef AscBitmap_module_loaded
41 #define AscBitmap_module_loaded
42
43 /**
44 * Register all the bitmaps so we don't have to lug them around in files.
45 * For starters we define square type bitmaps in 1x1 -> 14x14 size
46 * named as follows:
47 * - asc_sq_N => a solid square NxN
48 * - asc_sq_hN => a hollow square NxN
49 * - asc_sq_xN => a hollow, diagonally crossed square NxN
50 * - asc_sq_cN => a diagonal cross in the space of an NxN square
51 * - *(unimplemented)
52 * - * asc_lrt_N => solid lower right triangle in the space of an NxN square
53 * - * asc_lrt_hN => solid lower right triangle in hollow of an NxN square
54 * - * asc_llt_N => solid lower left triangle in the space of an NxN square
55 * - * asc_llt_hN => solid lower left triangle in hollow of an NxN square
56 * - * asc_urt_N => solid upper right triangle in the space of an NxN square
57 * - * asc_urt_hN => solid upper right triangle in hollow of an NxN square
58 * - * asc_ult_N => solid upper left triangle in the space of an NxN square
59 * - * asc_ult_hN => solid upper left triangle in hollow of an NxN square
60 * Each type is registered in all sizes, though in the small N
61 * some types are indistiguishable.
62 * Next toolAttributes (the grill) is registered.
63 * a solver stopsign (stop)is registered
64 * flying and not flying shoe is registered wfeet feet
65 * grablock is registered (lock stolen from lire).
66 */
67 extern int Asc_RegisterBitmaps(Tcl_Interp *interp);
68
69 #endif /* AscBitmap_module_loaded */
70

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22