mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 13:31:49 +00:00
locale independent util::parse_double
This commit is contained in:
parent
84e8fd1af6
commit
bc72742ee3
20 changed files with 140 additions and 48 deletions
|
|
@ -34,7 +34,7 @@ namespace gui {
|
|||
Container(glm::vec2 coord, glm::vec2 size);
|
||||
|
||||
virtual void act(float delta) override;
|
||||
virtual void drawBackground(const GfxContext* pctx, Assets* assets) {};
|
||||
virtual void drawBackground(const GfxContext* pctx, Assets* assets);
|
||||
virtual void draw(const GfxContext* pctx, Assets* assets) override;
|
||||
virtual std::shared_ptr<UINode> getAt(glm::vec2 pos, std::shared_ptr<UINode> self) override;
|
||||
virtual void addBack(std::shared_ptr<UINode> node);
|
||||
|
|
@ -55,11 +55,14 @@ namespace gui {
|
|||
bool resizing_;
|
||||
int maxLength_ = 0;
|
||||
public:
|
||||
Panel(glm::vec2 size, glm::vec4 padding=glm::vec4(2.0f), float interval=2.0f, bool resizing=true);
|
||||
Panel(
|
||||
glm::vec2 size,
|
||||
glm::vec4 padding=glm::vec4(2.0f),
|
||||
float interval=2.0f,
|
||||
bool resizing=true
|
||||
);
|
||||
virtual ~Panel();
|
||||
|
||||
virtual void drawBackground(const GfxContext* pctx, Assets* assets) override;
|
||||
|
||||
virtual void orientation(Orientation orientation);
|
||||
Orientation orientation() const;
|
||||
|
||||
|
|
@ -67,6 +70,9 @@ namespace gui {
|
|||
|
||||
virtual void maxLength(int value);
|
||||
int maxLength() const;
|
||||
|
||||
virtual void setPadding(glm::vec4 padding);
|
||||
glm::vec4 getPadding() const;
|
||||
};
|
||||
|
||||
struct Page {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue