2018-04-20 11:27:25 +00:00
|
|
|
#ifndef slic3r_ButtonsDescription_hpp
|
|
|
|
#define slic3r_ButtonsDescription_hpp
|
|
|
|
|
|
|
|
#include <wx/dialog.h>
|
|
|
|
#include <vector>
|
|
|
|
|
2019-04-24 23:45:00 +00:00
|
|
|
class ScalableBitmap;
|
2019-04-13 21:46:52 +00:00
|
|
|
|
2018-04-20 11:27:25 +00:00
|
|
|
namespace Slic3r {
|
|
|
|
namespace GUI {
|
|
|
|
|
|
|
|
class ButtonsDescription : public wxDialog
|
|
|
|
{
|
|
|
|
public:
|
2019-05-09 17:24:21 +00:00
|
|
|
struct Entry {
|
|
|
|
Entry(ScalableBitmap *bitmap, const std::string &symbol, const std::string &explanation) : bitmap(bitmap), symbol(symbol), explanation(explanation) {}
|
|
|
|
|
|
|
|
ScalableBitmap *bitmap;
|
|
|
|
std::string symbol;
|
|
|
|
std::string explanation;
|
|
|
|
};
|
|
|
|
|
|
|
|
ButtonsDescription(wxWindow* parent, const std::vector<Entry> &entries);
|
2018-10-31 11:56:08 +00:00
|
|
|
~ButtonsDescription() {}
|
2019-05-09 17:24:21 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
std::vector<Entry> m_entries;
|
2018-04-20 11:27:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
} // GUI
|
|
|
|
} // Slic3r
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|