protot/3rdparty/imgui_dock_lumix/original/imgui_dock.h

23 lines
520 B
C
Raw Normal View History

#pragma once
namespace Lumix { namespace FS { class OsFile; } }
struct lua_State;
namespace ImGui
{
IMGUI_API void ShutdownDock();
IMGUI_API void RootDock(const ImVec2& pos, const ImVec2& size);
IMGUI_API bool BeginDock(const char* label, bool* opened = nullptr, ImGuiWindowFlags extra_flags = 0, const ImVec2& default_size = ImVec2(-1, -1));
IMGUI_API void EndDock();
IMGUI_API void SetDockActive();
IMGUI_API void SaveDock(Lumix::FS::OsFile& file);
IMGUI_API void LoadDock(lua_State* L);
} // namespace ImGui