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