]> Creatis software - crea.git/commitdiff
Feature #1711 CreaDevManager application implementation creaDevManagerCMake
authorunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Tue, 23 Apr 2013 13:15:16 +0000 (15:15 +0200)
committerunknown <gonzalez@EI-ED-345.creatis.insa-lyon.fr>
Tue, 23 Apr 2013 13:15:16 +0000 (15:15 +0200)
Feature: Application Logo included for main window

appli/creaDevManager/CMakeLists.txt
appli/creaDevManager/icon.ico [new file with mode: 0644]
lib/creaDevManagerLib/wxCDMMainFrame.cpp

index 8eca8df1d75fd320be4be6b5e71e2edf81889ebd..bec75cdd6466807b6fc894381e5f58cf37892903 100644 (file)
@@ -71,40 +71,3 @@ SET ( ${EXE_NAME}_LINK_LIBRARIES
 #-Creates and installs the exe-----------------------------------------------
 CREA_ADD_EXECUTABLE( ${EXE_NAME} )
 #============================================================================
-
-#==sets additional files=====================================================
-IF(WIN32)
-
-# Build tree 
-  CONFIGURE_FILE(
-    ${CMAKE_CURRENT_SOURCE_DIR}/about.html
-    ${EXECUTABLE_OUTPUT_PATH}/Debug/about.html
-    COPYONLY 
-    )
-    
-  CONFIGURE_FILE(
-    ${CMAKE_CURRENT_SOURCE_DIR}/about.html
-    ${EXECUTABLE_OUTPUT_PATH}/Release/about.html
-    COPYONLY 
-    )
-    
-  INSTALL(
-    PROGRAMS ${EXECUTABLE_OUTPUT_PATH}/Debug/about.html
-    DESTINATION bin
-    )
-
-ELSE(WIN32)
-
-CONFIGURE_FILE(
-    ${CMAKE_CURRENT_SOURCE_DIR}/about.html
-    ${EXECUTABLE_OUTPUT_PATH}/about.html
-    @ONLY IMMEDIATE
-    )
-
-INSTALL(
-    FILES ${EXECUTABLE_OUTPUT_PATH}/about.html
-    DESTINATION bin
-    PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE
-    )
-    
-ENDIF(WIN32)
diff --git a/appli/creaDevManager/icon.ico b/appli/creaDevManager/icon.ico
new file mode 100644 (file)
index 0000000..3d29eb1
Binary files /dev/null and b/appli/creaDevManager/icon.ico differ
index 3b64a1e182cf118705ab70ef5c3ce968a04ccf56..76d18f4f4927a0bf435f87d643413768483e102a 100755 (executable)
@@ -40,6 +40,7 @@
 #include "wx/statline.h"
 #include "wx/config.h"
 #include "CDMUtilities.h"
+#include "images/CIcon64.xpm"
 
 #include "creaDevManagerIds.h"
 #include "wxCDMMainDescriptionPanel.h"
@@ -145,6 +146,7 @@ bool wxCDMMainFrame::Create(
 
   CreateMenus();
   CreateControls();
+  this->SetIcon(wxIcon(CIcon64));
   return TRUE;
 }