19 lines
458 B
C++
Executable File
19 lines
458 B
C++
Executable File
#pragma once
|
|
|
|
#define BIT(x)\
|
|
(1 << x)
|
|
|
|
#define VE_EVENT_FN\
|
|
std::bind(&application::on_event, this, std::placeholders::_1)
|
|
|
|
#define VE_FN_OVERIDE()\
|
|
void on_attach() override;\
|
|
void on_detach() override;\
|
|
void render() override;\
|
|
void on_event(VE::event e) override
|
|
|
|
#define VE_PUSH_FONT(def_font, def_size)\
|
|
ImGui::PushFont(VE::style::fonts::get_font(VE::style::fonts::font_type::def_font, def_size))
|
|
#define VE_POP_FONT() ImGui::PopFont()
|
|
|