16
Technical forum / Problems with static controls
« on: November 23, 2009, 04:55:18 PM »
Hi!
The problem described is in this example in comments:
Where is the my mistake?
The problem described is in this example in comments:
Code: [Select]
mSym = mBox.CreateStatic();
mSym.SetFont("fonts\sylfaen.font");
mSym.SetImage("gamegraphics\sparkle.png");
mSym.X = SomeX; // Yeah, it works :)
mSym.Text = "Some text"; // Such as described above
mSym.SizeToFit(); // It works too
mSym.Visible = true; // I think it works
mSym.Movable = true; // I think it works
mSym.Colorable = true; // I think it works
mSym.Scalable = true; // I think it works
mSym.BlendMode = 1; // Have not any effect, text and image shows as usual
mSym.AlphaColor = MakeRGBA(255, 255, 255, 128); // Have not any effect, text and image shows as usual
mSym.Scale = 150; // Have not any effect, text and image shows as usual
Where is the my mistake?