Euphoria
imguilibrary.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "window/fakesdlevent.h"
4 
5 
6 namespace eu::window
7 {
8  struct SdlOpenglContext;
9 }
10 
11 namespace eu::window::imgui
12 {
13  struct Library
14  {
15  public:
16  Library(SDL_Window* the_window, SdlOpenglContext* context, const std::string& the_path);
17  ~Library();
18 
19  Library(const Library& other) = delete;
20  void operator=(const Library&) = delete;
21  Library(Library&& other) = delete;
22  void operator=(Library&&) = delete;
23  private:
24  std::string path_to_imgui_ini;
25  };
26 
27  void
29 
30  void
32 
33  void
34  imgui_render();
35 }
union SDL_Event SDL_Event
Definition: fakesdlevent.h:4
void send_events_to_imgui(const SDL_Event *event)
Definition: imguilibrary.cc:98
void operator=(Library &&)=delete
Library(Library &&other)=delete
Library(SDL_Window *the_window, SdlOpenglContext *context, const std::string &the_path)
Definition: imguilibrary.cc:66
Library(const Library &other)=delete
void operator=(const Library &)=delete