Jump to content
Sign in to follow this  
Johan™

[C++ & Python] \n en Python

Recommended Posts

hace 1 hora, brianman dijo:

thanks release!

 

do you have any idea for this?

Debes iniciar sesión para ver el contenido del enlace en esta publicación.

// 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;

 

Share this post


Link to post
Share on other sites

Thanks !!!

 

Debes iniciar sesión para ver el contenido del archivo adjunto en esta publicación.

 

 

In black, however, it writes long and the size of the thinboard does not change

Share this post


Link to post
Share on other sites
OSP    0

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.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...