mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-02 06:40:42 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#pragma once
|
||||
|
||||
#include "overlay/window.h"
|
||||
#include "cfg/button.h"
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
class IOPanel : public Window {
|
||||
public:
|
||||
IOPanel(SpiceOverlay *overlay);
|
||||
void build_content() override;
|
||||
|
||||
protected:
|
||||
virtual void build_io_panel();
|
||||
void build_button(
|
||||
const char *label,
|
||||
const ImVec2 &size,
|
||||
Button *button,
|
||||
Button *button_alt = nullptr,
|
||||
Light *light = nullptr);
|
||||
|
||||
float get_suggested_height();
|
||||
|
||||
private:
|
||||
void find_buttons();
|
||||
void build_operator_menu();
|
||||
|
||||
bool operator_unlocked = false;
|
||||
Button *test_button = nullptr;
|
||||
Button *service_button = nullptr;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user