Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Editor.cpp File Reference
#include "Headers/Editor.h"
#include "Headers/Utils.h"
#include "Core/Headers/Configuration.h"
#include "Core/Headers/Kernel.h"
#include "Core/Headers/PlatformContext.h"
#include "Core/Headers/StringHelper.h"
#include "Core/Resources/Headers/ResourceCache.h"
#include "ECS/Components/Headers/TransformComponent.h"
#include "Editor/Widgets/DockedWindows/Headers/ContentExplorerWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/NodePreviewWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/OutputWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/PostFXWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/PropertyWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/SceneViewWindow.h"
#include "Editor/Widgets/DockedWindows/Headers/SolutionExplorerWindow.h"
#include "Editor/Widgets/Headers/EditorOptionsWindow.h"
#include "Editor/Widgets/Headers/ImGuiExtensions.h"
#include "Editor/Widgets/Headers/MenuBar.h"
#include "Editor/Widgets/Headers/StatusBar.h"
#include "Graphs/Headers/SceneGraph.h"
#include "Platform/File/Headers/FileManagement.h"
#include "Platform/Video/Buffers/VertexBuffer/GenericBuffer/Headers/GenericVertexData.h"
#include "Platform/Video/Headers/CommandBufferPool.h"
#include "Platform/Video/Headers/IMPrimitive.h"
#include "Platform/Video/Shaders/Headers/ShaderProgram.h"
#include "Platform/Video/Headers/GFXDevice.h"
#include "Platform/Video/Headers/GFXRTPool.h"
#include "Platform/Video/Textures/Headers/Texture.h"
#include "Rendering/Camera/Headers/Camera.h"
#include <IconsForkAwesome.h>
#include <imgui_memory_editor/imgui_memory_editor.h>
#include <imgui_internal.h>

Go to the source code of this file.

Classes

struct  Divide::anonymous_namespace{Editor.cpp}::ImGuiViewportData
 
struct  Divide::ImGuiCustom::ImGuiAllocatorUserData
 

Namespaces

namespace  Divide
 Handle console commands that start with a forward slash.
 
namespace  Divide::anonymous_namespace{Editor.cpp}
 
namespace  Divide::ImGuiCustom
 
namespace  Divide::Util
 
namespace  Divide::Util::detail
 

Functions

void Divide::anonymous_namespace{Editor.cpp}::Reset (Editor::FocusedWindowState &state) noexcept
 
bool Divide::anonymous_namespace{Editor.cpp}::SetFocus (Editor::FocusedWindowState &state) noexcept
 
bool Divide::anonymous_namespace{Editor.cpp}::Hovered (const Editor::FocusedWindowState &state) noexcept
 
bool Divide::anonymous_namespace{Editor.cpp}::Focused (const Editor::FocusedWindowState &state) noexcept
 
FORCE_INLINE void * Divide::ImGuiCustom::MallocWrapper (const size_t size, void *user_data) noexcept
 
FORCE_INLINE void Divide::ImGuiCustom::FreeWrapper (void *ptr, void *user_data) noexcept
 
ImTextureID Divide::to_TexID (Handle< Texture > handle)
 
Handle< Texture > Divide::from_TexID (ImTextureID texID)
 
void Divide::InitBasicImGUIState (ImGuiIO &io) noexcept
 
PushConstantsStruct Divide::IMGUICallbackToPushConstants (const IMGUICallbackData &data, const bool isArrayTexture)
 
void Divide::PushReadOnly (const bool fade)
 
void Divide::PopReadOnly ()
 

Variables

const string Divide::anonymous_namespace{Editor.cpp}::g_editorFontFile { "Roboto-Medium.ttf" }
 
const string Divide::anonymous_namespace{Editor.cpp}::g_editorFontFileBold { "OpenSans-Bold.ttf" }
 
const string Divide::anonymous_namespace{Editor.cpp}::g_editorIconFile { FONT_ICON_FILE_NAME_FK }
 
const string Divide::anonymous_namespace{Editor.cpp}::g_editorSaveFile { "Editor.xml" }
 
const string Divide::anonymous_namespace{Editor.cpp}::g_editorSaveFileBak { "Editor.xml.bak" }
 
WindowManager * Divide::anonymous_namespace{Editor.cpp}::g_windowManager = nullptr
 
IMGUICallbackData Divide::anonymous_namespace{Editor.cpp}::g_modalTextureData
 
static ImGuiMemAllocFunc Divide::ImGuiCustom::g_ImAllocatorAllocFunc = MallocWrapper
 
static ImGuiMemFreeFunc Divide::ImGuiCustom::g_ImAllocatorFreeFunc = FreeWrapper
 
static ImGuiAllocatorUserData Divide::ImGuiCustom::g_ImAllocatorUserData {}
 
static std::stack< bool > Divide::Util::detail::g_readOnlyFaded