* added '=' operator

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2003-09-15 18:58:49 +00:00
parent 09c067b8e4
commit bd26e2d2d1
+7
View File
@@ -35,6 +35,7 @@ class FontStyle;
class ServerFont class ServerFont
{ {
public: public:
ServerFont(){ ServerFont(NULL); }
ServerFont(FontStyle *fstyle, float fsize=12.0, float frotation=0.0, float fshear=90.0, ServerFont(FontStyle *fstyle, float fsize=12.0, float frotation=0.0, float fshear=90.0,
uint16 flags=0, uint8 spacing=B_CHAR_SPACING); uint16 flags=0, uint8 spacing=B_CHAR_SPACING);
ServerFont(const ServerFont &font); ServerFont(const ServerFont &font);
@@ -65,6 +66,8 @@ public:
BRect BoundingBox(void); BRect BoundingBox(void);
void Height(font_height *fh); void Height(font_height *fh);
ServerFont& operator=(const ServerFont& font);
protected: protected:
friend class FontStyle; friend class FontStyle;
FontStyle *fstyle; FontStyle *fstyle;
@@ -81,3 +84,7 @@ protected:
}; };
#endif #endif
/*
@log
* added '=' operator
*/