An open API service indexing awesome lists of open source software.

https://github.com/jenjinengine/toasty

A Dear ImGui notification system for Jenjin
https://github.com/jenjinengine/toasty

dear-imgui notifications

Last synced: 5 months ago
JSON representation

A Dear ImGui notification system for Jenjin

Awesome Lists containing this project

README

          

# Toasty

A Dear ImGui notification system.

## Usage

```cpp
while (!glfwWindowShouldClose(window)) {
glfwPollEvents();

ImGui_ImplGlfw_NewFrame();
ImGui_ImplOpenGL3_NewFrame();
ImGui::NewFrame();

ImGui::ShowDemoWindow();

ImGui::Begin("Toasted demo");

if (ImGui::Button("Show toast")) {
ImGui::NewToast(Toasty::ToastType::Info, "Hello, world!");
}

ImGui::End();

// Render notifications
ImGui::ToastedRender();

ImGui::Render();
ImGui_ImplOpenGL3_RenderDrawData(ImGui::GetDrawData());
glfwSwapBuffers(window);
}
```

## License

MIT