MCPcopy Create free account
hub / github.com/OneLoneCoder/olcPixelGameEngine / Slider

Method Slider

extensions/olcPGEX_QuickGUI.h:876–880  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

874
875#pragma region Slider
876 Slider::Slider(olc::QuickGUI::Manager& manager, const olc::vf2d& posmin, const olc::vf2d& posmax, const float valmin, const float valmax, const float value)
877 : BaseControl(manager)
878 {
879 vPosMin = posmin; vPosMax = posmax; fMin = valmin; fMax = valmax; fValue = value;
880 }
881
882 void Slider::Update(olc::PixelGameEngine* pge)
883 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected