MCPcopy Create free account
hub / github.com/BruceDevices/firmware / drawIconImg

Method drawIconImg

include/MenuItemInterface.h:12–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 virtual void optionsMenu(void) = 0;
11 virtual void drawIcon(float scale = 1) = 0;
12 virtual void drawIconImg() {
13 drawImg(
14 *bruceConfig.themeFS(),
15 bruceConfig.getThemeItemImg(themePath()),
16 0,
17 imgCenterY,
18 true,
19 bruceConfig.theme.gifDuration,
20 false
21 );
22 }
23 virtual bool hasTheme() = 0;
24 virtual String themePath() = 0;
25

Callers

nothing calls this directly

Calls 3

drawImgFunction · 0.85
themeFSMethod · 0.80
getThemeItemImgMethod · 0.80

Tested by

no test coverage detected