PrusaSlicer-NonPlainar/src/slic3r/GUI/GUI_ObjectLayers.hpp

40 lines
804 B
C++
Raw Normal View History

#ifndef slic3r_GUI_ObjectLayers_hpp_
#define slic3r_GUI_ObjectLayers_hpp_
#include "GUI_ObjectSettings.hpp"
#include "wxExtensions.hpp"
class wxBoxSizer;
namespace Slic3r {
class ModelObject;
namespace GUI {
class ConfigOptionsGroup;
class ObjectLayers : public OG_Settings
{
2019-05-30 10:41:16 +00:00
ScalableBitmap m_bmp_delete;
ScalableBitmap m_bmp_add;
ModelObject* m_object {nullptr};
2019-05-30 10:41:16 +00:00
std::vector<std::string> m_legends;
public:
ObjectLayers(wxWindow* parent);
~ObjectLayers() {}
2019-05-30 10:41:16 +00:00
void create_layers_list();
void create_layer();
void update_layers_list();
void add_layer() {};
void del_layer() {};
void UpdateAndShow(const bool show) override;
void msw_rescale();
};
}}
#endif // slic3r_GUI_ObjectLayers_hpp_