summaryrefslogtreecommitdiff
path: root/src/enums/screendensity.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-06 16:09:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-06 16:09:47 +0300
commit51ecf500f30bb26ae1e08f3b4187386b6a9edf9b (patch)
treeea4e3a08ef3af2358c26bff84f5f60a5cb90000e /src/enums/screendensity.h
parent410b960d2e3ac19df78b0f5ce42d4cef18c0df25 (diff)
downloadmanaverse-51ecf500f30bb26ae1e08f3b4187386b6a9edf9b.tar.gz
manaverse-51ecf500f30bb26ae1e08f3b4187386b6a9edf9b.tar.bz2
manaverse-51ecf500f30bb26ae1e08f3b4187386b6a9edf9b.tar.xz
manaverse-51ecf500f30bb26ae1e08f3b4187386b6a9edf9b.zip
Move screen density enum into separate file.
Diffstat (limited to 'src/enums/screendensity.h')
-rw-r--r--src/enums/screendensity.h38
1 files changed, 38 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+ */
+
+#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