devilutionX/Source/panels/info_box.hpp
Gleb Mazovetskiy 1519e995cf Move store graphics out of stores.cpp
These graphics are used in various places outside of `stores.cpp`.
2022-01-30 14:56:04 +01:00

25 lines
516 B
C++

#pragma once
#include "engine/cel_sprite.hpp"
#include "utils/stdcompat/optional.hpp"
namespace devilution {
/**
* @brief Info box frame
*
* Used in stores, the quest log, the help window, and the unique item info window.
*/
extern std::optional<CelSprite> pSTextBoxCels;
/**
* @brief Info box scrollbar graphics.
*
* Used in stores and `DrawDiabloMsg`.
*/
extern std::optional<CelSprite> pSTextSlidCels;
void InitInfoBoxGfx();
void FreeInfoBoxGfx();
} // namespace devilution