Compiled (segfault on close)
This commit is contained in:
@ -9,7 +9,7 @@ set(DAWN_BUILDING dawnpokergame)
|
|||||||
cmake_minimum_required(VERSION 3.13)
|
cmake_minimum_required(VERSION 3.13)
|
||||||
set(CMAKE_C_STANDARD 99)
|
set(CMAKE_C_STANDARD 99)
|
||||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
set(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/")
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ extern "C" {
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <array>
|
#include <array>
|
||||||
#include <stb_truetype.h>
|
#include <stb_truetype.h>
|
||||||
|
#include <memory>
|
||||||
// #include <iterator>
|
// #include <iterator>
|
||||||
// #include <algorithm>
|
// #include <algorithm>
|
||||||
// #include <string>
|
// #include <string>
|
||||||
|
@ -139,5 +139,7 @@ namespace Dawn {
|
|||||||
* Dispose and clenaup this transform, also removes self from parent.
|
* Dispose and clenaup this transform, also removes self from parent.
|
||||||
*/
|
*/
|
||||||
~Transform();
|
~Transform();
|
||||||
|
|
||||||
|
friend SceneItem;
|
||||||
};
|
};
|
||||||
}
|
}
|
@ -33,7 +33,7 @@ namespace Dawn {
|
|||||||
struct Color textColor = COLOR_MAGENTA;
|
struct Color textColor = COLOR_MAGENTA;
|
||||||
|
|
||||||
UILabel(UICanvas &canvas);
|
UILabel(UICanvas &canvas);
|
||||||
void drawSelf(UIShader &shader, glm::mat4 selfTransform);
|
void drawSelf(UIShader &shader, glm::mat4 selfTransform) override;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns the current text that the label has.
|
* Returns the current text that the label has.
|
||||||
|
Reference in New Issue
Block a user