mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
First try to convert a user printer profiles to the physical printers
This commit is contained in:
parent
72ec414f1e
commit
3d990a9189
5 changed files with 42 additions and 8 deletions
|
@ -10,7 +10,7 @@
|
|||
#include "libslic3r/Preset.hpp"
|
||||
#include "wxExtensions.hpp"
|
||||
#include "GUI_Utils.hpp"
|
||||
#include "BitmapCache.hpp"
|
||||
//#include "BitmapCache.hpp"
|
||||
|
||||
class wxString;
|
||||
class wxTextCtrl;
|
||||
|
@ -22,7 +22,7 @@ namespace Slic3r {
|
|||
|
||||
namespace GUI {
|
||||
|
||||
|
||||
class BitmapCache;
|
||||
// ---------------------------------
|
||||
// *** PresetComboBox ***
|
||||
// ---------------------------------
|
||||
|
@ -72,10 +72,7 @@ protected:
|
|||
PresetCollection* m_collection {nullptr};
|
||||
|
||||
// Caching bitmaps for the all bitmaps, used in preset comboboxes
|
||||
static BitmapCache& bitmap_cache() {
|
||||
static BitmapCache bmps;
|
||||
return bmps;
|
||||
}
|
||||
static BitmapCache& bitmap_cache();
|
||||
|
||||
// Indicator, that the preset is compatible with the selected printer.
|
||||
ScalableBitmap m_bitmapCompatible;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue