diff --git a/project/code/TMV/UI/TextureBrowser.cs b/project/code/TMV/UI/TextureBrowser.cs new file mode 100644 index 0000000..0b9d4cf --- /dev/null +++ b/project/code/TMV/UI/TextureBrowser.cs @@ -0,0 +1,91 @@ +using Godot; + +namespace KeepersCompound.TMV.UI; + +public partial class TextureBrowser : Node +{ + private Tree _folderTree; + private LineEdit _searchBar; + private MenuButton _sortMenu; + private Button _openFolderButton; + private MenuButton _browserMenu; + private HFlowContainer _textureList; + private TextureRect _previewTexture; + private LineEdit _texturePath; + + public override void _Ready() + { + // !HACK TEMP + Context.Instance.PathManager.Init("/stuff/Games/thief/drive_c/GOG Games/TG ND 1.27 (MAPPING)/"); + Context.Instance.CampaignName = "TheBlackParade_1_0"; + + _folderTree = GetNode("%FolderTree"); + _searchBar = GetNode("%SearchBar"); + _sortMenu = GetNode("%SortMenu"); + _openFolderButton = GetNode