mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-29 19:55:37 +00:00
Fix mis-declared render methods for input setup GUIs.
This commit is contained in:
parent
a82684ec1a
commit
04ffc7447c
|
@ -81,8 +81,11 @@ void GuiDetectDevice::update(int deltaTime)
|
|||
}
|
||||
}
|
||||
|
||||
void GuiDetectDevice::render()
|
||||
void GuiDetectDevice::render(const Eigen::Affine3f& parentTrans)
|
||||
{
|
||||
Eigen::Affine3f trans = parentTrans * getTransform();
|
||||
Renderer::setMatrix(trans);
|
||||
|
||||
std::shared_ptr<Font> font = Font::get(*mWindow->getResourceManager(), Font::getDefaultPath(), FONT_SIZE_MEDIUM);
|
||||
|
||||
std::string playerString;
|
||||
|
|
|
@ -10,7 +10,7 @@ public:
|
|||
|
||||
bool input(InputConfig* config, Input input);
|
||||
void update(int deltaTime);
|
||||
void render();
|
||||
void render(const Eigen::Affine3f& parentTrans) override;
|
||||
|
||||
private:
|
||||
void done();
|
||||
|
|
|
@ -75,8 +75,11 @@ bool GuiInputConfig::input(InputConfig* config, Input input)
|
|||
return false;
|
||||
}
|
||||
|
||||
void GuiInputConfig::render()
|
||||
void GuiInputConfig::render(const Eigen::Affine3f& parentTrans)
|
||||
{
|
||||
Eigen::Affine3f trans = parentTrans * getTransform();
|
||||
Renderer::setMatrix(trans);
|
||||
|
||||
std::shared_ptr<Font> font = Font::get(*mWindow->getResourceManager(), Font::getDefaultPath(), FONT_SIZE_MEDIUM);
|
||||
|
||||
std::stringstream stream;
|
||||
|
|
|
@ -11,7 +11,7 @@ public:
|
|||
|
||||
bool input(InputConfig* config, Input input);
|
||||
void update(int deltaTime);
|
||||
void render();
|
||||
void render(const Eigen::Affine3f& parentTrans) override;
|
||||
|
||||
private:
|
||||
std::string mErrorMsg;
|
||||
|
|
Loading…
Reference in a new issue