Removed the superfluous (doubled) AS_MOVEPENTO as well. Also removed those old constants
from the ServerProtocol.h header. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -210,9 +210,6 @@ enum {
|
|||||||
AS_FILL_SHAPE,
|
AS_FILL_SHAPE,
|
||||||
AS_FILL_TRIANGLE,
|
AS_FILL_TRIANGLE,
|
||||||
|
|
||||||
AS_MOVEPENBY,
|
|
||||||
AS_MOVEPENTO,
|
|
||||||
AS_SETPENSIZE,
|
|
||||||
AS_DRAW_STRING,
|
AS_DRAW_STRING,
|
||||||
AS_SET_FONT,
|
AS_SET_FONT,
|
||||||
AS_SET_FONT_SIZE,
|
AS_SET_FONT_SIZE,
|
||||||
|
|||||||
@@ -1797,17 +1797,6 @@ ServerWindow::_DispatchViewMessage(int32 code,
|
|||||||
|
|
||||||
fCurrentLayer->CurrentState()->SetPattern(Pattern(pat));
|
fCurrentLayer->CurrentState()->SetPattern(Pattern(pat));
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
case AS_MOVEPENTO:
|
|
||||||
{
|
|
||||||
DTRACE(("ServerWindow %s: Message AS_MOVEPENTO\n", Title()));
|
|
||||||
|
|
||||||
float x,y;
|
|
||||||
link.Read<float>(&x);
|
|
||||||
link.Read<float>(&y);
|
|
||||||
|
|
||||||
fCurrentLayer->CurrentState()->SetPenLocation(BPoint(x, y));
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
case AS_SET_FONT:
|
case AS_SET_FONT:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user