mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
Const correctness
This commit is contained in:
parent
b4d9c1753b
commit
4c70483557
@ -880,7 +880,7 @@ void ui_manager::set_show_fps(bool show)
|
||||
// counter visibility state
|
||||
//-------------------------------------------------
|
||||
|
||||
bool ui_manager::show_fps()
|
||||
bool ui_manager::show_fps() const
|
||||
{
|
||||
return m_showfps || (m_showfps_end != 0);
|
||||
}
|
||||
@ -915,7 +915,7 @@ void ui_manager::set_show_profiler(bool show)
|
||||
// profiler visibility state
|
||||
//-------------------------------------------------
|
||||
|
||||
bool ui_manager::show_profiler()
|
||||
bool ui_manager::show_profiler() const
|
||||
{
|
||||
return m_show_profiler;
|
||||
}
|
||||
@ -2312,7 +2312,7 @@ static INT32 slider_crossoffset(running_machine &machine, void *arg, astring *st
|
||||
// whether the natural keyboard is active
|
||||
//-------------------------------------------------
|
||||
|
||||
bool ui_manager::use_natural_keyboard()
|
||||
bool ui_manager::use_natural_keyboard() const
|
||||
{
|
||||
return m_use_natural_keyboard;
|
||||
}
|
||||
|
@ -142,15 +142,15 @@ public:
|
||||
void CLIB_DECL popup_time(int seconds, const char *text, ...);
|
||||
void show_fps_temp(double seconds);
|
||||
void set_show_fps(bool show);
|
||||
bool show_fps(void);
|
||||
bool show_fps() const;
|
||||
bool show_fps_counter();
|
||||
void set_show_profiler(bool show);
|
||||
bool show_profiler();
|
||||
bool show_profiler() const;
|
||||
void show_menu();
|
||||
void show_mouse(bool status);
|
||||
bool is_menu_active();
|
||||
void paste();
|
||||
bool use_natural_keyboard();
|
||||
bool use_natural_keyboard() const;
|
||||
void set_use_natural_keyboard(bool use_natural_keyboard);
|
||||
void image_handler_ingame();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user