mirror of
https://github.com/Relintai/sfw.git
synced 2024-11-08 07:52:09 +01:00
Renamed window.h to app_window.h.
This commit is contained in:
parent
ffe5c557e9
commit
7df1e7a0f3
@ -7,7 +7,7 @@
|
|||||||
#include "render_core/keyboard.h"
|
#include "render_core/keyboard.h"
|
||||||
#include "render_core/mesh_utils.h"
|
#include "render_core/mesh_utils.h"
|
||||||
#include "render_immediate/renderer.h"
|
#include "render_immediate/renderer.h"
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
//#include "render_core/font.h"
|
//#include "render_core/font.h"
|
||||||
|
|
||||||
void GameScene::input_event(const Ref<InputEvent> &event) {
|
void GameScene::input_event(const Ref<InputEvent> &event) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// fps locking
|
// fps locking
|
||||||
|
|
||||||
//--STRIP
|
//--STRIP
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
|
|
||||||
#define GLAD_GL_IMPLEMENTATION // glad
|
#define GLAD_GL_IMPLEMENTATION // glad
|
||||||
#include "render_core/3rd_glad.h"
|
#include "render_core/3rd_glad.h"
|
@ -1,6 +1,6 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
#ifndef WINDOW_H
|
#ifndef APP_WINDOW_H
|
||||||
#define WINDOW_H
|
#define APP_WINDOW_H
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
@ -11,7 +11,7 @@
|
|||||||
#include "core/stime.h"
|
#include "core/stime.h"
|
||||||
#include "render_core/input.h"
|
#include "render_core/input.h"
|
||||||
#include "render_core/input_map.h"
|
#include "render_core/input_map.h"
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
|
|
||||||
#include "core/sfw_core.h"
|
#include "core/sfw_core.h"
|
||||||
#include "object/core_string_names.h"
|
#include "object/core_string_names.h"
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
#include "font.h"
|
#include "font.h"
|
||||||
|
|
||||||
#include "window.h"
|
#include "app_window.h"
|
||||||
|
|
||||||
#include "3rd_glad.h"
|
#include "3rd_glad.h"
|
||||||
#define STB_TRUETYPE_IMPLEMENTATION
|
#define STB_TRUETYPE_IMPLEMENTATION
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
#include "render_core/input_map.h"
|
#include "render_core/input_map.h"
|
||||||
#include "render_core/keyboard.h"
|
#include "render_core/keyboard.h"
|
||||||
#include "render_core/texture.h"
|
#include "render_core/texture.h"
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
|
|
||||||
#include "render_core/3rd_glfw3.h"
|
#include "render_core/3rd_glfw3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
#include "core/memory.h"
|
#include "core/memory.h"
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
|
||||||
void Texture::create_from_image(const Ref<Image> &img) {
|
void Texture::create_from_image(const Ref<Image> &img) {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include "render_core/mesh.h"
|
#include "render_core/mesh.h"
|
||||||
#include "render_core/texture.h"
|
#include "render_core/texture.h"
|
||||||
#include "render_core/texture_material_2d.h"
|
#include "render_core/texture_material_2d.h"
|
||||||
#include "render_core/window.h"
|
#include "render_core/app_window.h"
|
||||||
|
|
||||||
#include "render_core/render_state.h"
|
#include "render_core/render_state.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
|
@ -469,7 +469,7 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "render_core/texture.h"
|
//#include "render_core/texture.h"
|
||||||
//#include "core/memory.h"
|
//#include "core/memory.h"
|
||||||
//#include "render_core/window.h"
|
//#include "render_core/app_window.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/render_core/texture.cpp}}
|
{{FILE:sfw/render_core/texture.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
@ -478,7 +478,7 @@
|
|||||||
//#include "core/stime.h"
|
//#include "core/stime.h"
|
||||||
//#include "render_core/input.h"
|
//#include "render_core/input.h"
|
||||||
//#include "render_core/input_map.h"
|
//#include "render_core/input_map.h"
|
||||||
//#include "render_core/window.h"
|
//#include "render_core/app_window.h"
|
||||||
//#include "core/pool_vector.h"
|
//#include "core/pool_vector.h"
|
||||||
//#include "core/string_name.h"
|
//#include "core/string_name.h"
|
||||||
//#include "object/core_string_names.h"
|
//#include "object/core_string_names.h"
|
||||||
@ -502,7 +502,7 @@
|
|||||||
{{FILE:sfw/render_core/mesh.cpp}}
|
{{FILE:sfw/render_core/mesh.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "font.h"
|
//#include "font.h"
|
||||||
//#include "window.h"
|
//#include "app_window.h"
|
||||||
//#include "3rd_glad.h"
|
//#include "3rd_glad.h"
|
||||||
//#include "3rd_stb_truetype.h"
|
//#include "3rd_stb_truetype.h"
|
||||||
//#include "font_data_bm_mini.inc.h"
|
//#include "font_data_bm_mini.inc.h"
|
||||||
@ -574,7 +574,7 @@
|
|||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/render_core/image.cpp}}
|
{{FILE:sfw/render_core/image.cpp}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "render_core/window.h"
|
//#include "render_core/app_window.h"
|
||||||
//#include "render_core/3rd_glad.h"
|
//#include "render_core/3rd_glad.h"
|
||||||
//#include "3rd_glfw3.h"
|
//#include "3rd_glfw3.h"
|
||||||
//#include "core/error_macros.h"
|
//#include "core/error_macros.h"
|
||||||
@ -608,7 +608,7 @@
|
|||||||
//#include "render_core/input_map.h"
|
//#include "render_core/input_map.h"
|
||||||
//#include "render_core/keyboard.h"
|
//#include "render_core/keyboard.h"
|
||||||
//#include "render_core/texture.h"
|
//#include "render_core/texture.h"
|
||||||
//#include "render_core/window.h"
|
//#include "render_core/app_window.h"
|
||||||
//#include "render_core/3rd_glfw3.h"
|
//#include "render_core/3rd_glfw3.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/render_core/input.cpp}}
|
{{FILE:sfw/render_core/input.cpp}}
|
||||||
@ -624,7 +624,7 @@
|
|||||||
//#include "render_core/mesh.h"
|
//#include "render_core/mesh.h"
|
||||||
//#include "render_core/texture.h"
|
//#include "render_core/texture.h"
|
||||||
//#include "render_core/texture_material_2d.h"
|
//#include "render_core/texture_material_2d.h"
|
||||||
//#include "render_core/window.h"
|
//#include "render_core/app_window.h"
|
||||||
//#include "render_core/render_state.h"
|
//#include "render_core/render_state.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/render_immediate/renderer.cpp}}
|
{{FILE:sfw/render_immediate/renderer.cpp}}
|
||||||
|
@ -708,7 +708,7 @@
|
|||||||
//#include "core/int_types.h"
|
//#include "core/int_types.h"
|
||||||
//#include "core/vector2.h"
|
//#include "core/vector2.h"
|
||||||
//--STRIP
|
//--STRIP
|
||||||
{{FILE:sfw/render_core/window.h}}
|
{{FILE:sfw/render_core/app_window.h}}
|
||||||
//--STRIP
|
//--STRIP
|
||||||
//#include "core/int_types.h"
|
//#include "core/int_types.h"
|
||||||
//#include "object/object.h"
|
//#include "object/object.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user