From c0a7267732ae2912dfbd625f18f2a75939fecb8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Mon, 3 Apr 2006 11:45:37 +0000 Subject: [PATCH] Minor cleanup: removed some unused commands. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16980 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/ServerApp.cpp | 46 +---------------------------------- 1 file changed, 1 insertion(+), 45 deletions(-) diff --git a/src/servers/app/ServerApp.cpp b/src/servers/app/ServerApp.cpp index c2ac4d213e..27d635f8fa 100644 --- a/src/servers/app/ServerApp.cpp +++ b/src/servers/app/ServerApp.cpp @@ -493,52 +493,8 @@ ServerApp::_DispatchMessage(int32 code, BPrivate::LinkReceiver& link) break; } - case AS_UPDATE_COLORS: - { - // NOTE: R2: Eventually we will have windows which will notify their children of changes in - // system colors - -/* STRACE(("ServerApp %s: Received global UI color update notification\n", Signature())); - ServerWindow *win; - BMessage msg(_COLORS_UPDATED); - - for(int32 i = 0; i < fWindowList.CountItems(); i++) { - win=(ServerWindow*)fWindowList.ItemAt(i); - win->Window()->UpdateColors(); - win->SendMessageToClient(AS_UPDATE_COLORS, msg); - } -*/ break; - } - case AS_UPDATE_FONTS: - { - // NOTE: R2: Eventually we will have windows which will notify their children of changes in - // system fonts - -/* STRACE(("ServerApp %s: Received global font update notification\n", Signature())); - ServerWindow *win; - BMessage msg(_FONTS_UPDATED); - - for(int32 i=0; iCountItems(); i++) - { - win=(ServerWindow*)fSWindowList->ItemAt(i); - win->Window()->UpdateFont(); - win->SendMessageToClient(AS_UPDATE_FONTS, msg); - } -*/ break; - } - case AS_UPDATE_DECORATOR: - { - STRACE(("ServerApp %s: Received decorator update notification\n", Signature())); + // Decorator commands - // TODO: implement or remove AS_UPDATE_DECORATOR -/* for (int32 i = 0; i < fWindowList.CountItems(); i++) { - ServerWindow *window = fWindowList.ItemAt(i); - window->Lock(); - const_cast(window->Window())->UpdateDecorator(); - window->Unlock(); - } -*/ break; - } case AS_SET_DECORATOR: { // Received from an application when the user wants to set the window