private string DrawRefreshScreenshotButton(string dataPath)
{
var isCached = _textureDatabase.isCached (dataPath);
// Refresh
_colorStack.Push ((isCached) ? ColorPalette.SnapshotRefreshButton_ON : ColorPalette.SnapshotRefreshButton_OFF);
if (GUILayout.Button (GetContent("Refresh", TooltipSet.SCREENSHOT_REFRESH_BUTTON_TOOLTIP), _column1)) {
var exist = _textureDatabase.RefreshCache (dataPath);
if (!exist)
dataPath = "";
}
_colorStack.Pop ();
return dataPath;
}