X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=contrib%2Fbobtoolz%2Fdialogs%2Fdialogs-gtk.h;h=ae35490431b48cfcd43779ecb82c292c77e21322;hb=7fc621fc78d0e040dc2c12f38dc53dd9048215dc;hp=bcafdae818ac7cd86be358563cb00a0792791879;hpb=107765f0e4b543dfc346851ee5b4605cc17eb1c6;p=xonotic%2Fnetradiant.git diff --git a/contrib/bobtoolz/dialogs/dialogs-gtk.h b/contrib/bobtoolz/dialogs/dialogs-gtk.h index bcafdae8..ae354904 100644 --- a/contrib/bobtoolz/dialogs/dialogs-gtk.h +++ b/contrib/bobtoolz/dialogs/dialogs-gtk.h @@ -1,28 +1,28 @@ /* -BobToolz plugin for GtkRadiant -Copyright (C) 2001 Gordon Biggans + BobToolz plugin for GtkRadiant + Copyright (C) 2001 Gordon Biggans -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ -#if !defined(INCLUDED_DIALOGS_GTK_H) +#if !defined( INCLUDED_DIALOGS_GTK_H ) #define INCLUDED_DIALOGS_GTK_H #include "qerplugin.h" -struct BuildStairsRS{ +struct BuildStairsRS { char mainTexture[256]; char riserTexture[256]; int direction; @@ -53,13 +53,13 @@ struct TrainThingRS { float fStartHeight, fEndHeight; }; -struct IntersectRS{ +struct IntersectRS { int nBrushOptions; bool bUseDetail; bool bDuplicateOnly; }; -struct PolygonRS{ +struct PolygonRS { bool bUseBorder; bool bInverse; bool bAlignTop; @@ -67,7 +67,7 @@ struct PolygonRS{ int nBorderWidth; }; -struct DoorRS{ +struct DoorRS { char mainTexture[256]; char trimTexture[256]; bool bScaleMainH; @@ -77,7 +77,7 @@ struct DoorRS{ int nOrientation; }; -struct PathPlotterRS{ +struct PathPlotterRS { int nPoints; float fMultiplier; float fGravity; @@ -85,23 +85,28 @@ struct PathPlotterRS{ bool bShowExtra; }; +struct MakeChainRS { + char linkName[256]; + int linkNum; +}; + typedef struct _GtkWidget GtkWidget; -struct TwinWidget{ +struct TwinWidget { GtkWidget* one; GtkWidget* two; }; -EMessageBoxReturn DoMessageBox(const char* lpText, const char* lpCaption, EMessageBoxType type); -EMessageBoxReturn DoIntersectBox(IntersectRS* rs); -EMessageBoxReturn DoPolygonBox(PolygonRS* rs); -EMessageBoxReturn DoResetTextureBox (ResetTextureRS* rs); -EMessageBoxReturn DoBuildStairsBox(BuildStairsRS* rs); -EMessageBoxReturn DoDoorsBox(DoorRS* rs); -EMessageBoxReturn DoPathPlotterBox(PathPlotterRS* rs); +EMessageBoxReturn DoMessageBox( const char* lpText, const char* lpCaption, EMessageBoxType type ); +EMessageBoxReturn DoIntersectBox( IntersectRS* rs ); +EMessageBoxReturn DoPolygonBox( PolygonRS* rs ); +EMessageBoxReturn DoResetTextureBox( ResetTextureRS* rs ); +EMessageBoxReturn DoBuildStairsBox( BuildStairsRS* rs ); +EMessageBoxReturn DoDoorsBox( DoorRS* rs ); +EMessageBoxReturn DoPathPlotterBox( PathPlotterRS* rs ); EMessageBoxReturn DoCTFColourChangeBox(); -EMessageBoxReturn DoTrainThingBox (TrainThingRS* rs); - +EMessageBoxReturn DoTrainThingBox( TrainThingRS* rs ); +EMessageBoxReturn DoMakeChainBox( MakeChainRS* rs ); //GtkWidget* GetProgressWindow(char* title, GtkProgressBar* feedback); #endif