diff GUI/UI/UIGuilds.cpp @ 2573:0c67be4ec900

DrawTextureIndexed renamed to DrawTextureTransparentColorKey Changing more class Texture to class Image.
author a.parshin
date Sat, 05 Mar 2016 16:25:53 +0200
parents a902abdfc7f2
children a76d408c5132
line wrap: on
line diff
--- a/GUI/UI/UIGuilds.cpp	Sat Mar 05 01:51:54 2016 +0200
+++ b/GUI/UI/UIGuilds.cpp	Sat Mar 05 16:25:53 2016 +0200
@@ -6,6 +6,8 @@
 
 #include "Engine/Engine.h"
 
+#include "GUI/UI/UIShops.h"
+
 #include "..\../Engine/Objects/Items.h"
 #include "..\../GUI/GUIWindow.h"
 #include "..\../Engine/texts.h"
@@ -157,7 +159,7 @@
   }
   if ( dialog_menu_id == HOUSE_DIALOGUE_GUILD_BUY_BOOKS ) //buy skill
   {
-    pRenderer->DrawTextureIndexed(8, 8, ShopTexture);
+    pRenderer->DrawTextureAlphaNew(8/640.0f, 8/480.0f, shop_ui_background);
     v6 = 0;
     v62 = 0;
     for ( pX = 32; pX < 452; pX += 70 )//расположение в верхнем ряду