Jump to content

Recommended Posts

  • 7 months later...
Posted
hace 1 hora, brianman dijo:

thanks release!

 

do you have any idea for this?

0b2c77747f993d1e2c531d6e19517822.png

// Despues de
		void DisableEnterToken();
// Insertar
		void SetLineHeight(int height);
		int GetLineHeight();

// Despues de
void CGraphicTextInstance::GetTextSize(int* pRetWidth, int* pRetHeight)
{
  	.....
    ....
}

// Insertar
void CGraphicTextInstance::SetLineHeight(int height)
{
	lineHeight = height;
}

int CGraphicTextInstance::GetLineHeight()
{
	return lineHeight;
}

// Despues de (dentro de void CGraphicTextInstance::__Initialize())	
	m_fFontFeather = c_fFontFeather;
// Insertar
	lineHeight = 0;

 

Posted

image.png

Funciona bien en el botón, pero en la uiToolTip no mucho, creo que es algo sobre el renderizado fCurY en CGraphicTextInstance::Render, de todos modos, gracias por compartirlo, intentaré solucionarlo.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

This site uses cookies to enhance your browsing experience and provide relevant content. By continuing to browse, you agree to our We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. and Terms of Use. For more information on how we protect your data, please check our Privacy Policy.