mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-24 23:09:26 -05:00
Hide more Widget member variables.
This commit is contained in:
parent
8f8a9f2b63
commit
3a709c51c4
@ -175,7 +175,7 @@ SystemView::SystemView(
|
||||
) : View { parent_rect },
|
||||
context_(context)
|
||||
{
|
||||
style_ = &style_default;
|
||||
set_style(&style_default);
|
||||
|
||||
constexpr ui::Dim status_view_height = 16;
|
||||
|
||||
|
@ -115,14 +115,14 @@ public:
|
||||
void set_highlighted(const bool value);
|
||||
|
||||
protected:
|
||||
void dirty_overlapping_children_in_rect(const Rect& child_rect);
|
||||
|
||||
private:
|
||||
/* Widget rectangle relative to parent pos(). */
|
||||
Rect parent_rect;
|
||||
const Style* style_ { nullptr };
|
||||
Widget* parent_ { nullptr };
|
||||
|
||||
void dirty_overlapping_children_in_rect(const Rect& child_rect);
|
||||
|
||||
private:
|
||||
struct flags_t {
|
||||
bool dirty : 1; // Widget content has changed.
|
||||
bool hidden : 1; // Hide widget and children.
|
||||
|
Loading…
Reference in New Issue
Block a user