MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / TextListComponent

Method TextListComponent

src/components/TextListComponent.h:85–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83
84template <typename T>
85TextListComponent<T>::TextListComponent(Window* window, float offsetX, float offsetY, std::shared_ptr<Font> font) : GuiComponent(window)
86{
87 mSelection = 0;
88 mScrollDir = 0;
89 mScrolling = 0;
90 mScrollAccumulator = 0;
91
92 setPosition(offsetX, offsetY);
93
94 mMarqueeOffset = 0;
95 mMarqueeTime = -MARQUEE_DELAY;
96 mTextOffsetX = 0;
97
98 mFont = font;
99 mSelectorColor = 0x000000FF;
100 mSelectedTextColorOverride = 0;
101 mScrollSound = NULL;
102 mDrawCentered = true;
103}
104
105template <typename T>
106void TextListComponent<T>::onPositionChanged()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected