]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/dialogs/dialogs-gtk.h
transfer from internal tree r5311 branches/1.4-gpl
[xonotic/netradiant.git] / contrib / bobtoolz / dialogs / dialogs-gtk.h
1 /*\r
2 BobToolz plugin for GtkRadiant\r
3 Copyright (C) 2001 Gordon Biggans\r
4 \r
5 This library is free software; you can redistribute it and/or\r
6 modify it under the terms of the GNU Lesser General Public\r
7 License as published by the Free Software Foundation; either\r
8 version 2.1 of the License, or (at your option) any later version.\r
9 \r
10 This library is distributed in the hope that it will be useful,\r
11 but WITHOUT ANY WARRANTY; without even the implied warranty of\r
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
13 Lesser General Public License for more details.\r
14 \r
15 You should have received a copy of the GNU Lesser General Public\r
16 License along with this library; if not, write to the Free Software\r
17 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA\r
18 */\r
19 \r
20 struct BuildStairsRS{\r
21         char mainTexture[256];\r
22         char riserTexture[256];\r
23         int direction;\r
24         int style;\r
25         int stairHeight;\r
26         qboolean bUseDetail;\r
27 };\r
28 \r
29 struct ResetTextureRS {\r
30         int bResetTextureName;\r
31         char textureName[256];\r
32         char newTextureName[256];\r
33 \r
34         int bResetScale[2];\r
35         float fScale[2];\r
36 \r
37         int bResetShift[2];\r
38         float fShift[2];\r
39 \r
40         int bResetRotation;\r
41         int rotation;\r
42 };\r
43 \r
44 struct TrainThingRS {\r
45         float fRadiusX, fRadiusY;\r
46         float fStartAngle, fEndAngle;\r
47         int iNumPoints;\r
48         float fStartHeight, fEndHeight;\r
49 };\r
50 \r
51 struct IntersectRS{\r
52         int nBrushOptions;\r
53         qboolean bUseDetail;\r
54         qboolean bDuplicateOnly;\r
55 };\r
56 \r
57 struct PolygonRS{\r
58         qboolean bUseBorder;\r
59         qboolean bInverse;\r
60         qboolean bAlignTop;\r
61         int nSides;\r
62         int nBorderWidth;\r
63 };\r
64 \r
65 struct DoorRS{\r
66         char mainTexture[256];\r
67         char trimTexture[256];\r
68         qboolean bScaleMainH;\r
69         qboolean bScaleMainV;\r
70         qboolean bScaleTrimH;\r
71         qboolean bScaleTrimV;\r
72         int nOrientation;\r
73 };\r
74 \r
75 struct PathPlotterRS{\r
76         int nPoints;\r
77         float fMultiplier;\r
78         float fGravity;\r
79         qboolean bNoUpdate;\r
80         qboolean bShowExtra;\r
81 };\r
82 \r
83 struct TwinWidget{\r
84         GtkWidget* one;\r
85         GtkWidget* two;\r
86 };\r
87 \r
88 int DoMessageBox(const char* lpText, const char* lpCaption, guint32 uType);\r
89 int DoIntersectBox(IntersectRS* rs);\r
90 int DoPolygonBox(PolygonRS* rs);\r
91 int DoResetTextureBox (ResetTextureRS* rs);\r
92 int DoBuildStairsBox(BuildStairsRS* rs);\r
93 int DoDoorsBox(DoorRS* rs);\r
94 int DoPathPlotterBox(PathPlotterRS* rs);\r
95 int DoCTFColourChangeBox();\r
96 int DoTrainThingBox (TrainThingRS* rs);\r
97 \r
98 //GtkWidget* GetProgressWindow(char* title, GtkProgressBar* feedback);\r