Searched refs:ramp (Results 1 - 7 of 7) sorted by relevance

/haiku/src/kits/game/
H A DGSUtility.cpp25 _gs_ramp* ramp = new (std::nothrow) _gs_ramp; local
26 if (ramp != NULL) {
27 ramp->value = value;
29 ramp->frame_total = frames * sec;
30 ramp->frame_inc = int(ramp->frame_total / inc);
32 ramp->inc = (set - *value) / inc;
34 ramp->frame_count = 0;
35 ramp->frame_inc_count = 0;
37 ramp
44 ChangeRamp(_gs_ramp* ramp) argument
[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) argument
42 float gain = *ramp->value;
46 if (ChangeRamp(ramp)) {
/haiku/src/tests/kits/game/simple_game_sound_test/
H A DSimpleSoundTest.cpp167 bigtime_t ramp = bigtime_t(atoi(fRamp->Text()) * 100000.0); local
190 fSound->SetGain(fGain->Position(), ramp);
195 fSound->SetPan(pos / 100.0, ramp);
/haiku/headers/os/interface/
H A DColorControl.h97 void _InvalidateSelector(int16 ramp,
/haiku/src/kits/interface/
H A DColorControl.cpp220 // shift text controls down by one ramp
642 BColorControl::_InvalidateSelector(int16 ramp, rgb_color color, bool focused) argument
647 if (ramp < 1 || ramp > 3)
654 uint8 colorValue = ramp == 1 ? color.red : ramp == 2 ? color.green
657 BPoint pos = _SelectorPosition(_RampFrame(ramp), colorValue);
/haiku/headers/private/audio/
H A Dhmulti_audio.h438 int32 ramp;

Completed in 61 milliseconds