FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuWaitSpinnerShadeColor.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
dword
OSDMenuWaitSpinnerShadeColor
(dword rgb, word step, word steps)
4
{
5
int
shade;
6
dword r, g, b;
7
8
TRACEENTER
();
9
10
shade = step *
WaitSpinnerItemColorShade
/ (steps - 1);
11
12
r =
R8888
(rgb) + shade;
13
g =
G8888
(rgb) + shade;
14
b =
B8888
(rgb) + shade;
15
16
TRACEEXIT
();
17
18
return
RGB(r, g, b);
19
}
FBLib_TMSOSDMenu.h
WaitSpinnerItemColorShade
#define WaitSpinnerItemColorShade
Definition:
FBLib_TMSOSDMenu.h:26
OSDMenuWaitSpinnerShadeColor
dword OSDMenuWaitSpinnerShadeColor(dword rgb, word step, word steps)
Definition:
OSDMenuWaitSpinnerShadeColor.c:3
B8888
#define B8888(x)
Definition:
libFireBird.h:243
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
R8888
#define R8888(x)
Definition:
libFireBird.h:241
G8888
#define G8888(x)
Definition:
libFireBird.h:242
TMSOSDMenu
OSDMenuWaitSpinnerShadeColor.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3