Commits

Jacob Moen committed 2b74b93

Removed win32 stuff from KDevelop template

Comments (0)

Files changed (2)

KDevelop/ogre_tutfwk/include/%{APPNAME}.h

 #define __%{APPNAME}_h_
 
 #include "BaseApplication.h"
-#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
-#include "../res/resource.h"
-#endif
-
 
 class %{APPNAME} : public BaseApplication
 {

KDevelop/ogre_tutfwk/src/BaseApplication.cpp

 */
 #include "BaseApplication.h"
 
-#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
-#include "../res/resource.h"
-#endif
-
 //-------------------------------------------------------------------------------------
 BaseApplication::BaseApplication(void)
     : mRoot(0),
         // Here we choose to let the system create a default rendering window by passing 'true'
         mWindow = mRoot->initialise(true, "%{APPNAME} Render Window");
 
-        // Let's add a nice window icon
-#if OGRE_PLATFORM == OGRE_PLATFORM_WIN32
-        HWND hwnd;
-        mWindow->getCustomAttribute("WINDOW", (void*)&hwnd);
-        LONG iconID   = (LONG)LoadIcon( GetModuleHandle(0), MAKEINTRESOURCE(IDI_APPICON) );
-        SetClassLong( hwnd, GCL_HICON, iconID );
-#endif
         return true;
     }
     else
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.