Added icon to deployment manager
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 17 Feb 2005 21:16:32 +0000 (21:16 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 17 Feb 2005 21:16:32 +0000 (21:16 +0000)
src/console/win32/DeploymentView.cpp
src/console/win32/Makefile.am
src/console/win32/icons/deploy.ico
src/console/win32/nxcon.dsp
src/console/win32/nxcon.rc
src/console/win32/resource.h
src/console/win32/tools.cpp

index d8371e9..a070662 100644 (file)
@@ -53,8 +53,10 @@ END_MESSAGE_MAP()
 
 BOOL CDeploymentView::PreCreateWindow(CREATESTRUCT& cs) 
 {
-       // TODO: Add your specialized code here and/or call the base class
-       
+   if (cs.lpszClass == NULL)
+      cs.lpszClass = AfxRegisterWndClass(CS_HREDRAW | CS_VREDRAW, NULL, 
+                                         GetSysColorBrush(COLOR_WINDOW), 
+                                         AfxGetApp()->LoadIcon(IDI_DEPLOY));
        return CMDIChildWnd::PreCreateWindow(cs);
 }
 
index 32b0187..193407f 100644 (file)
@@ -13,6 +13,7 @@ EXTRA_DIST = \
        ActionEditor.cpp ActionEditor.h ActionSelDlg.cpp ActionSelDlg.h \
        AlarmBrowser.cpp AlarmBrowser.h \
        comm.cpp \
+       ColorSelector.cpp ColorSelector.h \
        ConsolePropsGeneral.cpp ConsolePropsGeneral.h \
        ControlPanel.cpp ControlPanel.h \
        CreateContainerDlg.cpp CreateContainerDlg.h \
@@ -27,6 +28,7 @@ EXTRA_DIST = \
        DCIThresholdsPage.cpp DCIThresholdsPage.h \
        DCITransformPage.cpp DCITransformPage.h \
        DebugFrame.cpp DebugFrame.h \
+       DeploymentView.cpp DeploymentView.h \
        draw.cpp \
        EditActionDlg.cpp EditActionDlg.h \
        EditBox.cpp EditBox.h \
@@ -36,20 +38,22 @@ EXTRA_DIST = \
        EventPolicyEditor.cpp EventPolicyEditor.h \
        EventSelDlg.cpp EventSelDlg.h \
        globals.cpp globals.h \
-       Graph.cpp \
+       Graph.cpp Graph.h \
        GraphFrame.cpp GraphFrame.h \
-       Graph.h \
+       GraphPropDlg.cpp GraphPropDlg.h \
        GroupPropDlg.cpp GroupPropDlg.h \
        LoginDialog.cpp LoginDialog.h \
        MainFrm.cpp MainFrm.h \
        MapFrame.cpp MapFrame.h \
        MapView.cpp MapView.h \
        MIBBrowserDlg.cpp MIBBrowserDlg.h \
+       NetSrvPropsGeneral.cpp NetSrvPropsGeneral.h \
        NetSummaryFrame.cpp NetSummaryFrame.h \
        NewActionDlg.cpp NewActionDlg.h \
        NewUserDlg.cpp NewUserDlg.h \
        NodePoller.cpp NodePoller.h \
        NodePropsGeneral.cpp NodePropsGeneral.h \
+       NodePropsPolling.cpp NodePropsPolling.h \
        NodeSummary.cpp NodeSummary.h \
        nxcon.clw nxcon.dsp nxcon.dsw \
        nxcon.cpp nxcon.h \
@@ -64,6 +68,7 @@ EXTRA_DIST = \
        ObjectPropsSecurity.cpp ObjectPropsSecurity.h \
        ObjectSearchBox.cpp ObjectSearchBox.h \
        ObjectSelDlg.cpp ObjectSelDlg.h \
+       PackageMgr.cpp PackageMgr.h \
        PasswordChangeDlg.cpp PasswordChangeDlg.h \
        RequestProcessingDlg.cpp RequestProcessingDlg.h \
        resource.h \
index a6b9f58..65df7a0 100644 (file)
Binary files a/src/console/win32/icons/deploy.ico and b/src/console/win32/icons/deploy.ico differ
index 293be9b..ff6b543 100644 (file)
@@ -794,6 +794,10 @@ SOURCE=.\icons\dctemplate.ico
 # End Source File
 # Begin Source File
 
+SOURCE=.\icons\deploy.ico
+# End Source File
+# Begin Source File
+
 SOURCE=.\icons\disabled.ico
 # End Source File
 # Begin Source File
index 8792d8d..c073df7 100644 (file)
@@ -108,6 +108,7 @@ IDI_OVL_STATUS_TESTING  ICON    DISCARDABLE     "icons\\ovl_status_testing.ico"
 IDI_TRAP                ICON    DISCARDABLE     "icons\\trap.ico"
 IDI_PACKAGE             ICON    DISCARDABLE     "icons\\package.ico"
 IDI_DATABASE            ICON    DISCARDABLE     "icons\\database.ico"
+IDI_DEPLOY              ICON    DISCARDABLE     "icons\\deploy.ico"
 
 /////////////////////////////////////////////////////////////////////////////
 //
index 88789e1..7bb8cf0 100644 (file)
 #define IDD_CREATE_NETSRV               255
 #define IDD_OBJECT_NETSRV_GENERAL       256
 #define IDD_OBJECT_NODE_POLL            257
+#define IDI_DEPLOY                      258
 #define ID_EDIT_BOX                     525
 #define IDC_EDIT_SERVER                 1000
 #define IDC_EDIT_LOGIN                  1001
 #ifdef APSTUDIO_INVOKED
 #ifndef APSTUDIO_READONLY_SYMBOLS
 #define _APS_3D_CONTROLS                     1
-#define _APS_NEXT_RESOURCE_VALUE        258
+#define _APS_NEXT_RESOURCE_VALUE        259
 #define _APS_NEXT_COMMAND_VALUE         32915
 #define _APS_NEXT_CONTROL_VALUE         1235
 #define _APS_NEXT_SYMED_VALUE           121
index be2dd8a..3ffe614 100644 (file)
@@ -400,7 +400,6 @@ void UpdateActions(DWORD dwCode, NXC_ACTION *pAction)
       case NX_NOTIFY_ACTION_DELETED:
          if (pCurrAction != NULL)
          {
-theApp.DebugPrintf("Deleting action %d '%s'",pAction->dwId,pCurrAction->szName);
             for(i = 0; i < g_dwNumActions; i++)
                if (g_pActionList[i].dwId == pAction->dwId)
                {