//////////////////////////////////////////////////////////////////////////////////////////////////// // NoesisGUI - http://www.noesisengine.com // Copyright (c) 2013 Noesis Technologies S.L. All Rights Reserved. //////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef __GUI_FONTS_H__ #define __GUI_FONTS_H__ #include #include #include #include #include namespace Noesis { //////////////////////////////////////////////////////////////////////////////////////////////////// /// A Typeface is a combination of family, weight, style and stretch //////////////////////////////////////////////////////////////////////////////////////////////////// struct Typeface { char familyName[128]; FontWeight weight; FontStyle style; FontStretch stretch; }; namespace Fonts { typedef Delegate TypefaceCallback; //////////////////////////////////////////////////////////////////////////////////////////////////// /// Enumerates all the Typefaces defined in the specified font file //////////////////////////////////////////////////////////////////////////////////////////////////// NS_GUI_CORE_API void GetTypefaces(Stream* stream, TypefaceCallback callback); } } #endif