Reply to thread

You can also have a control in your skin like

[CODE]

    <control>

      <description>Placeholder</description>

      <type>image</type>

      <id>123456</id>

      <width>960</width>

      <height>720</height>

    </control>

[/CODE]

 

and in code:

[CODE]

            GUIControl cntrol = GetControl(123456);

            if (cntrol != null)

            {

                Point loc= new Point(cntrol.XPosition, cntrol.YPosition);

                int w = cntrol.Width;

                int h = cntrol.Height;

                //image drawing here at loc, w,h

            }

[/CODE]


Top Bottom