MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / ButtonDef

Class ButtonDef

src/Abyss/UI/ButtonDef.h:10–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace Abyss::UI {
9
10struct ButtonDef {
11 std::string name;
12 std::string resourceName;
13 DataTypes::Palette palette;
14 std::string font;
15 std::string clickSound;
16 SDL_Rect clickableRect;
17 struct {
18 uint8_t x;
19 uint8_t y;
20 } segments;
21 struct {
22 int8_t base;
23 int8_t pressed;
24 int8_t disabled;
25 } frames;
26};
27
28} // namespace Abyss::UI

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected