#include </home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/GUI/wxExtensions.hpp>
◆ BlinkingBitmap() [1/2]
| BlinkingBitmap::BlinkingBitmap |
( |
| ) |
|
|
inline |
◆ BlinkingBitmap() [2/2]
| BlinkingBitmap::BlinkingBitmap |
( |
wxWindow * | parent, |
|
|
const std::string & | icon_name = "blank_16" ) |
1144 :
1145 wxStaticBitmap(parent, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize(
int(1.6 * Slic3r::GUI::wxGetApp().
em_unit()), -1))
1146{
1147 bmp = ScalableBitmap(parent, icon_name);
1148}
ScalableBitmap bmp
Definition wxExtensions.hpp:341
int em_unit(wxWindow *win)
Definition wxExtensions.cpp:424
References bmp, and em_unit().
◆ ~BlinkingBitmap()
| BlinkingBitmap::~BlinkingBitmap |
( |
| ) |
|
|
inline |
◆ activate()
| void BlinkingBitmap::activate |
( |
| ) |
|
1163{
1164 this->SetBitmap(
bmp.bmp());
1166}
bool show
Definition wxExtensions.hpp:342
References bmp, and show.
◆ blink()
| void BlinkingBitmap::blink |
( |
| ) |
|
1169{
1171 this->SetBitmap(
show ?
bmp.bmp() : wxNullBitmap);
1172}
References bmp, and show.
◆ get_bmp()
| const wxBitmap & BlinkingBitmap::get_bmp |
( |
| ) |
const |
|
inline |
◆ invalidate()
| void BlinkingBitmap::invalidate |
( |
| ) |
|
1158{
1159 this->SetBitmap(wxNullBitmap);
1160}
◆ msw_rescale()
| void BlinkingBitmap::msw_rescale |
( |
| ) |
|
1151{
1153 this->SetSize(
bmp.GetBmpSize());
1154 this->SetMinSize(
bmp.GetBmpSize());
1155}
References bmp.
◆ bmp
◆ show
| bool BlinkingBitmap::show {false} |
|
private |
The documentation for this class was generated from the following files: