![]() |
Prusa Slicer 2.6.0
|
#include <src/slic3r/GUI/wxExtensions.hpp>
Inheritance diagram for LockButton:
Collaboration diagram for LockButton:Public Member Functions | |
| LockButton (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize) | |
| ~LockButton () | |
| void | OnButton (wxCommandEvent &event) |
| bool | IsLocked () const |
| void | SetLock (bool lock) |
| void | enable () |
| void | disable () |
| void | sys_color_changed () |
Protected Member Functions | |
| void | update_button_bitmaps () |
Private Attributes | |
| bool | m_is_pushed = false |
| bool | m_disabled = false |
| ScalableBitmap | m_bmp_lock_closed |
| ScalableBitmap | m_bmp_lock_closed_f |
| ScalableBitmap | m_bmp_lock_open |
| ScalableBitmap | m_bmp_lock_open_f |
| LockButton::LockButton | ( | wxWindow * | parent, |
| wxWindowID | id, | ||
| const wxPoint & | pos = wxDefaultPosition, |
||
| const wxSize & | size = wxDefaultSize |
||
| ) |
References ScalableBitmap::bmp(), m_bmp_lock_closed, m_bmp_lock_closed_f, m_bmp_lock_open, m_bmp_lock_open_f, OnButton(), and wxEVT_BUTTON.
Here is the call graph for this function:
|
inline |
|
inline |
References m_disabled.
|
inline |
References m_disabled.
Referenced by Slic3r::GUI::ObjectManipulation::update_if_dirty().
Here is the caller graph for this function:
|
inline |
References m_is_pushed.
Referenced by Slic3r::GUI::ObjectManipulation::ObjectManipulation().
Here is the caller graph for this function:| void LockButton::OnButton | ( | wxCommandEvent & | event | ) |
References m_disabled, m_is_pushed, and SetLock().
Referenced by LockButton().
Here is the call graph for this function:
Here is the caller graph for this function:| void LockButton::SetLock | ( | bool | lock | ) |
References m_is_pushed, and update_button_bitmaps().
Referenced by OnButton(), and Slic3r::GUI::ObjectManipulation::update_if_dirty().
Here is the call graph for this function:
Here is the caller graph for this function:| void LockButton::sys_color_changed | ( | ) |
References m_bmp_lock_closed, m_bmp_lock_closed_f, m_bmp_lock_open, m_bmp_lock_open_f, ScalableBitmap::sys_color_changed(), and update_button_bitmaps().
Referenced by Slic3r::GUI::ObjectManipulation::sys_color_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
References ScalableBitmap::bmp(), m_bmp_lock_closed, m_bmp_lock_closed_f, m_bmp_lock_open, m_bmp_lock_open_f, and m_is_pushed.
Referenced by SetLock(), and sys_color_changed().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Referenced by LockButton(), sys_color_changed(), and update_button_bitmaps().
|
private |
Referenced by LockButton(), sys_color_changed(), and update_button_bitmaps().
|
private |
Referenced by LockButton(), sys_color_changed(), and update_button_bitmaps().
|
private |
Referenced by LockButton(), sys_color_changed(), and update_button_bitmaps().
|
private |
Referenced by disable(), enable(), and OnButton().
|
private |
Referenced by IsLocked(), OnButton(), SetLock(), and update_button_bitmaps().