ADV_EXCHANGE!

09/12/2016 13:10 jericho2nd#1
how to fix this? [Only registered and activated users can see links. Click Here To Register...]
09/12/2016 13:35 Rhyder`#2
I'm not sure if this one is your problem or maybe tooltip:

- you need to render ExchangeArrow texture at CWndListBox::OnDraw
example:
Code:
CPoint pt(10, 5);
				CTexture *pArrow = CWndBase::m_textureMng.AddTexture(p2DRender->m_pd3dDevice, MakePath(DIR_THEME, "ExchangeArrow.tga"), 0xFFFF0000);
pArrow->Render(p2DRender, pt);
- if your problem is tooltip then use/call this g_WndMng.PutToolTip_Item
09/12/2016 14:19 jericho2nd#3
Quote:
Originally Posted by jayjei14 View Post
I'm not sure if this one is your problem or maybe tooltip:

- you need to render ExchangeArrow texture at CWndListBox::OnDraw
example:
Code:
CPoint pt(10, 5);
				CTexture *pArrow = CWndBase::m_textureMng.AddTexture(p2DRender->m_pd3dDevice, MakePath(DIR_THEME, "ExchangeArrow.tga"), 0xFFFF0000);
pArrow->Render(p2DRender, pt);
- if your problem is tooltip then use/call this g_WndMng.PutToolTip_Item
btw thanks for this but my problem is the color of the price and font size of price
09/12/2016 14:42 Rhyder`#4
then change the font color of rendered textout >.>

example:
m_p2DRender->TextOut(540 - size.cx, 395 - size.cy, szTemp, D3DCOLOR_ARGB(255, 255, 219, 111));