gnome-games r8146 - trunk/aisleriot



Author: jclinton
Date: Tue Oct 21 19:45:13 2008
New Revision: 8146
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8146&view=rev

Log:
Added aisleriot_card_cache_get_slot_texture

Modified:
   trunk/aisleriot/card-cache.c
   trunk/aisleriot/card-cache.h

Modified: trunk/aisleriot/card-cache.c
==============================================================================
--- trunk/aisleriot/card-cache.c	(original)
+++ trunk/aisleriot/card-cache.c	Tue Oct 21 19:45:13 2008
@@ -256,6 +256,15 @@
                                                       highlighted);
 }
 
+CoglHandle
+aisleriot_card_cache_get_slot_texture (AisleriotCardCache *cache,
+                                       gboolean highlighted)
+{
+  return aisleriot_card_cache_get_card_texture_by_id (cache,
+                                                      GAMES_CARD_SLOT,
+                                                      highlighted);
+}
+
 static void
 aisleriot_card_cache_unref_images (AisleriotCardCache *cache)
 {

Modified: trunk/aisleriot/card-cache.h
==============================================================================
--- trunk/aisleriot/card-cache.h	(original)
+++ trunk/aisleriot/card-cache.h	Tue Oct 21 19:45:13 2008
@@ -73,6 +73,8 @@
                                                  (AisleriotCardCache *cache,
                                                   guint card_id,
                                                   gboolean highlighted);
+CoglHandle aisleriot_card_cache_get_slot_texture (AisleriotCardCache *cache,
+                                                  gboolean highlighted);
 
 void aisleriot_card_cache_clear (AisleriotCardCache *cache);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]