Const correctness

This commit is contained in:
Nathan Woods 2014-01-30 12:15:22 +00:00
parent b4d9c1753b
commit 4c70483557
2 changed files with 6 additions and 6 deletions

View File

@ -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;
}

View File

@ -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();