Tatooine
imgui_api_backend.h
Go to the documentation of this file.
1#ifndef TATOOINE_GL_IMGUI_API_BACKEND_H
2#define TATOOINE_GL_IMGUI_API_BACKEND_H
3//==============================================================================
6#include <chrono>
7#include "window_listener.h"
8//==============================================================================
9namespace tatooine::gl {
10//==============================================================================
13 static std::chrono::time_point<std::chrono::system_clock> time;
14 //----------------------------------------------------------------------------
17 //----------------------------------------------------------------------------
22 void on_cursor_moved(double x, double y) ;
23 void on_resize(int width, int height) ;
24 void on_mouse_wheel(int dir);
25 void new_frame();
26};
27//==============================================================================
28} // namespace tatooine::gl
29//==============================================================================
30#endif
Definition: ansiformat.h:6
button
Definition: mouse.h:8
key
Definition: keyboard.h:9
Definition: imgui_api_backend.h:11
static imgui_api_backend & instance()
void on_resize(int width, int height)
static std::chrono::time_point< std::chrono::system_clock > time
Definition: imgui_api_backend.h:13
void on_cursor_moved(double x, double y)