Rearrange ui::element field for less padding

This commit is contained in:
Nikita Lisitsa 2022-05-25 16:16:18 +03:00
parent b1d9c2c08d
commit 78c573b091

View file

@ -103,13 +103,14 @@ namespace psemek::ui
private:
element * parent_ = nullptr;
async::event_loop * loop_ = nullptr;
bool enabled_ = true;
bool hidden_ = false;
std::shared_ptr<struct style> style_;
std::shared_ptr<struct style> own_style_;
mutable std::shared_ptr<struct style> merged_style_;
mutable std::shared_ptr<struct style> merged_own_style_;
bool reshape_posted_ = false;
bool enabled_ = true;
bool hidden_ = false;
mutable std::vector<util::function<void()>> delayed_callbacks_;