opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Friends | List of all members
osc::PopupPrivate Class Reference

#include <popup_private.h>

Inheritance diagram for osc::PopupPrivate:
[legend]
Collaboration diagram for osc::PopupPrivate:
[legend]

Public Member Functions

 PopupPrivate (Popup &owner, Widget *parent, std::string_view name, Vector2 dimensions={512.0f, 0.0f}, ui::PanelFlags=ui::PanelFlag::AlwaysAutoResize)
 
- Public Member Functions inherited from osc::WidgetPrivate
 WidgetPrivate (Widget &owner, Widget *parent)
 
virtual ~WidgetPrivate () noexcept=default
 
LifetimeWatcher lifetime_watcher () const
 
Widgetparent ()
 
const Widgetparent () const
 
void set_parent (Widget *new_parent)
 
CStringView name () const
 
void set_name (std::string_view name)
 

Protected Member Functions

bool is_popup_opened_this_frame () const
 
void request_close ()
 
void set_modal (bool)
 
 OSC_OWNER_GETTERS (Popup)
 
- Protected Member Functions inherited from osc::WidgetPrivate
Widgetbase_owner ()
 
const Widgetbase_owner () const
 
 OSC_OWNER_GETTERS (Widget)
 

Friends

class Popup
 

Constructor & Destructor Documentation

◆ PopupPrivate()

osc::PopupPrivate::PopupPrivate ( Popup owner,
Widget parent,
std::string_view  name,
Vector2  dimensions = {512.0f, 0.0f},
ui::PanelFlags  = ui::PanelFlag::AlwaysAutoResize 
)
explicit

Member Function Documentation

◆ is_popup_opened_this_frame()

bool osc::PopupPrivate::is_popup_opened_this_frame ( ) const
protected

◆ OSC_OWNER_GETTERS()

osc::PopupPrivate::OSC_OWNER_GETTERS ( Popup  )
protected

◆ request_close()

void osc::PopupPrivate::request_close ( )
protected

◆ set_modal()

void osc::PopupPrivate::set_modal ( bool  )
protected

Friends And Related Symbol Documentation

◆ Popup

friend class Popup
friend

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