mirror of
https://github.com/holub/mame
synced 2025-06-07 13:23:50 +03:00
ui: add mame version to About menu header
This commit is contained in:
parent
d965f83495
commit
2aca5935e0
@ -13,6 +13,8 @@
|
|||||||
#include "ui/about.h"
|
#include "ui/about.h"
|
||||||
#include "ui/ui.h"
|
#include "ui/ui.h"
|
||||||
#include "ui/utils.h"
|
#include "ui/utils.h"
|
||||||
|
|
||||||
|
#include "mame.h"
|
||||||
#include "osdcore.h"
|
#include "osdcore.h"
|
||||||
|
|
||||||
namespace ui {
|
namespace ui {
|
||||||
@ -55,6 +57,10 @@ menu_about::~menu_about()
|
|||||||
|
|
||||||
void menu_about::populate(float &customtop, float &custombottom)
|
void menu_about::populate(float &customtop, float &custombottom)
|
||||||
{
|
{
|
||||||
|
std::string title = string_format(_("%1$s %2$s"), emulator_info::get_appname(), bare_build_version);
|
||||||
|
item_append(title, "", 0, nullptr);
|
||||||
|
item_append(menu_item_type::SEPARATOR);
|
||||||
|
|
||||||
for (char const *const *line = copying_text; *line; ++line)
|
for (char const *const *line = copying_text; *line; ++line)
|
||||||
item_append(*line, "", 0, nullptr);
|
item_append(*line, "", 0, nullptr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user