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