Author Topic: ViewAdd vs ButtonAdd == Same?  (Read 1464 times)

  • Guest
ViewAdd vs ButtonAdd == Same?
« on: December 23, 2013, 02:27:35 am »
ButtonAdd makes an image with callback id.
ViewAdd makes an image with callback id.

They have identical parameters, so what is the damn difference? (image, x, y, name, id)



  • Jr. Member
  • **
  • Posts: 57
  • Karma: +0/-0
    • View Profile
Re: ViewAdd vs ButtonAdd == Same?
« Reply #1 on: January 31, 2014, 09:04:49 am »
The buttonAdd actualy creates a viewadd with two images associated and a touchstate that updates what image is shown.

You can create a view, then have an on-touch check that uses a viewsetimage, but easier to use buttonadd to create a button-like feature.