Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/core/include/imgui_backend.hpp

20 lines
384 B
C++
Raw Normal View History

2021-04-20 10:37:56 -04:00
#pragma once
namespace prism {
class imgui_backend {
public:
imgui_backend();
void begin_frame(float delta_time);
void render(int index);
void process_mouse_down(int button);
2021-04-20 10:37:56 -04:00
void process_key_down(unsigned int key_code);
2021-04-20 10:37:56 -04:00
void process_key_up(unsigned int key_code);
private:
bool mouse_buttons[3] = {};
2021-04-20 10:37:56 -04:00
};
}