Add the full source of BambuStudio

using version 1.0.10
This commit is contained in:
lane.wei 2022-07-15 23:37:19 +08:00 committed by Lane.Wei
parent 30bcadab3e
commit 1555904bef
3771 changed files with 1251328 additions and 0 deletions

View file

@ -0,0 +1,30 @@
#ifndef slic3r_GUI_CheckBox_hpp_
#define slic3r_GUI_CheckBox_hpp_
#include "../wxExtensions.hpp"
#include <wx/tglbtn.h>
class CheckBox : public wxBitmapToggleButton
{
public:
CheckBox(wxWindow * parent = NULL);
public:
void SetValue(bool value) override;
void SetHalfChecked(bool value = true);
void Rescale();
private:
void update();
private:
ScalableBitmap m_on;
ScalableBitmap m_half;
ScalableBitmap m_off;
bool m_half_checked = false;
};
#endif // !slic3r_GUI_CheckBox_hpp_