From c20b5aa705000994f72471361e9d81eda3229538 Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sat, 5 Feb 2005 20:10:24 +0000 Subject: [PATCH] Added a second SetFamilyAndStyle and made both versions return success or failure git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11261 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/ServerFont.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/servers/app/ServerFont.h b/headers/private/servers/app/ServerFont.h index 9da13c6f15..5a07ef6ddf 100644 --- a/headers/private/servers/app/ServerFont.h +++ b/headers/private/servers/app/ServerFont.h @@ -52,7 +52,8 @@ public: int32 CountTuned(void); font_file_format FileFormat(void); - void SetFamilyAndStyle(const uint32 &fontID); + status_t SetFamilyAndStyle(const uint16 &familyID,const uint16 &styleID); + status_t SetFamilyAndStyle(const uint32 &fontID); void SetDirection(const font_direction &dir) { fDirection=dir; } void SetEdges(const edge_info &info) { fEdges=info; } void SetEncoding(uint32 encoding) { fEncoding=encoding; }