mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-10 02:41:39 -10:00
* Difficulty indicator improvements 1. Clean up positioning code. 2. Do not show for non-save portraits. 3. Remove `vecDifficultyIndicators` - render the items on the fly instead
19 lines
492 B
C++
19 lines
492 B
C++
#pragma once
|
|
|
|
#include "DiabloUI/ui_item.h"
|
|
#include "engine/clx_sprite.hpp"
|
|
|
|
namespace devilution {
|
|
|
|
const Uint16 DialogButtonWidth = 110;
|
|
const Uint16 DialogButtonHeight = 28;
|
|
|
|
void LoadDialogButtonGraphics();
|
|
void FreeDialogButtonGraphics();
|
|
ClxSprite ButtonSprite(bool pressed);
|
|
void RenderButton(const UiButton &button);
|
|
bool HandleMouseEventButton(const SDL_Event &event, UiButton *button);
|
|
void HandleGlobalMouseUpButton(UiButton *button);
|
|
|
|
} // namespace devilution
|