mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Implemented FullCompareDialog for show long string values
+ fixed build under GTK
This commit is contained in:
parent
11c22e7fb2
commit
058e024d2d
5 changed files with 231 additions and 40 deletions
|
@ -210,7 +210,8 @@ public:
|
|||
const wxString& label = wxEmptyString,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
long style = wxBU_EXACTFIT | wxNO_BORDER);
|
||||
long style = wxBU_EXACTFIT | wxNO_BORDER,
|
||||
bool use_default_disabled_bitmap = false);
|
||||
|
||||
ScalableButton(
|
||||
wxWindow * parent,
|
||||
|
@ -224,6 +225,7 @@ public:
|
|||
void SetBitmap_(const ScalableBitmap& bmp);
|
||||
void SetBitmapDisabled_(const ScalableBitmap &bmp);
|
||||
int GetBitmapHeight();
|
||||
void UseDefaultBitmapDisabled();
|
||||
|
||||
void msw_rescale();
|
||||
|
||||
|
@ -234,6 +236,8 @@ private:
|
|||
int m_width {-1}; // should be multiplied to em_unit
|
||||
int m_height{-1}; // should be multiplied to em_unit
|
||||
|
||||
bool m_use_default_disabled_bitmap {false};
|
||||
|
||||
// bitmap dimensions
|
||||
int m_px_cnt{ 16 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue