From bd26e2d2d15b1319a90288c1ef1dbe29111a7d8e Mon Sep 17 00:00:00 2001 From: Adi Oanca Date: Mon, 15 Sep 2003 18:58:49 +0000 Subject: [PATCH] * added '=' operator git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4683 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/ServerFont.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/headers/private/servers/app/ServerFont.h b/headers/private/servers/app/ServerFont.h index 6eeedafc02..1882a78492 100644 --- a/headers/private/servers/app/ServerFont.h +++ b/headers/private/servers/app/ServerFont.h @@ -35,6 +35,7 @@ class FontStyle; class ServerFont { public: + ServerFont(){ ServerFont(NULL); } ServerFont(FontStyle *fstyle, float fsize=12.0, float frotation=0.0, float fshear=90.0, uint16 flags=0, uint8 spacing=B_CHAR_SPACING); ServerFont(const ServerFont &font); @@ -65,6 +66,8 @@ public: BRect BoundingBox(void); void Height(font_height *fh); + + ServerFont& operator=(const ServerFont& font); protected: friend class FontStyle; FontStyle *fstyle; @@ -81,3 +84,7 @@ protected: }; #endif +/* + @log + * added '=' operator +*/