Expand description
This crate makes it easy to build applications with Dear ImGui as their main GUI.
§Features
clipboard(default): clipboard integration, via thearboardcrate.freetype: uselibfreetypefor 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§
- conv
- Helper module to convert between common types.
Structs§
- AppHandler
- Default implementation for
winit::application::ApplicationHandler. - Args
- This type is an aggregate of values retured by
AppHandler. - Event
Flags - These flags can be used to customize the
window_eventfunction. - Event
Result - The result of processing an event in the ImGui loop.
- Future
Back Caller - Local
Proxy - This type is a wrapper for
EventLoopProxythat is notSend. - Main
Window - This type represents a
winitwindow and an OpenGL context. - Main
Window Pieces - Helper struct to call
window_eventwithout owning the Window. - Main
Window Status - This struct maintains basic window info to be kept across events.
- Main
Window With Renderer - This is a
MainWindowplus aRenderer. It is the ultimateeasy-imguiobject. Instead of a literalMainWindowyou can use any type that implementsMainWindowRef. - NoScale
- NewType to disable the HiDPI scaling.
Enums§
- AppEvent
- The main event type to be used with
winit::EventLoop.
Traits§
- Application
- Trait that connects a
UiBuilderwith anAppHandler. - Event
Loop Ext - Helper trait to extend
winit::EventLoopProxywith useful functions. - Main
Window Ref - This traits grants access to a Window.
Functions§
- about_
to_ wait - Corresponds to winit’s
ApplicationHandler::about_to_wait. - new_
events - Corresponds to winit’s
ApplicationHandler::new_events. - window_
event - Corresponds to winit’s
ApplicationHandler::window_event.