Home
last modified time | relevance | path

Searched refs:ramp (Results 1 – 8 of 8) sorted by relevance

/haiku/src/kits/game/
H A DGSUtility.cpp25 _gs_ramp* ramp = new (std::nothrow) _gs_ramp; in InitRamp() local
26 if (ramp != NULL) { in InitRamp()
27 ramp->value = value; in InitRamp()
29 ramp->frame_total = frames * sec; in InitRamp()
30 ramp->frame_inc = int(ramp->frame_total / inc); in InitRamp()
32 ramp->inc = (set - *value) / inc; in InitRamp()
34 ramp->frame_count = 0; in InitRamp()
35 ramp->frame_inc_count = 0; in InitRamp()
37 ramp->duration = duration; in InitRamp()
39 return ramp; in InitRamp()
[all …]
H A DGSUtility.h51 bool ChangeRamp(_gs_ramp* ramp);
H A DFileGameSound.cpp37 FillBuffer(_gs_ramp* ramp, T* dest, const T* src, size_t* bytes) in FillBuffer() argument
42 float gain = *ramp->value; in FillBuffer()
46 if (ChangeRamp(ramp)) { in FillBuffer()
/haiku/src/tests/kits/game/simple_game_sound_test/
H A DSimpleSoundTest.cpp167 bigtime_t ramp = bigtime_t(atoi(fRamp->Text()) * 100000.0); in MessageReceived() local
190 fSound->SetGain(fGain->Position(), ramp); in MessageReceived()
195 fSound->SetPan(pos / 100.0, ramp); in MessageReceived()
/haiku/src/kits/interface/
H A DColorControl.cpp642 BColorControl::_InvalidateSelector(int16 ramp, rgb_color color, bool focused) in _InvalidateSelector() argument
647 if (ramp < 1 || ramp > 3) in _InvalidateSelector()
654 uint8 colorValue = ramp == 1 ? color.red : ramp == 2 ? color.green in _InvalidateSelector()
657 BPoint pos = _SelectorPosition(_RampFrame(ramp), colorValue); in _InvalidateSelector()
/haiku/headers/os/interface/
H A DColorControl.h97 void _InvalidateSelector(int16 ramp,
/haiku/headers/private/audio/
H A Dhmulti_audio.h438 int32 ramp; member
/haiku/src/apps/mail/
H A Dwords21500 ramp/MS