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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "DiabloUI/ui_item.h"
|
|
|
|
|
#include "engine/pcx_sprite.hpp"
|
|
|
|
|
|
|
|
|
|
namespace devilution {
|
|
|
|
|
|
|
|
|
|
const Uint16 DialogButtonWidth = 110;
|
|
|
|
|
const Uint16 DialogButtonHeight = 28;
|
|
|
|
|
|
|
|
|
|
void LoadDialogButtonGraphics();
|
|
|
|
|
void FreeDialogButtonGraphics();
|
|
|
|
|
PcxSprite ButtonSprite(bool pressed);
|
|
|
|
|
void RenderButton(UiButton *button);
|
|
|
|
|
bool HandleMouseEventButton(const SDL_Event &event, UiButton *button);
|
|
|
|
|
void HandleGlobalMouseUpButton(UiButton *button);
|
|
|
|
|
|
|
|
|
|
} // namespace devilution
|