Removed GUI1 formatting deliminator definitions
This commit is contained in:
parent
b82516ffe6
commit
3922a48c5c
3 changed files with 0 additions and 36 deletions
|
@ -4051,7 +4051,6 @@
|
|||
<ClInclude Include="..\..\src\whiteboard\visitor.hpp" />
|
||||
<ClInclude Include="..\..\src\widgets\widget.hpp" />
|
||||
<ClInclude Include="..\..\src\wml_exception.hpp" />
|
||||
<ClInclude Include="..\..\src\wml_separators.hpp" />
|
||||
<ClInclude Include="..\..\src\xBRZ\config.hpp" />
|
||||
<ClInclude Include="..\..\src\xBRZ\xbrz.hpp" />
|
||||
</ItemGroup>
|
||||
|
|
|
@ -2930,7 +2930,6 @@
|
|||
<ClInclude Include="..\..\src\wesnothd_connection.hpp" />
|
||||
<ClInclude Include="..\..\src\wesnothd_connection_error.hpp" />
|
||||
<ClInclude Include="..\..\src\wml_exception.hpp" />
|
||||
<ClInclude Include="..\..\src\wml_separators.hpp" />
|
||||
<ClInclude Include="..\..\src\font\error.hpp">
|
||||
<Filter>Font</Filter>
|
||||
</ClInclude>
|
||||
|
|
|
@ -1,34 +0,0 @@
|
|||
/*
|
||||
Copyright (C) 2003 - 2018 by David White <dave@whitevine.net>
|
||||
Part of the Battle for Wesnoth Project http://www.wesnoth.org/
|
||||
|
||||
This program 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.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY.
|
||||
|
||||
See the COPYING file for more details.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
char const HELP_STRING_SEPARATOR = '|', DEFAULT_ITEM = '*', COLUMN_SEPARATOR = '=',
|
||||
IMAGE_PREFIX = '&', IMG_TEXT_SEPARATOR = 1, HEADING_PREFIX = 2;
|
||||
|
||||
inline bool is_wml_separator(char c)
|
||||
{
|
||||
switch(c)
|
||||
{
|
||||
case HELP_STRING_SEPARATOR:
|
||||
case DEFAULT_ITEM:
|
||||
case COLUMN_SEPARATOR:
|
||||
case IMAGE_PREFIX:
|
||||
case IMG_TEXT_SEPARATOR:
|
||||
case HEADING_PREFIX:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue