mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-05 08:10:40 -07:00
Initial commit for GitHub migration based on spice2x-25-03-03
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
#pragma once
|
||||
|
||||
#include "overlay/window.h"
|
||||
#include "overlay/windows/iopanel.h"
|
||||
#include "cfg/button.h"
|
||||
|
||||
namespace overlay::windows {
|
||||
|
||||
class GitadoraIOPanel : public IOPanel {
|
||||
public:
|
||||
GitadoraIOPanel(SpiceOverlay *overlay);
|
||||
|
||||
protected:
|
||||
void build_io_panel() override;
|
||||
|
||||
private:
|
||||
void find_gfdm_buttons();
|
||||
void draw_buttons(const int player);
|
||||
void draw_sliders(const int player);
|
||||
|
||||
bool two_players;
|
||||
bool has_guitar_knobs;
|
||||
|
||||
Button *start[2];
|
||||
Button *help[2];
|
||||
Button *up[2];
|
||||
Button *down[2];
|
||||
Button *left[2];
|
||||
Button *right[2];
|
||||
|
||||
Light *start_light[2];
|
||||
Light *help_light[2];
|
||||
Light *updown_light[2];
|
||||
Light *leftright_light[2];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user