| 83 | |
| 84 | template <typename T> |
| 85 | TextListComponent<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 | |
| 105 | template <typename T> |
| 106 | void TextListComponent<T>::onPositionChanged() |
nothing calls this directly
no outgoing calls
no test coverage detected