- retrieving home dir and create FsTrack folder
- added adjustable KML update interval - prepared for .kmz git-svn-id: http://moon:8086/svn/software/trunk/projects/FsTrack@125 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+7
-2
@@ -7,6 +7,8 @@
|
||||
|
||||
==============================================================================
|
||||
*/
|
||||
#include <Shlobj.h>
|
||||
#include <Knownfolders.h>
|
||||
|
||||
#include "../JuceLibraryCode/JuceHeader.h"
|
||||
#include "MainComponent.h"
|
||||
@@ -29,7 +31,6 @@ public:
|
||||
(void)commandLine;
|
||||
|
||||
// This method is where you should put your application's initialisation code..
|
||||
|
||||
mainWindow = new MainWindow();
|
||||
}
|
||||
|
||||
@@ -68,7 +69,11 @@ public:
|
||||
Colours::lightgrey,
|
||||
DocumentWindow::allButtons)
|
||||
{
|
||||
setContentOwned (new MainComponent(), true);
|
||||
PWSTR path;
|
||||
SHGetKnownFolderPath(FOLDERID_Profile, 0, NULL, &path);
|
||||
|
||||
static String pathStr(path);
|
||||
setContentOwned (new MainComponent(pathStr), true);
|
||||
|
||||
centreWithSize (getWidth(), getHeight());
|
||||
setVisible (true);
|
||||
|
||||
Reference in New Issue
Block a user