yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::editor::SidebarStateChangedEvent Struct Reference

Sidebar visibility state change notification. More...

#include <core_events.h>

Inheritance diagram for yaze::editor::SidebarStateChangedEvent:
Collaboration diagram for yaze::editor::SidebarStateChangedEvent:

Static Public Member Functions

static SidebarStateChangedEvent Create (bool visible, bool expanded)
 

Public Attributes

bool sidebar_visible = false
 
bool panel_expanded = false
 

Additional Inherited Members

- Public Member Functions inherited from yaze::Event
virtual ~Event ()=default
 

Detailed Description

Sidebar visibility state change notification.

Published when sidebar or side panel visibility changes.

Definition at line 410 of file core_events.h.

Member Function Documentation

◆ Create()

static SidebarStateChangedEvent yaze::editor::SidebarStateChangedEvent::Create ( bool visible,
bool expanded )
inlinestatic

Definition at line 414 of file core_events.h.

References panel_expanded, and sidebar_visible.

Member Data Documentation

◆ sidebar_visible

bool yaze::editor::SidebarStateChangedEvent::sidebar_visible = false

Definition at line 411 of file core_events.h.

Referenced by Create().

◆ panel_expanded

bool yaze::editor::SidebarStateChangedEvent::panel_expanded = false

Definition at line 412 of file core_events.h.

Referenced by Create().


The documentation for this struct was generated from the following file: