mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-04 03:31:02 +08:00

- Added rescale() function for the most of controls - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
30 lines
506 B
C++
30 lines
506 B
C++
#ifndef slic3r_ButtonsDescription_hpp
|
|
#define slic3r_ButtonsDescription_hpp
|
|
|
|
#include <wx/dialog.h>
|
|
#include <vector>
|
|
|
|
class PrusaBitmap;
|
|
|
|
namespace Slic3r {
|
|
namespace GUI {
|
|
|
|
using t_icon_descriptions = std::vector<std::pair</*wxBitmap*/PrusaBitmap*, std::string>>;
|
|
|
|
class ButtonsDescription : public wxDialog
|
|
{
|
|
t_icon_descriptions* m_icon_descriptions;
|
|
public:
|
|
ButtonsDescription(wxWindow* parent, t_icon_descriptions* icon_descriptions);
|
|
~ButtonsDescription() {}
|
|
|
|
|
|
};
|
|
|
|
} // GUI
|
|
} // Slic3r
|
|
|
|
|
|
#endif
|
|
|