mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
Code cleanup
This commit is contained in:
@@ -402,24 +402,15 @@ public:
|
||||
static const unsigned char Background_Color[3];
|
||||
static const unsigned char Opacity;
|
||||
|
||||
//############################################################################################################################################
|
||||
int m_original_width;
|
||||
int m_original_height;
|
||||
//############################################################################################################################################
|
||||
|
||||
public:
|
||||
//############################################################################################################################################
|
||||
WarningTexture();
|
||||
|
||||
int get_original_width() const;
|
||||
int get_original_height() const;
|
||||
//############################################################################################################################################
|
||||
|
||||
bool generate(const std::string& msg);
|
||||
|
||||
//############################################################################################################################################
|
||||
void render(const GLCanvas3D& canvas) const;
|
||||
//############################################################################################################################################
|
||||
};
|
||||
|
||||
class LegendTexture : public GUI::GLTexture
|
||||
@@ -433,24 +424,15 @@ public:
|
||||
static const unsigned char Background_Color[3];
|
||||
static const unsigned char Opacity;
|
||||
|
||||
//############################################################################################################################################
|
||||
int m_original_width;
|
||||
int m_original_height;
|
||||
//############################################################################################################################################
|
||||
|
||||
public:
|
||||
//############################################################################################################################################
|
||||
LegendTexture();
|
||||
|
||||
int get_original_width() const;
|
||||
int get_original_height() const;
|
||||
//############################################################################################################################################
|
||||
|
||||
bool generate(const GCodePreviewData& preview_data, const std::vector<float>& tool_colors);
|
||||
|
||||
//############################################################################################################################################
|
||||
void render(const GLCanvas3D& canvas) const;
|
||||
//############################################################################################################################################
|
||||
};
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user