MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / blit

Method blit

src/Interface/ScrollBar.cpp:172–181  ·  view source on GitHub ↗

* Blits the scrollbar contents. * @param surface Pointer to surface to blit onto. */

Source from the content-addressed store, hash-verified

170 * @param surface Pointer to surface to blit onto.
171 */
172void ScrollBar::blit(Surface *surface)
173{
174 Surface::blit(surface);
175 if (_visible && !_hidden)
176 {
177 _track->blit(surface);
178 _thumb->blit(surface);
179 invalidate();
180 }
181}
182
183/**
184 * The scrollbar only moves while the button is pressed.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected