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.
22 lines
481 B
22 lines
481 B
|
7 years ago
|
#pragma once
|
||
|
|
|
||
|
|
#include "DiabloUI/art.h"
|
||
|
|
#include "DiabloUI/ui_item.h"
|
||
|
|
|
||
|
5 years ago
|
namespace devilution {
|
||
|
7 years ago
|
|
||
|
|
extern Art SmlButton;
|
||
|
|
void LoadSmlButtonArt();
|
||
|
|
inline void UnloadSmlButtonArt()
|
||
|
|
{
|
||
|
|
SmlButton.Unload();
|
||
|
|
}
|
||
|
6 years ago
|
const Uint16 SML_BUTTON_WIDTH = 110;
|
||
|
|
const Uint16 SML_BUTTON_HEIGHT = 28;
|
||
|
7 years ago
|
|
||
|
|
void RenderButton(UiButton *button);
|
||
|
|
bool HandleMouseEventButton(const SDL_Event &event, UiButton *button);
|
||
|
|
void HandleGlobalMouseUpButton(UiButton *button);
|
||
|
|
|
||
|
5 years ago
|
} // namespace devilution
|