| 3997 | } |
| 3998 | |
| 3999 | void TextureViewer::on_resourceDetails_clicked() |
| 4000 | { |
| 4001 | TextureDescription *texptr = GetCurrentTexture(); |
| 4002 | |
| 4003 | if(texptr) |
| 4004 | { |
| 4005 | if(!m_Ctx.HasResourceInspector()) |
| 4006 | m_Ctx.ShowResourceInspector(); |
| 4007 | |
| 4008 | m_Ctx.GetResourceInspector()->Inspect(texptr->resourceId); |
| 4009 | |
| 4010 | ToolWindowManager::raiseToolWindow(m_Ctx.GetResourceInspector()->Widget()); |
| 4011 | } |
| 4012 | } |
| 4013 | |
| 4014 | void TextureViewer::on_saveTex_clicked() |
| 4015 | { |
nothing calls this directly
no test coverage detected