mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
Start renaming project to Metaforce
This commit is contained in:
27
metaforce-gui/LayerDialog.hpp
Normal file
27
metaforce-gui/LayerDialog.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef LAYERDIALOG_HPP
|
||||
#define LAYERDIALOG_HPP
|
||||
|
||||
#include <QDialog>
|
||||
#include <memory>
|
||||
|
||||
namespace Ui {
|
||||
class LayerDialog;
|
||||
} // namespace Ui
|
||||
|
||||
struct Layer {
|
||||
QString name;
|
||||
bool active;
|
||||
};
|
||||
class LayerDialog : public QDialog {
|
||||
Q_OBJECT
|
||||
std::unique_ptr<Ui::LayerDialog> m_ui;
|
||||
|
||||
public:
|
||||
explicit LayerDialog(QWidget* parent = nullptr);
|
||||
~LayerDialog() override;
|
||||
|
||||
void createLayerCheckboxes(QList<Layer> layers);
|
||||
QString getLayerBits() const;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user