mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
build 200126. memory cell-based simulation state interface , time of day slider, minor bug fixes
This commit is contained in:
@@ -255,6 +255,14 @@ eu07_application::set_progress( float const Progress, float const Subtaskprogres
|
||||
m_modes[ m_modestack.top() ]->set_progress( Progress, Subtaskprogress );
|
||||
}
|
||||
|
||||
void
|
||||
eu07_application::set_tooltip( std::string const &Tooltip ) {
|
||||
|
||||
if( m_modestack.empty() ) { return; }
|
||||
|
||||
m_modes[ m_modestack.top() ]->set_tooltip( Tooltip );
|
||||
}
|
||||
|
||||
void
|
||||
eu07_application::set_cursor( int const Mode ) {
|
||||
|
||||
@@ -288,7 +296,16 @@ eu07_application::get_mouse_button( int const Button ) const {
|
||||
|
||||
return glfwGetMouseButton( m_windows.front(), Button );
|
||||
}
|
||||
/*
|
||||
// provides keyboard mapping associated with specified control item
|
||||
std::string
|
||||
eu07_application::get_input_hint( user_command const Command ) const {
|
||||
|
||||
if( m_modestack.empty() ) { return ""; }
|
||||
|
||||
return m_modes[ m_modestack.top() ]->get_input_hint( Command );
|
||||
}
|
||||
*/
|
||||
void
|
||||
eu07_application::on_key( int const Key, int const Scancode, int const Action, int const Mods ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user