mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
add BasePanel & add padding property to SplitBox
This commit is contained in:
parent
c86bad8def
commit
37c7ffa7b0
6 changed files with 90 additions and 56 deletions
|
|
@ -1,9 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include "Container.hpp"
|
||||
#include "BasePanel.hpp"
|
||||
|
||||
namespace gui {
|
||||
class SplitBox : public Container {
|
||||
class SplitBox : public BasePanel {
|
||||
public:
|
||||
SplitBox(const glm::vec2& size, float splitPos, Orientation orientation);
|
||||
|
||||
|
|
@ -12,7 +12,5 @@ namespace gui {
|
|||
virtual void fullRefresh() override;
|
||||
private:
|
||||
float splitPos;
|
||||
int splitRadius = 2;
|
||||
Orientation orientation;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue