mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-11 13:56:04 -06:00
* step import dialog * update * update * drop file dialog * Update UnsavedChangesDialog.cpp * update * fix focus * Update CreatePresetsDialog.cpp * improve usage of return button * fix first button not getting hover effects * update * update * improve button styles * update button events * update button events * update button events * remove Raise()
27 lines
No EOL
691 B
C++
27 lines
No EOL
691 B
C++
#ifndef slic3r_GUI_SingleChoice_hpp_
|
|
#define slic3r_GUI_SingleChoice_hpp_
|
|
|
|
#include "GUI_Utils.hpp"
|
|
#include "Widgets/Button.hpp"
|
|
#include "Widgets/ComboBox.hpp"
|
|
|
|
namespace Slic3r { namespace GUI {
|
|
|
|
class SingleChoiceDialog : public DPIDialog
|
|
{
|
|
public:
|
|
SingleChoiceDialog(const wxString &message, const wxString &caption, const wxArrayString &choices, int initialSelectionwx, wxWindow *parent = nullptr);
|
|
~SingleChoiceDialog();
|
|
|
|
int GetSingleChoiceIndex();
|
|
ComboBox *GetTypeComboBox() { return type_comboBox; };
|
|
|
|
void on_dpi_changed(const wxRect &suggested_rect) override;
|
|
|
|
protected:
|
|
ComboBox *type_comboBox = nullptr;
|
|
};
|
|
|
|
}} // namespace Slic3r::GUI
|
|
|
|
#endif |