-lauto and gadgets/images classes

2 posts / 0 new
Last post
mritter0
mritter0's picture
Offline
Last seen: 2 years 5 months ago
Joined: 2014-04-21 21:15
-lauto and gadgets/images classes

I am used to opening the libraries and classes manually. Now I am using -lauto. Do I have to now switch from

  1. FavoritesLabel=NewObject(LabelClass,NULL,
  2. LABEL_Image, ImgObjects[IMG_NAV_FAVORITES],
  3. LABEL_Text, SAK_LocaleString(MSG_NAV_FAVORITES),
  4. TAG_DONE);

to

  1. FavoritesLabel=NewObject(NULL,"label.image",
  2. LABEL_Image, ImgObjects[IMG_NAV_FAVORITES],
  3. LABEL_Text, SAK_LocaleString(MSG_NAV_FAVORITES),
  4. TAG_DONE);

The change in the NewObject() since I am no longer supplying a pointer to LabelClass, -lauto hasn't done it's thing yet.

Massi
Massi's picture
Offline
Last seen: 4 years 6 months ago
Joined: 2012-03-28 17:16
@mritter0 -lauto is well

@mritter0

-lauto is well explained in the file Migration Guide.pdf (Library Initialization using libauto) included in the SDK (I have 53.20) documentation.

Log in or register to post comments