Font rendering code should be cleaner, maybe a little more efficient and better documented. Rotated text is supported again.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12748 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2005-05-20 23:26:15 +00:00
parent e980fe005f
commit 3f513bbafe
4 changed files with 128 additions and 96 deletions
+2 -2
View File
@@ -569,7 +569,7 @@ void ServerWindow::DispatchMessage(int32 code, LinkMsgReader &link)
{
DTRACE(("ServerWindow %s: Message AS_LAYER_SET_STATE: Layer name: %s\n", fName, cl->fName->String()));
// SetLayerState(cl);
SetLayerState(cl,link);
SetLayerState(cl, link);
// TODO: should this be moved into SetLayerState?
// If it _always_ needs to be done afterwards, then yes!
cl->RebuildFullRegion();
@@ -579,7 +579,7 @@ void ServerWindow::DispatchMessage(int32 code, LinkMsgReader &link)
{
DTRACE(("ServerWindow %s: Message AS_LAYER_SET_FONT_STATE: Layer name: %s\n", fName, cl->fName->String()));
// SetLayerFontState(cl);
SetLayerFontState(cl,link);
SetLayerFontState(cl, link);
cl->RebuildFullRegion();
break;
}