First filling of the PhysicalPrinterDialog

+ Fixed scaling of the icons for the BitmapComboBoxes
 + Fixed calling of the blinking icons on the Tabs
This commit is contained in:
YuSanka 2020-06-18 11:39:25 +02:00
parent 19c4f32604
commit 7c7dcab032
4 changed files with 34 additions and 24 deletions

View file

@ -43,7 +43,6 @@ public:
};
void set_label_marker(int item, LabelItemType label_item_type = LABEL_ITEM_MARKER);
int em_unit() const { return m_em_unit; }
virtual void update() {};
virtual void msw_rescale();
@ -131,13 +130,13 @@ private:
// ---------------------------------
// *** PlaterPresetComboBox ***
// *** TabPresetComboBox ***
// ---------------------------------
class TabPresetComboBox : public PresetComboBox
{
public:
TabPresetComboBox(wxWindow *parent, Preset::Type preset_type);
TabPresetComboBox(wxWindow *parent, Preset::Type preset_type, bool is_from_physical_printer = false);
~TabPresetComboBox() {}
void set_show_incompatible_presets(bool show_incompatible_presets) {
show_incompatible = show_incompatible_presets;
@ -165,7 +164,7 @@ class PhysicalPrinterDialog : public DPIDialog
PresetComboBox* printer_presets;
public:
PhysicalPrinterDialog();
PhysicalPrinterDialog(const wxString& printer_name, int last_selected_preset);
~PhysicalPrinterDialog() {}
protected: