更改字符集
This commit is contained in:
Binary file not shown.
BIN
Binary file not shown.
+11
-8
@@ -15,7 +15,9 @@ endif ()
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
add_executable(${PROJECT_NAME} main.cpp
|
||||
add_executable(${PROJECT_NAME}
|
||||
main.cpp
|
||||
def.cpp
|
||||
def.h
|
||||
InteractManager.cpp
|
||||
InteractManager.h
|
||||
@@ -27,17 +29,18 @@ add_executable(${PROJECT_NAME} main.cpp
|
||||
Window.h
|
||||
Hud.cpp
|
||||
Hud.h
|
||||
includes.h
|
||||
IText.h
|
||||
Chars.h
|
||||
IText.cpp
|
||||
xWindows.h
|
||||
IText.h
|
||||
exception.cpp
|
||||
exception.h
|
||||
def.cpp
|
||||
TestCode.h
|
||||
TextureManager.cpp
|
||||
TextureManager.h
|
||||
exception.cpp)
|
||||
|
||||
includes.h
|
||||
Chars.h
|
||||
xWindows.h
|
||||
TestCode.h
|
||||
)
|
||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||
include(CPack)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
@@ -1,27 +0,0 @@
|
||||
|
||||
#include <Windows.h>
|
||||
#include <winuser.h>
|
||||
|
||||
#include "../CarlbeksLib/gxdef.h"
|
||||
#include "../CarlbeksLib/rgui.h"
|
||||
#include "../CarlbeksLib/iwindows.h"
|
||||
|
||||
static HINSTANCE MainInstance;
|
||||
static HWND MainWindowHandle;
|
||||
|
||||
static inline String ApplicationName = L"High Blood Pressure";
|
||||
|
||||
inline Carlbeks::UI::Main MainWindow;
|
||||
inline Carlbeks::UI::TickThread MainTick{ &MainWindow };
|
||||
|
||||
inline void Initialize() noexcept {
|
||||
Carlbeks::WindowsInterface::ShowConsoleIO();
|
||||
MainWindow.setWindow(MainWindowHandle);
|
||||
MainWindow.setDC(GetDC(MainWindowHandle));
|
||||
MainTick.start();
|
||||
}
|
||||
|
||||
inline void Finalize() noexcept {
|
||||
MainTick.stopAndWait();
|
||||
_wsystem(L"pause");
|
||||
}
|
||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Reference in New Issue
Block a user