Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2010-12-17 19:42:55 +0300
committerXhmikosR <xhmikosr@users.sourceforge.net>2010-12-17 19:42:55 +0300
commit7359bd509afa235acc2ac2f7f95fc9cb5cafd1a4 (patch)
treeb5bb90eeca58fdeb9fde6825f21a25a319823cb4 /src/Subtitles/libssf/FontWrapper.h
parentd30b15ed4b98c28951d6d45b8928f4c2b6a11129 (diff)
apply astyle formatting
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2786 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/Subtitles/libssf/FontWrapper.h')
-rw-r--r--src/Subtitles/libssf/FontWrapper.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/Subtitles/libssf/FontWrapper.h b/src/Subtitles/libssf/FontWrapper.h
index 176a1341e..d18eac670 100644
--- a/src/Subtitles/libssf/FontWrapper.h
+++ b/src/Subtitles/libssf/FontWrapper.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (C) 2003-2006 Gabest
* http://www.gabest.org
*
@@ -6,12 +6,12 @@
* 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 GNU Make; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
@@ -33,9 +33,15 @@ namespace ssf
public:
FontWrapper(HDC hDC, HFONT hFont, const CStringW& key);
virtual ~FontWrapper();
- operator HFONT() const {return m_hFont;}
- operator LPCWSTR() const {return m_key;}
- const TEXTMETRIC& GetTextMetric() const {return m_tm;}
+ operator HFONT() const {
+ return m_hFont;
+ }
+ operator LPCWSTR() const {
+ return m_key;
+ }
+ const TEXTMETRIC& GetTextMetric() const {
+ return m_tm;
+ }
int GetKernAmount(WCHAR c1, WCHAR c2);
};
} \ No newline at end of file