*Doh* Forgot a couple minor edits before initial checkin
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1497 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fc45fe708d
commit
3a93f97d52
@ -37,26 +37,21 @@ BFontPrivate & BFontPrivate::operator=(const BFontPrivate &fontdata)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// I think these guys are initialized by the BApplication constructor
|
|
||||||
BFont *obe_plain_font=NULL;
|
|
||||||
BFont *obe_bold_font=NULL;
|
|
||||||
BFont *obe_fixed_font=NULL;
|
|
||||||
|
|
||||||
BFont::BFont(void)
|
BFont::BFont(void)
|
||||||
{
|
{
|
||||||
private_data=new BFontPrivate();
|
private_data=new BFontPrivate();
|
||||||
if(be_plain_font)
|
if(be_plain_font)
|
||||||
{
|
{
|
||||||
fFamilyID=obe_plain_font->fFamilyID;
|
fFamilyID=be_plain_font->fFamilyID;
|
||||||
fStyleID=obe_plain_font->fStyleID;
|
fStyleID=be_plain_font->fStyleID;
|
||||||
fSize=obe_plain_font->fSize;
|
fSize=be_plain_font->fSize;
|
||||||
fShear=obe_plain_font->fShear;
|
fShear=be_plain_font->fShear;
|
||||||
fRotation=obe_plain_font->fRotation;
|
fRotation=be_plain_font->fRotation;
|
||||||
fSpacing=obe_plain_font->fSpacing;
|
fSpacing=be_plain_font->fSpacing;
|
||||||
fEncoding=obe_plain_font->fEncoding;
|
fEncoding=be_plain_font->fEncoding;
|
||||||
fFace=obe_plain_font->fFace;
|
fFace=be_plain_font->fFace;
|
||||||
fHeight=obe_plain_font->fHeight;
|
fHeight=be_plain_font->fHeight;
|
||||||
private_data->fPrivateFlags=obe_plain_font->private_data->fPrivateFlags;
|
private_data->fPrivateFlags=be_plain_font->private_data->fPrivateFlags;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -108,18 +103,18 @@ BFont::BFont(const BFont *font)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(obe_plain_font)
|
if(be_plain_font)
|
||||||
{
|
{
|
||||||
fFamilyID=obe_plain_font->fFamilyID;
|
fFamilyID=be_plain_font->fFamilyID;
|
||||||
fStyleID=obe_plain_font->fStyleID;
|
fStyleID=be_plain_font->fStyleID;
|
||||||
fSize=obe_plain_font->fSize;
|
fSize=be_plain_font->fSize;
|
||||||
fShear=obe_plain_font->fShear;
|
fShear=be_plain_font->fShear;
|
||||||
fRotation=obe_plain_font->fRotation;
|
fRotation=be_plain_font->fRotation;
|
||||||
fSpacing=obe_plain_font->fSpacing;
|
fSpacing=be_plain_font->fSpacing;
|
||||||
fEncoding=obe_plain_font->fEncoding;
|
fEncoding=be_plain_font->fEncoding;
|
||||||
fFace=obe_plain_font->fFace;
|
fFace=be_plain_font->fFace;
|
||||||
fHeight=obe_plain_font->fHeight;
|
fHeight=be_plain_font->fHeight;
|
||||||
private_data->fPrivateFlags=obe_plain_font->private_data->fPrivateFlags;
|
private_data->fPrivateFlags=be_plain_font->private_data->fPrivateFlags;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user