MCPcopy Create free account
hub / github.com/FlagBrew/PKSM / MainMenuButton

Method MainMenuButton

common/include/gui/MainMenuButton.hpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35{
36public:
37 MainMenuButton(int x, int y, u16 w, u16 h, const std::function<bool()>& callback, int image,
38 const std::string& text, FontSize size, PKSM_Color textColor, int imageY)
39 : Button(x, y, w, h, callback, ui_sheet_mainmenu_button_idx, text, size, textColor)
40 {
41 menuImage = image;
42 this->imageY = imageY;
43 }
44
45 void draw() const override;
46

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected