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 +*/