X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=radiant%2Fmultimon.h;fp=radiant%2Fmultimon.h;h=a81220e72878b7e4333973c99d3af928a0c984c2;hb=9557abbf571aaf6bd9180e05baa209f25ebade3a;hp=f14d3633bad1f26b7725a98fdf7a9e0a580d82d3;hpb=0b86577ab8b9bcd3403b77eafc33c2048b147d35;p=xonotic%2Fnetradiant.git diff --git a/radiant/multimon.h b/radiant/multimon.h index f14d3633..a81220e7 100644 --- a/radiant/multimon.h +++ b/radiant/multimon.h @@ -1,52 +1,49 @@ /* -Copyright (C) 2001-2006, William Joseph. -All Rights Reserved. + Copyright (C) 2001-2006, William Joseph. + All Rights Reserved. -This file is part of GtkRadiant. + This file is part of GtkRadiant. -GtkRadiant is free software; you can redistribute it and/or modify -it under the terms of the GNU General Public License as published by -the Free Software Foundation; either version 2 of the License, or -(at your option) any later version. + GtkRadiant is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. -GtkRadiant 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 General Public License for more details. + GtkRadiant 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 General Public License for more details. -You should have received a copy of the GNU General Public License -along with GtkRadiant; if not, write to the Free Software -Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -*/ + You should have received a copy of the GNU General Public License + along with GtkRadiant; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ -#if !defined(INCLUDED_MULTIMON_H) +#if !defined( INCLUDED_MULTIMON_H ) #define INCLUDED_MULTIMON_H struct WindowPosition; -void PositionWindowOnPrimaryScreen(WindowPosition& position); +void PositionWindowOnPrimaryScreen( WindowPosition& position ); struct multimon_globals_t { - bool m_bStartOnPrimMon; + bool m_bStartOnPrimMon; - multimon_globals_t() : - m_bStartOnPrimMon(false) - { - } + multimon_globals_t() : + m_bStartOnPrimMon( false ){ + } }; extern multimon_globals_t g_multimon_globals; -#if defined(WIN32) +#if defined( WIN32 ) void MultiMon_Construct(); void MultiMon_Destroy(); #else -inline void MultiMon_Construct() -{ +inline void MultiMon_Construct(){ } -inline void MultiMon_Destroy() -{ +inline void MultiMon_Destroy(){ } #endif