Ajout de Jolt Physics + 1ere version des factory entitecomposants - camera, transform, rigidbody, collider, renderer
This commit is contained in:
21
lib/All/JoltPhysics/TestFramework/UI/UIVerticalStack.h
Normal file
21
lib/All/JoltPhysics/TestFramework/UI/UIVerticalStack.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// Jolt Physics Library (https://github.com/jrouwe/JoltPhysics)
|
||||
// SPDX-FileCopyrightText: 2021 Jorrit Rouwe
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <UI/UIElement.h>
|
||||
|
||||
/// Layout class that will automatically layout child elements vertically, stacking them
|
||||
class UIVerticalStack : public UIElement
|
||||
{
|
||||
public:
|
||||
JPH_DECLARE_RTTI_VIRTUAL(JPH_NO_EXPORT, UIVerticalStack)
|
||||
|
||||
/// Calculate auto layout
|
||||
virtual void AutoLayout() override;
|
||||
|
||||
private:
|
||||
int mDeltaY = 0;
|
||||
bool mPlaceInvisibleChildren = false;
|
||||
};
|
||||
Reference in New Issue
Block a user