Playing around with buttons
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
#include "gui.hpp"
|
||||
|
||||
std::shared_ptr<SDLPP::RectangleRender>
|
||||
/*std::shared_ptr<SDLPP::RectangleRender>
|
||||
createButton(double x, double y, double w, double h,
|
||||
std::shared_ptr<SDLPP::Renderer> &r, const std::string &text,
|
||||
const std::string &color, const std::string &outline_color,
|
||||
@@ -9,4 +9,4 @@ createButton(double x, double y, double w, double h,
|
||||
auto button = std::make_shared<Button>(
|
||||
x, y, w, h, r, text, color, outline_color, background_color, click_fun, input);
|
||||
return std::static_pointer_cast<SDLPP::RectangleRender>(button);
|
||||
}
|
||||
}*/
|
||||
Reference in New Issue
Block a user