Jump to content

[SOLVED] setFontPermanent


photo

Recommended Posts

Posted

Hey Unigine,

 

I tried to call "setFontPermanent" on WidgetLabel, but log says:
12:26:02 path:111: Interpreter::parse_extern_class_begin(): unknown "WidgetLabel" class member "setFontPermanent"

 

I'm using latest SDK.

Documentation: https://developer.unigine.com/en/docs/1.0/code/scripting/library/gui/class.widget#setFontPermanent_int

 

Could you please have a look?

 

My .ui file: 

<label pos_y="5" align="overlap" name="serverStatus" export="1"><text>Offline</text></label>

My .h file:

serverStatus.setFontPermanent(-1); 

Greetings & Thanks 

Lars

Posted

Check your engine binaries. This function must exist in the latest SDK.

Posted

Was a binary problem.

I'm sorry :( thanks for fast helping at all-solved.

 

Greetings

Lars

×
×
  • Create New...