Merge remote-tracking branch 'remotes/origin/ys_buttons'

This commit is contained in:
bubnikv 2019-03-12 09:01:17 +01:00
commit 1da97c9415
8 changed files with 192 additions and 46 deletions

View file

@ -794,7 +794,8 @@ private:
enum Warning {
ObjectOutside,
ToolpathOutside,
SomethingNotShown
SomethingNotShown,
ObjectClashed
};
// Sets a warning of the given type to be active/inactive. If several warnings are active simultaneously,
@ -813,7 +814,7 @@ private:
std::vector<Warning> m_warnings;
// Generates the texture with given text.
bool _generate(const std::string& msg, const GLCanvas3D& canvas);
bool _generate(const std::string& msg, const GLCanvas3D& canvas, const bool red_colored = false);
};
class LegendTexture : public GUI::GLTexture