Compare commits
No commits in common. "618dad7df1942ae29b14ed59957610c901870626" and "109ae75fb25206dd66277401024bc3f884efc0a2" have entirely different histories.
618dad7df1
...
109ae75fb2
2 changed files with 0 additions and 54 deletions
|
@ -41,7 +41,6 @@ set(SOURCE_HEADERS
|
||||||
include/gui/menu/menu_data.hpp
|
include/gui/menu/menu_data.hpp
|
||||||
include/characteristic/characteristic.hpp
|
include/characteristic/characteristic.hpp
|
||||||
include/controller.hpp
|
include/controller.hpp
|
||||||
include/gui_data_interface.hpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
set(SOURCE_FILES
|
set(SOURCE_FILES
|
||||||
|
|
|
@ -1,53 +0,0 @@
|
||||||
#ifndef BILLYSHEET_GUI_DATA_INTERFACE_HPP
|
|
||||||
#define BILLYSHEET_GUI_DATA_INTERFACE_HPP
|
|
||||||
|
|
||||||
#include <GLFW/glfw3.h>
|
|
||||||
|
|
||||||
namespace gui {
|
|
||||||
class GuiDataInterface {
|
|
||||||
public:
|
|
||||||
GuiDataInterface() noexcept = default;
|
|
||||||
|
|
||||||
virtual ~GuiDataInterface() noexcept = default;
|
|
||||||
|
|
||||||
virtual void key_callback(GLFWwindow *window, int key, int scancode, int action, int mods) = 0;
|
|
||||||
|
|
||||||
virtual void character_callback(GLFWwindow *window, unsigned int codepoint) = 0;
|
|
||||||
|
|
||||||
virtual void cursor_position_callback(GLFWwindow *window, double xpos, double ypos) = 0;
|
|
||||||
|
|
||||||
virtual void cursor_enter_callback(GLFWwindow *window, int entered) = 0;
|
|
||||||
|
|
||||||
virtual void mouse_button_callback(GLFWwindow *window, int button, int action, int mods) = 0;
|
|
||||||
|
|
||||||
virtual void scroll_callback(GLFWwindow *window, double xoffset, double yoffset) = 0;
|
|
||||||
|
|
||||||
virtual void joystick_callback(int jid, int event) = 0;
|
|
||||||
|
|
||||||
virtual void drop_callback(GLFWwindow *window, int count, const char **paths) = 0;
|
|
||||||
|
|
||||||
virtual void window_close_callback(GLFWwindow *window) = 0;
|
|
||||||
|
|
||||||
virtual void window_size_callback(GLFWwindow *window, int width, int height) = 0;
|
|
||||||
|
|
||||||
virtual void framebuffer_size_callback(GLFWwindow *window, int width, int height) = 0;
|
|
||||||
|
|
||||||
virtual void window_content_scale_callback(GLFWwindow *window, float xscale, float yscale) = 0;
|
|
||||||
|
|
||||||
virtual void window_pos_callback(GLFWwindow *window, int xpos, int ypos) = 0;
|
|
||||||
|
|
||||||
virtual void window_iconify_callback(GLFWwindow *window, int iconified) = 0;
|
|
||||||
|
|
||||||
virtual void window_maximize_callback(GLFWwindow *window, int maximized) = 0;
|
|
||||||
|
|
||||||
virtual void window_focus_callback(GLFWwindow *window, int focused) = 0;
|
|
||||||
|
|
||||||
virtual void window_refresh_callback(GLFWwindow *window) = 0;
|
|
||||||
|
|
||||||
virtual void error_callback(int error, const char *message) = 0;
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif //BILLYSHEET_GUI_DATA_INTERFACE_HPP
|
|
Loading…
Add table
Add a link
Reference in a new issue