mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 06:59:18 +02:00
milek7/sim branch opengl 3.3 renderer import
This commit is contained in:
@@ -11,7 +11,21 @@ http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#include "uilayer.h"
|
||||
#include "Classes.h"
|
||||
/*
|
||||
// helper, associated bool is set when the primary value was changed and expects processing at the observer's leisure
|
||||
template<typename Type_>
|
||||
using changeable = std::pair<Type_, bool>;
|
||||
|
||||
// helper, holds a set of changeable properties for a scene node
|
||||
struct item_properties {
|
||||
|
||||
scene::basic_node const *node { nullptr }; // properties' owner
|
||||
|
||||
changeable<std::string> name {};
|
||||
changeable<glm::dvec3> location {};
|
||||
changeable<glm::vec3> rotation {};
|
||||
};
|
||||
*/
|
||||
class itemproperties_panel : public ui_panel {
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user