OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
Slic3r::GUI::IntEvent Struct Reference

#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Event.hpp>

Inheritance diagram for Slic3r::GUI::IntEvent:
Collaboration diagram for Slic3r::GUI::IntEvent:

Public Member Functions

 IntEvent (wxEventType type, int data, wxObject *origin=nullptr)
virtual wxEvent * Clone () const
int get_data ()

Private Attributes

int m_data

Detailed Description

Constructor & Destructor Documentation

◆ IntEvent()

Slic3r::GUI::IntEvent::IntEvent ( wxEventType type,
int data,
wxObject * origin = nullptr )
inline
33 : wxEvent(0, type)
34 {
35 m_propagationLevel = wxEVENT_PROPAGATE_MAX;
36 SetEventObject(origin);
37 m_data = data;
38 }
int m_data
Definition Event.hpp:47

References m_data.

Referenced by Clone().

Here is the caller graph for this function:

Member Function Documentation

◆ Clone()

virtual wxEvent * Slic3r::GUI::IntEvent::Clone ( ) const
inlinevirtual
41 {
42 return new IntEvent(GetEventType(), m_data, GetEventObject());
43 }
IntEvent(wxEventType type, int data, wxObject *origin=nullptr)
Definition Event.hpp:33

References IntEvent(), and m_data.

Here is the call graph for this function:

◆ get_data()

int Slic3r::GUI::IntEvent::get_data ( )
inline
44{ return m_data; }

References m_data.

Member Data Documentation

◆ m_data

int Slic3r::GUI::IntEvent::m_data
private

Referenced by IntEvent(), Clone(), and get_data().


The documentation for this struct was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/Event.hpp