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.
21 lines
465 B
21 lines
465 B
#include "scrollbar.h" |
|
|
|
namespace dvl { |
|
|
|
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
|
|
|