mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
// license:BSD-3-Clause
|
|
// copyright-holders:Nathan Woods
|
|
/***************************************************************************
|
|
|
|
ui/filemngr.h
|
|
|
|
MESS's clunky built-in file manager
|
|
|
|
***************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#ifndef __UI_FILEMNGR_H__
|
|
#define __UI_FILEMNGR_H__
|
|
|
|
class ui_menu_file_manager : public ui_menu {
|
|
public:
|
|
std::string current_directory;
|
|
std::string current_file;
|
|
device_image_interface *selected_device;
|
|
|
|
static void force_file_manager(running_machine &machine, render_container *container, const char *warnings);
|
|
|
|
ui_menu_file_manager(running_machine &machine, render_container *container, const char *warnings);
|
|
virtual ~ui_menu_file_manager();
|
|
virtual void populate() override;
|
|
virtual void handle() override;
|
|
virtual void custom_render(void *selectedref, float top, float bottom, float x, float y, float x2, float y2) override;
|
|
|
|
void fill_image_line(device_image_interface *img, std::string &instance, std::string &filename);
|
|
|
|
private:
|
|
std::string m_warnings;
|
|
bool m_curr_selected;
|
|
};
|
|
|
|
#endif /* __UI_FILEMNGR_H__ */
|