Author Topic: Draw a box  (Read 225 times)

Dal1980

  • Full Member
  • ***
  • Posts: 38
    • View Profile
Draw a box
« on: July 07, 2018, 05:02:54 AM »
I'm not being stupid right, you can't actually draw a box in AM?  ???

Draw a box
Colour the BG using set_bg_rgb(#,#,#)
Access standard properties like mybox.x and mybox.y

add_text() is the closest I've found but this does not have .x and .y properties for some reason

Surely I'm missing something  :-\

zpaolo11x

  • Sr. Member
  • ****
  • Posts: 173
    • View Profile
Re: Draw a box
« Reply #1 on: July 07, 2018, 07:41:39 AM »
create a 1 pixel white png and use that, you can set the rgb values to make it the color you want

Dal1980

  • Full Member
  • ***
  • Posts: 38
    • View Profile
Re: Draw a box
« Reply #2 on: July 07, 2018, 11:43:00 AM »
Cool, nice one zpaolo11x, thanks  :)