#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/wxExtensions.hpp>
◆ ImageTransientPopup()
| ImageTransientPopup::ImageTransientPopup |
( |
wxWindow * | parent, |
|
|
bool | scrolled, |
|
|
wxBitmap | bmp ) |
◆ ~ImageTransientPopup()
| ImageTransientPopup::~ImageTransientPopup |
( |
| ) |
|
|
virtual |
◆ Create()
| bool PopupWindow::Create |
( |
wxWindow * | parent, |
|
|
int | flags = wxBORDER_NONE ) |
|
inherited |
22{
23 if (!wxPopupTransientWindow::Create(parent,
style))
24 return false;
25#ifdef __WXGTK__
26 GetTopParent(parent)->Bind(wxEVT_ACTIVATE, &PopupWindow::topWindowActiavate,
this);
27#endif
28#ifdef __WXOSX__
29 if (
style & wxPU_CONTAINS_CONTROLS)
30 for (auto evt : {wxEVT_LEFT_DOWN, wxEVT_LEFT_UP, wxEVT_LEFT_DCLICK, wxEVT_MOTION, wxEVT_MOUSEWHEEL})
31 Bind(evt, &PopupWindow::OnMouseEvent2, this);
32#endif
33 return true;
34}
#define style
Definition WipeTowerDialog.cpp:101
References GetTopParent(), and style.
Referenced by PopupWindow(), and DropDown::Create().
◆ OnDismiss()
| void ImageTransientPopup::OnDismiss |
( |
| ) |
|
|
virtual |
1246{
1247 PopupWindow::OnDismiss();
1248}
◆ OnKillFocus()
| void ImageTransientPopup::OnKillFocus |
( |
wxFocusEvent & | event | ) |
|
|
private |
◆ OnMouse()
| void ImageTransientPopup::OnMouse |
( |
wxMouseEvent & | event | ) |
|
|
private |
◆ OnSetFocus()
| void ImageTransientPopup::OnSetFocus |
( |
wxFocusEvent & | event | ) |
|
|
private |
◆ OnSize()
| void ImageTransientPopup::OnSize |
( |
wxSizeEvent & | event | ) |
|
|
private |
◆ Popup()
| void ImageTransientPopup::Popup |
( |
wxWindow * | focus = NULL | ) |
|
|
virtual |
1241{
1242 PopupWindow::Popup();
1243}
◆ ProcessLeftDown()
| bool ImageTransientPopup::ProcessLeftDown |
( |
wxMouseEvent & | event | ) |
|
|
virtual |
◆ SetImage()
| void ImageTransientPopup::SetImage |
( |
wxBitmap | bmp | ) |
|
◆ ShouldDismissOnTopWindowDeactivate()
| virtual bool PopupWindow::ShouldDismissOnTopWindowDeactivate |
( |
| ) |
|
|
inlineprotectedvirtualinherited |
◆ Show()
| bool ImageTransientPopup::Show |
( |
bool | show = true | ) |
|
|
virtual |
◆ wxDECLARE_ABSTRACT_CLASS()
◆ wxDECLARE_EVENT_TABLE()
| ImageTransientPopup::wxDECLARE_EVENT_TABLE |
( |
| ) |
|
|
private |
◆ m_image
| wxStaticBitmap* ImageTransientPopup::m_image |
|
private |
◆ m_panel
| wxScrolledWindow* ImageTransientPopup::m_panel |
|
private |
The documentation for this class was generated from the following files: