Cemu/src/gui/windows/TextureRelationViewer/TextureRelationWindow.h
2022-08-22 22:21:23 +02:00

31 lines
No EOL
856 B
C++

#pragma once
#include <wx/wx.h>
class TextureRelationViewerWindow : public wxFrame
{
public:
TextureRelationViewerWindow(wxFrame& parent);
~TextureRelationViewerWindow();
void OnCloseButton(wxCommandEvent& event);
void OnRefreshButton(wxCommandEvent& event);
void OnCheckbox(wxCommandEvent& event);
void OnClose(wxCloseEvent& event);
void RefreshTextureList();
void OnTextureListRightClick(wxMouseEvent& event);
void Close();
private:
wxDECLARE_EVENT_TABLE();
void _setTextureRelationListItemTexture(wxListCtrl* uiList, sint32 rowIndex, struct LatteTextureInformation* texInfo);
void _setTextureRelationListItemView(wxListCtrl* uiList, sint32 rowIndex, struct LatteTextureInformation* texInfo, struct LatteTextureViewInformation* viewInfo);
bool showOnlyActive;
bool showTextureViews;
};
void openTextureViewer(wxFrame& parentFrame);