Happy B-day, Dualnames and FSI!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menuinfo.Surface.DrawImage(100, 100, 6);
function dialog_options_render(DialogOptionsRenderingInfo *info)
{
// Clear the area
info.Surface.Clear();
// Draw border
...
// Fill transparent background
DynamicSprite * ds = DynamicSprite.Create(info.Surface.Width, info.Surface.Height, true);
DrawingSurface * sf = ds.GetDrawingSurface();
sf.DrawingColor = Game.GetColorFromRGB(0, 0, 0);
sf.DrawRectangle(1, 1, info.Surface.Width - 2, info.Surface.Height - 2);
info.Surface.DrawImage(0, 0, ds.Graphic, 50);
sf.Release();
ds.Delete();
// Render all the options that are enabled
...
}
By continuing to use this site you agree to the use of cookies. Please visit this page to see exactly how we use these.
Page created in 0.566 seconds with 21 queries.