2002-04-21 22:51:21 +00:00
|
|
|
/* Win32FontInfo - Implements font enumerator for MSWindows
|
|
|
|
|
|
|
|
Copyright (C) 2002 Free Software Foundation, Inc.
|
|
|
|
|
|
|
|
Written by: Fred Kiefer <FredKiefer@gmx.de>
|
|
|
|
Date: March 2002
|
|
|
|
|
|
|
|
This file is part of the GNU Objective C User Interface Library.
|
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
2007-10-29 23:25:10 +00:00
|
|
|
modify it under the terms of the GNU Lesser General Public
|
2002-04-21 22:51:21 +00:00
|
|
|
License as published by the Free Software Foundation; either
|
2008-06-10 04:12:46 +00:00
|
|
|
version 2 of the License, or (at your option) any later version.
|
2007-10-29 23:25:10 +00:00
|
|
|
|
2002-04-21 22:51:21 +00:00
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2007-10-29 23:25:10 +00:00
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Lesser General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
|
|
License along with this library; see the file COPYING.LIB.
|
|
|
|
If not, see <http://www.gnu.org/licenses/> or write to the
|
|
|
|
Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
|
|
|
Boston, MA 02110-1301, USA.
|
2002-04-21 22:51:21 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _WIN32FontInfo_h_INCLUDE
|
|
|
|
#define _WIN32FontInfo_h_INCLUDE
|
|
|
|
|
|
|
|
#include "windows.h"
|
2003-07-31 23:57:11 +00:00
|
|
|
#include "GNUstepGUI/GSFontInfo.h"
|
2002-04-21 22:51:21 +00:00
|
|
|
|
|
|
|
@interface WIN32FontInfo : GSFontInfo
|
|
|
|
{
|
2002-06-09 15:44:36 +00:00
|
|
|
HFONT hFont;
|
2002-04-21 22:51:21 +00:00
|
|
|
}
|
|
|
|
|
2006-08-10 05:29:50 +00:00
|
|
|
- (void) draw: (const char*)s length: (int)len
|
2002-04-21 22:51:21 +00:00
|
|
|
onDC: (HDC)hdc at: (POINT)p;
|
2003-02-06 12:09:17 +00:00
|
|
|
- (void) drawGlyphs: (const NSGlyph*)s
|
|
|
|
length: (int)len
|
|
|
|
onDC: (HDC)hdc
|
|
|
|
at: (POINT)p;
|
2002-04-21 22:51:21 +00:00
|
|
|
@end
|
|
|
|
|
|
|
|
#endif/* _WIN32FontInfo_h_INCLUDE */
|
|
|
|
|
|
|
|
|