Merge pull request #3 from pietro1991-dot/devin/1781637154-fix-objprop-bold
Co-authored-by: Pietro Giacobazzi <giacobazzipietro@gmail.com> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
@@ -191,8 +191,7 @@ void Lbl(string n,string t,int x,int y,int fs,color c,bool b)
|
||||
ObjectSetInteger(0,o,OBJPROP_YDISTANCE,y);
|
||||
ObjectSetInteger(0,o,OBJPROP_CORNER,CORNER_LEFT_UPPER);
|
||||
ObjectSetString(0,o,OBJPROP_TEXT,t);
|
||||
ObjectSetString(0,o,OBJPROP_FONT,"Consolas");
|
||||
ObjectSetInteger(0,o,OBJPROP_BOLD,b?1:0);
|
||||
ObjectSetString(0,o,OBJPROP_FONT,b?"Consolas Bold":"Consolas");
|
||||
ObjectSetInteger(0,o,OBJPROP_FONTSIZE,fs);
|
||||
ObjectSetInteger(0,o,OBJPROP_COLOR,c);
|
||||
ObjectSetInteger(0,o,OBJPROP_BACK,false);
|
||||
|
||||
Reference in New Issue
Block a user