FireBirdLib - Topfield TMS PVR TAP Programming Library
OSDMenuWaitSpinnerDrawItem.c
Go to the documentation of this file.
1
#include "
FBLib_TMSOSDMenu.h
"
2
3
void
OSDMenuWaitSpinnerDrawItem
(word rgn, dword x, dword rgb)
4
{
5
word i, y = 0;
6
7
TRACEENTER
();
8
9
for
(i = 0; i <
WaitSpinnerItemHeight
; i++)
10
{
11
dword off = 0;
12
13
if
(i == 0 || i ==
WaitSpinnerItemHeight
- 1) off = 1;
14
15
TAP_Osd_FillBox(rgn, x + off, y++,
WaitSpinnerItemWidth
- (off << 1), 1,
OSDMenuWaitSpinnerShadeColor
(rgb, i,
WaitSpinnerItemHeight
));
16
}
17
18
TRACEEXIT
();
19
}
FBLib_TMSOSDMenu.h
WaitSpinnerItemWidth
#define WaitSpinnerItemWidth
Definition:
FBLib_TMSOSDMenu.h:20
OSDMenuWaitSpinnerShadeColor
dword OSDMenuWaitSpinnerShadeColor(dword rgb, word step, word steps)
Definition:
OSDMenuWaitSpinnerShadeColor.c:3
WaitSpinnerItemHeight
#define WaitSpinnerItemHeight
Definition:
FBLib_TMSOSDMenu.h:21
OSDMenuWaitSpinnerDrawItem
void OSDMenuWaitSpinnerDrawItem(word rgn, dword x, dword rgb)
Definition:
OSDMenuWaitSpinnerDrawItem.c:3
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
TMSOSDMenu
OSDMenuWaitSpinnerDrawItem.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3