Skip to content

Commit

Permalink
[editor] moved all widgets from WidgetsDeferred into Widgets since th…
Browse files Browse the repository at this point in the history
…e separation of the two serves nothing
  • Loading branch information
PanosK92 committed Oct 29, 2024
1 parent 37a4de0 commit 03cd76c
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 19 deletions.
6 changes: 3 additions & 3 deletions editor/ImGui/ImGuiExtension.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#pragma once

//= INCLUDES =============================
//= INCLUDES ======================
#include <string>
#include <variant>
#include "Window.h"
Expand All @@ -34,8 +34,8 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "Display/Display.h"
#include "Source/imgui_internal.h"
#include "../Editor.h"
#include "../WidgetsDeferred/IconLoader.h"
//========================================
#include "../Widgets/IconLoader.h"
//=================================

class EditorHelper
{
Expand Down
6 changes: 3 additions & 3 deletions editor/Widgets/AssetBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

//= INCLUDES =============================
//= INCLUDES =====================
#include "AssetBrowser.h"
#include "Properties.h"
#include "Rendering/Mesh.h"
#include "../WidgetsDeferred/FileDialog.h"
#include "../Widgets/FileDialog.h"
#include "Viewport.h"
//========================================
//================================

//= NAMESPACES =========
using namespace std;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions editor/Widgets/Properties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

//= INCLUDES ====================================
//= INCLUDES ===================================
#include "Properties.h"
#include "Window.h"
#include "../ImGui/ImGuiExtension.h"
#include "../ImGui/Implementation/ImGui_Style.h"
#include "../ImGui/Source/imgui_stdlib.h"
#include "../WidgetsDeferred/ButtonColorPicker.h"
#include "../Widgets/ButtonColorPicker.h"
#include "Core/Engine.h"
#include "World/Entity.h"
#include "World/Components/Renderable.h"
Expand All @@ -37,7 +37,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "World/Components/Terrain.h"
#include "World/Components/Camera.h"
#include "Rendering/Mesh.h"
//===============================================
//==============================================

//= NAMESPACES =========
using namespace std;
Expand Down
6 changes: 3 additions & 3 deletions editor/Widgets/Properties.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#pragma once

//= INCLUDES ====================================
//= INCLUDES ============================
#include "Widget.h"
#include <memory>
#include "../WidgetsDeferred/ButtonColorPicker.h"
//===============================================
#include "../Widgets/ButtonColorPicker.h"
//=======================================

namespace Spartan
{
Expand Down
6 changes: 3 additions & 3 deletions editor/Widgets/ShaderEditor.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

#pragma once

//= INCLUDES =============================
//= INCLUDES =====================
#include "Widget.h"
#include <vector>
#include "../WidgetsDeferred/TextEditor.h"
//========================================
#include "../Widgets/TextEditor.h"
//================================

namespace Spartan
{
Expand Down
File renamed without changes.
File renamed without changes.
7 changes: 3 additions & 4 deletions editor/Widgets/TitleBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

//= INCLUDES =============================
//= INCLUDES =====================
#include "TitleBar.h"
#include "../EditorWindow.h"
#include "Profiler.h"
Expand All @@ -32,13 +32,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "Properties.h"
#include "Viewport.h"
#include "WorldViewer.h"
#include "../WidgetsDeferred/FileDialog.h"
#include "../Widgets/FileDialog.h"
#include "Engine.h"
#include "Profiling/RenderDoc.h"
#include <Debugging.h>
#include "Style.h"
#include <Input/Input.h>
//========================================
//================================

//= NAMESPACES =====
using namespace std;
Expand Down

0 comments on commit 03cd76c

Please sign in to comment.