mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Compilation succesful on Linux Ubuntu
Probably broke a lot of things
This commit is contained in:
@@ -44,7 +44,14 @@ bool PopupHelper::DefineTextDialog(const std::string& id, std::string& currentTe
|
||||
|
||||
char buffer[256];
|
||||
memset(buffer, 0, sizeof(buffer));
|
||||
|
||||
#ifdef NK_WIN
|
||||
std::strncpy(buffer, currentText.c_str(), sizeof(buffer));
|
||||
#endif
|
||||
|
||||
#ifdef NK_LINUX
|
||||
strncpy(buffer, currentText.c_str(), sizeof(buffer));
|
||||
#endif
|
||||
if (ImGui::InputText("##label", buffer, sizeof(buffer)))
|
||||
{
|
||||
currentText = std::string(buffer);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <src/Vendors/glm/ext/matrix_clip_space.hpp>
|
||||
#include <src/Rendering/SceneRenderer.h>
|
||||
#include <src/Resource/ResourceLoader.h>
|
||||
#include <GL\glew.h>
|
||||
#include <GL/glew.h>
|
||||
|
||||
|
||||
ThumbnailManager::ThumbnailManager()
|
||||
|
||||
@@ -1,11 +1,5 @@
|
||||
#include "WindowTheming.h"
|
||||
|
||||
#include <GLFW/glfw3.h>
|
||||
|
||||
#define GLFW_EXPOSE_NATIVE_WIN32
|
||||
#include <GLFW/glfw3native.h>
|
||||
|
||||
#include <dwmapi.h>
|
||||
|
||||
namespace WindowTheming
|
||||
{
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
#include "src/Vendors/glm/gtx/matrix_decompose.hpp"
|
||||
#include "src/Resource/FontAwesome5.h"
|
||||
|
||||
#include "Dependencies/GLEW/include/GL/glew.h"
|
||||
#include "dependencies/GLEW/include/GL/glew.h"
|
||||
|
||||
#include "src/Scene/Scene.h"
|
||||
#include "src/Scene/Components/Components.h"
|
||||
|
||||
Reference in New Issue
Block a user