mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-12-25 07:19:28 -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 },
|
) : View { parent_rect },
|
||||||
context_(context)
|
context_(context)
|
||||||
{
|
{
|
||||||
style_ = &style_default;
|
set_style(&style_default);
|
||||||
|
|
||||||
constexpr ui::Dim status_view_height = 16;
|
constexpr ui::Dim status_view_height = 16;
|
||||||
|
|
||||||
|
@ -115,14 +115,14 @@ public:
|
|||||||
void set_highlighted(const bool value);
|
void set_highlighted(const bool value);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
void dirty_overlapping_children_in_rect(const Rect& child_rect);
|
||||||
|
|
||||||
|
private:
|
||||||
/* Widget rectangle relative to parent pos(). */
|
/* Widget rectangle relative to parent pos(). */
|
||||||
Rect parent_rect;
|
Rect parent_rect;
|
||||||
const Style* style_ { nullptr };
|
const Style* style_ { nullptr };
|
||||||
Widget* parent_ { nullptr };
|
Widget* parent_ { nullptr };
|
||||||
|
|
||||||
void dirty_overlapping_children_in_rect(const Rect& child_rect);
|
|
||||||
|
|
||||||
private:
|
|
||||||
struct flags_t {
|
struct flags_t {
|
||||||
bool dirty : 1; // Widget content has changed.
|
bool dirty : 1; // Widget content has changed.
|
||||||
bool hidden : 1; // Hide widget and children.
|
bool hidden : 1; // Hide widget and children.
|
||||||
|
Loading…
Reference in New Issue
Block a user