aboutsummaryrefslogtreecommitdiff
path: root/guilib/Resolution.h
diff options
context:
space:
mode:
authorCrystalPT <CrystalPT@svn>2010-06-05 00:04:51 +0000
committerCrystalPT <CrystalPT@svn>2010-06-05 00:04:51 +0000
commit028bff5d03e724df0c151da246d0dd59852cab1c (patch)
tree27e5ccfe24bdb2adb593bc4c03c6a823f4048eeb /guilib/Resolution.h
parentf1f6aa6804ea9e9a765ae0019cd22a9ad5b83471 (diff)
set eol-style native property for Resolution.h
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@30832 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/Resolution.h')
-rw-r--r--guilib/Resolution.h198
1 files changed, 99 insertions, 99 deletions
diff --git a/guilib/Resolution.h b/guilib/Resolution.h
index cd64fa7410..1220920511 100644
--- a/guilib/Resolution.h
+++ b/guilib/Resolution.h
@@ -1,99 +1,99 @@
-/*
-* Copyright (C) 2005-2008 Team XBMC
-* http://www.xbmc.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, or (at your option)
-* 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 XBMC; see the file COPYING. If not, write to
-* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
-* http://www.gnu.org/copyleft/gpl.html
-*
-*/
-
-#pragma once
-
-#include <stdint.h>
-#include "StdString.h"
-
-enum RESOLUTION {
- RES_INVALID = -1,
- RES_HDTV_1080i = 0,
- RES_HDTV_720p = 1,
- RES_HDTV_480p_4x3 = 2,
- RES_HDTV_480p_16x9 = 3,
- RES_NTSC_4x3 = 4,
- RES_NTSC_16x9 = 5,
- RES_PAL_4x3 = 6,
- RES_PAL_16x9 = 7,
- RES_PAL60_4x3 = 8,
- RES_PAL60_16x9 = 9,
- RES_AUTORES = 10,
- RES_WINDOW = 11,
- RES_DESKTOP = 12,
- RES_CUSTOM = 13
-};
-
-enum VSYNC {
- VSYNC_DISABLED = 0,
- VSYNC_VIDEO = 1,
- VSYNC_ALWAYS = 2,
- VSYNC_DRIVER = 3
-};
-
-struct OVERSCAN
-{
- int left;
- int top;
- int right;
- int bottom;
-public:
- OVERSCAN()
- {
- left = top = right = bottom = 0;
- }
- OVERSCAN(const OVERSCAN& os)
- {
- left = os.left; top = os.top;
- right = os.right; bottom = os.bottom;
- }
-};
-
-struct RESOLUTION_INFO
-{
- OVERSCAN Overscan;
- bool bFullScreen;
- int iScreen;
- int iWidth;
- int iHeight;
- int iSubtitles;
- uint32_t dwFlags;
- float fPixelRatio;
- float fRefreshRate;
- CStdString strMode;
- CStdString strOutput;
- CStdString strId;
- public:
- RESOLUTION_INFO()
- {
- bFullScreen = false;
- iScreen = iWidth = iHeight = iSubtitles = dwFlags = 0;
- fPixelRatio = fRefreshRate = 0.f;
- }
- RESOLUTION_INFO(const RESOLUTION_INFO& res)
- {
- Overscan = res.Overscan; bFullScreen = res.bFullScreen;
- iScreen = res.iScreen; iWidth = res.iWidth; iHeight = res.iHeight;
- iSubtitles = res.iSubtitles; dwFlags = res.dwFlags;
- fPixelRatio = res.fPixelRatio; fRefreshRate = res.fRefreshRate;
- strMode = res.strMode; strOutput = res.strOutput; strId = res.strId;
- }
-};
+/*
+* Copyright (C) 2005-2008 Team XBMC
+* http://www.xbmc.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, or (at your option)
+* 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 XBMC; see the file COPYING. If not, write to
+* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
+* http://www.gnu.org/copyleft/gpl.html
+*
+*/
+
+#pragma once
+
+#include <stdint.h>
+#include "StdString.h"
+
+enum RESOLUTION {
+ RES_INVALID = -1,
+ RES_HDTV_1080i = 0,
+ RES_HDTV_720p = 1,
+ RES_HDTV_480p_4x3 = 2,
+ RES_HDTV_480p_16x9 = 3,
+ RES_NTSC_4x3 = 4,
+ RES_NTSC_16x9 = 5,
+ RES_PAL_4x3 = 6,
+ RES_PAL_16x9 = 7,
+ RES_PAL60_4x3 = 8,
+ RES_PAL60_16x9 = 9,
+ RES_AUTORES = 10,
+ RES_WINDOW = 11,
+ RES_DESKTOP = 12,
+ RES_CUSTOM = 13
+};
+
+enum VSYNC {
+ VSYNC_DISABLED = 0,
+ VSYNC_VIDEO = 1,
+ VSYNC_ALWAYS = 2,
+ VSYNC_DRIVER = 3
+};
+
+struct OVERSCAN
+{
+ int left;
+ int top;
+ int right;
+ int bottom;
+public:
+ OVERSCAN()
+ {
+ left = top = right = bottom = 0;
+ }
+ OVERSCAN(const OVERSCAN& os)
+ {
+ left = os.left; top = os.top;
+ right = os.right; bottom = os.bottom;
+ }
+};
+
+struct RESOLUTION_INFO
+{
+ OVERSCAN Overscan;
+ bool bFullScreen;
+ int iScreen;
+ int iWidth;
+ int iHeight;
+ int iSubtitles;
+ uint32_t dwFlags;
+ float fPixelRatio;
+ float fRefreshRate;
+ CStdString strMode;
+ CStdString strOutput;
+ CStdString strId;
+ public:
+ RESOLUTION_INFO()
+ {
+ bFullScreen = false;
+ iScreen = iWidth = iHeight = iSubtitles = dwFlags = 0;
+ fPixelRatio = fRefreshRate = 0.f;
+ }
+ RESOLUTION_INFO(const RESOLUTION_INFO& res)
+ {
+ Overscan = res.Overscan; bFullScreen = res.bFullScreen;
+ iScreen = res.iScreen; iWidth = res.iWidth; iHeight = res.iHeight;
+ iSubtitles = res.iSubtitles; dwFlags = res.dwFlags;
+ fPixelRatio = res.fPixelRatio; fRefreshRate = res.fRefreshRate;
+ strMode = res.strMode; strOutput = res.strOutput; strId = res.strId;
+ }
+};