a0ad653d7d
* gui resizelayout #51 * checkbox icons * updates * weather reset * embedded logo asset
23 lines
440 B
C++
23 lines
440 B
C++
#pragma once
|
|
#include "WickedEngine.h"
|
|
|
|
class EditorComponent;
|
|
|
|
class MaterialPickerWindow : public wi::gui::Window
|
|
{
|
|
public:
|
|
void Create(EditorComponent* editor);
|
|
|
|
EditorComponent* editor = nullptr;
|
|
|
|
wi::vector<wi::gui::Button> buttons;
|
|
|
|
wi::gui::Slider zoomSlider;
|
|
|
|
void ResizeLayout() override;
|
|
|
|
// Recreating buttons shouldn't be done every frame because interaction states need multi-frame execution
|
|
void RecreateButtons();
|
|
};
|
|
|