You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
485 B
23 lines
485 B
#include "scrollbar.h" |
|
|
|
namespace devilution { |
|
|
|
Art ArtScrollBarBackground; |
|
Art ArtScrollBarThumb; |
|
Art ArtScrollBarArrow; |
|
|
|
void LoadScrollBar() |
|
{ |
|
LoadArt("ui_art\\sb_bg.pcx", &ArtScrollBarBackground); |
|
LoadArt("ui_art\\sb_thumb.pcx", &ArtScrollBarThumb); |
|
LoadArt("ui_art\\sb_arrow.pcx", &ArtScrollBarArrow, 4); |
|
} |
|
|
|
void UnloadScrollBar() |
|
{ |
|
ArtScrollBarArrow.Unload(); |
|
ArtScrollBarThumb.Unload(); |
|
ArtScrollBarBackground.Unload(); |
|
} |
|
|
|
} // namespace devilution
|
|
|