diff options
Diffstat (limited to 'src/Subtitles/libssf/FontWrapper.h')
-rw-r--r-- | src/Subtitles/libssf/FontWrapper.h | 18 |
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 |