mirror of
https://github.com/CDAGaming/blizzget
synced 2025-04-19 10:10:01 +03:00
Merge remote-tracking branch 'djkaty/master'
This commit is contained in:
commit
350c2c6a56
@ -101,7 +101,6 @@ void ProgramData::loadBuilds() {
|
||||
File file = data_->ngdp_->load(cdn_hash);
|
||||
if (!file) return -1;
|
||||
data_->cdn_config = NGDP::ParseConfig(file);
|
||||
//data_->builds = split(data_->cdn_config["builds"]);
|
||||
data_->builds.push_back(data_->ngdp_->version()->build);
|
||||
notify(0);
|
||||
for (size_t i = 0; i < data_->builds.size() && !terminate_; ++i) {
|
||||
|
@ -63,7 +63,7 @@ WNDCLASSEX* Window::createclass(std::string const& wndClass) {
|
||||
wcx->lpfnWndProc = WindowProc;
|
||||
wcx->hInstance = hInstance;
|
||||
wcx->lpszClassName = regClass.c_str();
|
||||
wcx->hCursor = LoadCursor(NULL, MAKEINTRESOURCE(IDC_ARROW));
|
||||
wcx->hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
return wcx;
|
||||
}
|
||||
delete wcx;
|
||||
@ -79,7 +79,7 @@ void Window::create(int x, int y, int width, int height, std::string const& text
|
||||
wcex.lpfnWndProc = WindowProc;
|
||||
wcex.hInstance = GetModuleHandle(NULL);
|
||||
wcex.lpszClassName = "WUTILSWINDOW";
|
||||
wcex.hCursor = LoadCursor(NULL, MAKEINTRESOURCE(IDC_ARROW));
|
||||
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
windowClass = RegisterClassEx(&wcex);
|
||||
}
|
||||
hWnd = CreateWindowEx(exStyle, regClass.empty() ? "WUTILSWINDOW" : regClass.c_str(), text.c_str(), style,
|
||||
|
@ -53,12 +53,13 @@
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>../libs;../src;./</AdditionalIncludeDirectories>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalLibraryDirectories>../libs</AdditionalLibraryDirectories>
|
||||
<AdditionalDependencies>comctl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
|
Loading…
Reference in New Issue
Block a user