ui ini header
This commit is contained in:
+2
-1
@@ -1,6 +1,7 @@
|
||||
#include "AppGLFW.hpp"
|
||||
|
||||
#include "portable-file-dialogs.h"
|
||||
#include "uiresources.h"
|
||||
|
||||
ui::AppGLFW::AppGLFW()
|
||||
{
|
||||
@@ -48,7 +49,7 @@ ui::AppGLFW::AppGLFW()
|
||||
// " screen heigth " + std::to_string(height));
|
||||
|
||||
// Create window with graphics context
|
||||
window = glfwCreateWindow(1200, 800, "pixelarium", nullptr, nullptr);
|
||||
window = glfwCreateWindow(1200, 800, PIXELARIUM_TITLE, nullptr, nullptr);
|
||||
if (window == nullptr)
|
||||
{
|
||||
// lg::Logger::Error("no window");
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
set(PIXELARIUM_TITLE ${CMAKE_PROJECT_NAME})
|
||||
|
||||
message(STATUS "Configuring Resources")
|
||||
|
||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/uiresources.h.in
|
||||
${CMAKE_BINARY_DIR}/uiresources.h @ONLY)
|
||||
@@ -0,0 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
/*-- Gets filled in during the cmake configuration step --*/
|
||||
#cmakedefine PIXELARIUM_TITLE "@PIXELARIUM_TITLE@"
|
||||
Reference in New Issue
Block a user