b2cc345461
* Simplified server communication a bit: instead of separate queries for font direction, "is fixed", ... there is now a private extra flags field that is filled on demand. * The server command names now describe what the command does, and are not simply named after the BFont method (AS_SET_FAMILY_AND_STYLE vs. AS_GET_FAMILY_AND_STYLE_IDS). * Replaced B_SET_SYSFONT_{PLAIN|BOLD|FIXED} with a single B_GET_SYSTEM_FONTS. * Rewrote Font.h and added our license. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14741 a95241bf-73f2-0310-859d-f6bbb57e9c96
19 lines
422 B
C
19 lines
422 B
C
/*
|
|
* Copyright 2005, Haiku, Inc. All Rights Reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef FONT_PRIVATE_H
|
|
#define FONT_PRIVATE_H
|
|
|
|
|
|
// extra flags (shares B_IS_FIXED and B_HAS_TUNED_FONT)
|
|
enum {
|
|
B_PRIVATE_FONT_IS_FULL_AND_HALF_FIXED = 0x04,
|
|
B_PRIVATE_FONT_HAS_KERNING = 0x08,
|
|
B_PRIVATE_FONT_DIRECTION_MASK = 0x30,
|
|
};
|
|
|
|
#define B_PRIVATE_FONT_DIRECTION_SHIFT 8
|
|
|
|
#endif /* FONT_PRIVATE_H */
|