Crate easy_imgui_window
source ·Expand description
This crate makes it easy to build applications with Dear ImGui as their main GUI.
§Features
clipboard
(default): clipboard integration, via thearboard
crate.freetype
: uselibfreetype
for TTF font loading. It requires a precompiled native FreeType shared library.
Re-exports§
pub use easy_imgui;
pub use easy_imgui_renderer;
pub use easy_imgui_sys;
pub use glutin;
pub use winit;
Modules§
Structs§
- These flags can be used to customize the
do_event
function. - The result of processing an event in the ImGui loop.
- This type represents a
winit
window and an OpenGL context. - This struct handles the main loop going to idle when there is no user input for a while.
- Helper struct to call
do_event
without owning the Window. - This struct maintains basic window info to be kept across events.
- This is a
MainWindow
plus aRenderer
. It is the ultimateeasy-imgui
object. Instead of a literalMainWindow
you can use any type that implementsMainWindowRef
.
Traits§
- This traits grants access to a Window.
Functions§
- Just like
MainWindowWithRenderer::do_event
but using all the pieces separately.