This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Urho3D/Resource/Image.h> | |
#include <vector> | |
#include <set> | |
#include <windows.h> | |
#include <shlobj.h> | |
#include <Urho3D/DebugNew.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "ImSequencer.h" | |
#include "imgui.h" | |
#include "imgui_internal.h" | |
#include <vector> | |
namespace ImSequencer | |
{ | |
struct ScrollBarInfo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool BitField(const char* label, unsigned* bits, unsigned* hoverIndex) | |
{ | |
unsigned val = *bits; | |
ImGuiWindow* window = GetCurrentWindow(); | |
if (window->SkipItems) | |
return false; | |
unsigned oldFlags = window->Flags; | |
ImGuiContext* g = ImGui::GetCurrentContext(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vmath = float, vector, matrix | |
// matrix = float3x3 or float4x4 | |
// scalar = float, vector | |
// vector = float2, float3, float4 | |
// any = int, float, float2, float3, float4, matrix, bool, object | |
//====================================================== | |
// basic math | |
//====================================================== | |
vmath radians(vmath value); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "../Precompiled.h" | |
#include "../AngelScript/Addons.h" | |
#include "../AngelScript/Script.h" | |
#include "../Math/Color.h" | |
#include "../Math/Vector2.h" | |
#include "../Math/Vector3.h" | |
#include "../Math/Vector4.h" | |
#include <AngelScript\angelscript.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Vector2 into Vector2 swizzles | |
public static Vector2 XX(this Vector2 v) { return new Vector2(v.X, v.X); } | |
public static Vector2 YX(this Vector2 v) { return new Vector2(v.Y, v.X); } | |
public static Vector2 YY(this Vector2 v) { return new Vector2(v.Y, v.Y); } | |
// Vector2 into Vector3 swizzles | |
public static Vector3 XXX(this Vector2 v) { return new Vector3(v.X, v.X, v.X); } | |
public static Vector3 XXY(this Vector2 v) { return new Vector3(v.X, v.X, v.Y); } | |
public static Vector3 XYX(this Vector2 v) { return new Vector3(v.X, v.Y, v.X); } | |
public static Vector3 XYY(this Vector2 v) { return new Vector3(v.X, v.Y, v.Y); } | |
public static Vector3 YXX(this Vector2 v) { return new Vector3(v.Y, v.X, v.X); } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// only included in case some of the ctx weirdness needs explanation | |
using System; | |
using System.Collections.ObjectModel; | |
using System.IO; | |
using System.Linq; | |
namespace SprueKit.Data | |
{ | |
// When we have a broken path have to have a means to fix it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// While null it will automatically check to seek out | |
/// </summary> | |
/// <typeparam name="T">Type of the object we we to acquire</typeparam> | |
public class IOCDependency<T> where T : class | |
{ | |
public delegate void DependencyResolved(IOCDependency<T> self); | |
public event DependencyResolved DependencyResolvedHandler = delegate { }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "UrhoResourceCache.h" | |
#include <Urho3D/Core/Context.h> | |
#include <Urho3D/IO/FileSystem.h> | |
#include <Urho3D/Resource/ResourceCache.h> | |
#include <Urho3D/Core/StringUtils.h> | |
using namespace Urho3D; | |
namespace UrhoEditor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "IMWidget.h" | |
#include <QAction> | |
#include <QApplication> | |
#include <QClipboard> | |
#include <QComboBox> | |
#include <QImage> | |
#include <QItemDelegate> | |
#include <QListWidget> | |
#include <QPainter> |