summaryrefslogtreecommitdiff
diff options
authorAndrea Azzarone <azzaronea@gmail.com>2012-10-24 17:01:10 +0200
committerAndrea Azzarone <azzaronea@gmail.com>2012-10-24 17:01:10 +0200
commit648ef61300f34234ec160bb1a93d109f6f29397d (patch)
tree4c9a6936214c5049cf418e8b3fa7f583a9498f9b
parentccc68c08f423dc9a8d131b9fb31a5e22031fe33f (diff)
Remove blurred_icon and prelight_cache loading in ResultRenderTile ctor.
(bzr r2866.5.1)
-rw-r--r--dash/ResultRendererTile.cpp7
-rw-r--r--dash/ResultRendererTile.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/dash/ResultRendererTile.cpp b/dash/ResultRendererTile.cpp
index e870c8f1f..d4948d89f 100644
--- a/dash/ResultRendererTile.cpp
+++ b/dash/ResultRendererTile.cpp
@@ -66,13 +66,6 @@ ResultRendererTile::ResultRendererTile(NUX_FILE_LINE_DECL)
gchar* tmp1 = (gchar*)g_base64_decode("VU5JVFlfTkVLTw==", &tmp);
neko = (g_getenv(tmp1));
g_free (tmp1);
-
- // pre-load the highlight texture
- // try and get a texture from the texture cache
- TextureCache& cache = TextureCache::GetDefault();
- prelight_cache_ = cache.FindTexture("ResultRendererTile.PreLightTexture",
- style.GetTileIconHightlightWidth(), style.GetTileIconHightlightHeight(),
- sigc::mem_fun(this, &ResultRendererTile::DrawHighlight));
}
void ResultRendererTile::Render(nux::GraphicsEngine& GfxContext,
diff --git a/dash/ResultRendererTile.h b/dash/ResultRendererTile.h
index b2b188226..be7e18aa2 100644
--- a/dash/ResultRendererTile.h
+++ b/dash/ResultRendererTile.h
@@ -37,7 +37,6 @@ namespace dash
typedef nux::ObjectPtr<nux::BaseTexture> BaseTexturePtr;
BaseTexturePtr text;
BaseTexturePtr icon;
- BaseTexturePtr blurred_icon;
BaseTexturePtr prelight;
int slot_handle;