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

Method blit

src/Interface/Slider.cpp:246–256  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

244 * @param surface Pointer to surface to blit onto.
245 */
246void Slider::blit(Surface *surface)
247{
248 Surface::blit(surface);
249 if (_visible && !_hidden)
250 {
251 _txtMinus->blit(surface);
252 _txtPlus->blit(surface);
253 _frame->blit(surface);
254 _button->blit(surface);
255 }
256}
257
258/**
259 * The slider only moves while the button is pressed.

Callers 5

drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected