Files
Justin Marshall 7806bb8ef8 Added uisrc.
2026-04-27 10:37:37 -07:00

31 lines
953 B
C++

//****************************************************************************
// Sbar.h
// Diablo UI scroll bar to accompany "Doom style" lists
//
// By Frank Pearce
// created 11.11.96
//****************************************************************************
//****************************************************************************
//****************************************************************************
enum _clickloc { // defines click locations in the scroll bar
DSB_NONE,
DSB_UP,
DSB_DOWN,
DSB_PAGEUP,
DSB_PAGEDOWN,
DSB_THUMB
};
//****************************************************************************
//****************************************************************************
void SbarInit(HWND parent, int SbarID);
void SbarDestroy(HWND parent, int SbarID);
void SbarDraw(HWND parent, int SbarID, int Entries, int Current);
BOOL SbarUpClick(HWND sbar);
int SbarInterpretClick(HWND sbar, int x, int y);