From 7430a5bea603b2a5ab1500efd00acf64400657e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 26 Oct 2006 22:48:31 +0000 Subject: [PATCH] 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 --- headers/private/app/ServerProtocol.h | 3 --- src/servers/app/ServerWindow.cpp | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/headers/private/app/ServerProtocol.h b/headers/private/app/ServerProtocol.h index 2b2d6e99d8..ede2c46b19 100644 --- a/headers/private/app/ServerProtocol.h +++ b/headers/private/app/ServerProtocol.h @@ -210,9 +210,6 @@ enum { AS_FILL_SHAPE, AS_FILL_TRIANGLE, - AS_MOVEPENBY, - AS_MOVEPENTO, - AS_SETPENSIZE, AS_DRAW_STRING, AS_SET_FONT, AS_SET_FONT_SIZE, diff --git a/src/servers/app/ServerWindow.cpp b/src/servers/app/ServerWindow.cpp index 73e6bc12b5..1b43f04073 100644 --- a/src/servers/app/ServerWindow.cpp +++ b/src/servers/app/ServerWindow.cpp @@ -1797,17 +1797,6 @@ ServerWindow::_DispatchViewMessage(int32 code, fCurrentLayer->CurrentState()->SetPattern(Pattern(pat)); break; - } - case AS_MOVEPENTO: - { - DTRACE(("ServerWindow %s: Message AS_MOVEPENTO\n", Title())); - - float x,y; - link.Read(&x); - link.Read(&y); - - fCurrentLayer->CurrentState()->SetPenLocation(BPoint(x, y)); - break; } case AS_SET_FONT: {