From 51ecf500f30bb26ae1e08f3b4187386b6a9edf9b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 6 Jan 2015 16:09:47 +0300 Subject: Move screen density enum into separate file. --- src/enums/screendensity.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 src/enums/screendensity.h (limited to 'src/enums') diff --git a/src/enums/screendensity.h b/src/enums/screendensity.h new file mode 100644 index 000000000..2227cdba4 --- /dev/null +++ b/src/enums/screendensity.h @@ -0,0 +1,38 @@ +/* + * The ManaPlus Client + * Copyright (C) 2012-2015 The ManaPlus Developers + * + * This file is part of The ManaPlus Client. + * + * 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 + * any later version. + * + * This program 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 this program. If not, see . + */ + +#ifndef ENUMS_SCREENDENSITY_H +#define ENUMS_SCREENDENSITY_H + +#ifdef USE_OPENGL + +enum ScreenDensity +{ + DENSITY_UNKNOWN = -1, + DENSITY_LOW = 0, + DENSITY_MEDIUM = 1, + DENSITY_TV = 2, + DENSITY_HIGH = 3, + DENSITY_XHIGH = 4, + DENSITY_XXHIGH = 5 +}; + +#endif // USE_OPENGL +#endif // ENUMS_SCREENDENSITY_H -- cgit v1.2.3-70-g09d2