More GUI code moved to events, code now compiles but application doesn't run
This commit is contained in:
parent
3566b7e563
commit
b4c35124c3
37 changed files with 913 additions and 879 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "TextBoxHelpers.hpp"
|
||||
#include "../Elements/TextBox.impl.hpp"
|
||||
#include "LayoutHelpers.hpp"
|
||||
|
||||
namespace GUIStuff { namespace ElementHelpers {
|
||||
|
|
@ -29,7 +28,7 @@ void input_color_component_255(GUIManager& gui, const char* id, float* val, cons
|
|||
return ss.str();
|
||||
};
|
||||
|
||||
gui.element<TextBox<std::string>>(id, d);
|
||||
gui.element<TextBox<float>>(id, d);
|
||||
}
|
||||
|
||||
void input_text(GUIManager& gui, const char* id, std::string* val, const TextBoxOptions& options) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue