This crate provides support functions to simplify integrating imgui-rs with glutin.
Using the library
In your initialization code call configure_keys
:
# extern crate imgui;
# extern crate imgui_glutin_support;
use ImGui;
#
In your main loop you should already be retrieving events from glutin and handling them. All
you need to do is pass each event to imgui_glutin_support
as well:
# extern crate glutin;
# extern crate imgui;
# extern crate imgui_glutin_support;
# use EventsLoop;
# use ImGui;
#
Advanced use cases
In more advanced use cases you might want to handle and filter events yourself and call some of the various smaller helper functions exported by the library.
For example, you might want to customize mouse wheel line scrolling amount:
# extern crate glutin;
# extern crate imgui;
# extern crate imgui_glutin_support;
# use ;
# use ImGui;
#