Browse Source

🧹 DiabloUI/selyesno.cpp: Move to anonymous namespace

pull/1569/head
Gleb Mazovetskiy 5 years ago committed by Anders Jenbo
parent
commit
9468b1da58
  1. 3
      Source/DiabloUI/selyesno.cpp
  2. 3
      Source/DiabloUI/selyesno.h

3
Source/DiabloUI/selyesno.cpp

@ -5,6 +5,7 @@
#include "DiabloUI/text.h"
namespace devilution {
namespace {
bool selyesno_endMenu;
bool selyesno_value;
@ -45,6 +46,8 @@ void selyesno_Esc()
selyesno_endMenu = true;
}
} // namespace
bool UiSelHeroYesNoDialog(const char *title, const char *body)
{
LoadBackgroundArt("ui_art\\black.pcx");

3
Source/DiabloUI/selyesno.h

@ -3,8 +3,5 @@
namespace devilution {
bool UiSelHeroYesNoDialog(const char *title, const char *body);
void selyesno_Free();
void selyesno_Select(int value);
void selyesno_Esc();
} // namespace devilution

Loading…
Cancel
Save