header cleanup
This commit is contained in:
1 parent
a670142490
commit
6e5d73c639
33 files changed
+72
-46
No files matched your search
+2
-2
@@ -1,7 +1,6 @@
|
||||
#include "file.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <cstring>
|
||||
|
||||
namespace anm2ed::util
|
||||
{
|
||||
@@ -16,7 +15,8 @@ namespace anm2ed::util
|
||||
#ifdef _WIN32
|
||||
std::wstring wideMode{};
|
||||
if (mode)
|
||||
wideMode.assign(mode, mode + std::strlen(mode));
|
||||
for (auto character = mode; *character; ++character)
|
||||
wideMode.push_back((wchar_t)*character);
|
||||
else
|
||||
wideMode = L"rb";
|
||||
handle = _wfopen(path.native().c_str(), wideMode.c_str());
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include "constants.hpp"
|
||||
#include "draw.hpp"
|
||||
#include "input.hpp"
|
||||
#include "layout.hpp"
|
||||
#include "multiselect.hpp"
|
||||
#include "popup.hpp"
|
||||
#include "selectable.hpp"
|
||||
#include "shortcut.hpp"
|
||||
#include "theme.hpp"
|
||||
#include "tooltip.hpp"
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "popup.hpp"
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <imgui/imgui.h>
|
||||
|
||||
#include "types.hpp"
|
||||
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
#include "path.hpp"
|
||||
|
||||
#include <SDL3/SDL_filesystem.h>
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <cwctype>
|
||||
#include <filesystem>
|
||||
|
||||
+3
-2
@@ -1,6 +1,7 @@
|
||||
#include "sdl.hpp"
|
||||
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_filesystem.h>
|
||||
#include <SDL3/SDL_stdinc.h>
|
||||
|
||||
#include "path.hpp"
|
||||
|
||||
@@ -14,4 +15,4 @@ namespace anm2ed::util::sdl
|
||||
SDL_free(sdlPath);
|
||||
return filePath;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user