Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#189 closed bug (fixed)

MUIA_Window_DrawInfo undeclared with latest MUI SDK

Reported by: Guillaume Boesel Owned by: Thore Böckelmann
Priority: normal Milestone: 4.0-2015R2
Component: SDK Version: 4.0-nightly build
Severity: minor Keywords:
Cc: OS Platform: AmigaOS4
Blocked By: Blocking:
Release Notes:



Trying to add image to a MUI menu as in NewStuff.c, I obtain an error "MUIA_Window_DrawInfo undeclared"

I checked in the latest MUI nighty build SDK, and no occurence of this function, except in the NewStuff.c sample (MUI-4.0-20150409r4635-os4.lha)

Expected results

Compilation OK

Actual results

Compilation failed, MUIA_Window_DrawInfo undeclared


I see in the AutoDoc than MUIA_Menuitem_Image allow only to use sysiclass images.
Is it planned to use png or .info like the new OS4FE Contextual menu ?

Thank you

PS : I created the same ticket, just before but I was not logged in. I don't know if you received it, therefore, I recreate one. Sorry.

Change History (4)

comment:1 Changed 5 years ago by Thore Böckelmann

Milestone: 4.0-2015R2
Owner: set to Thore Böckelmann
Priority: undecidednormal
Status: newassigned

comment:2 Changed 5 years ago by Thore Böckelmann

Resolution: fixed
Status: assignedclosed

In 4638:

  • Window.c: made the MUIA_Window_DrawInfo attribute public to allow the NewStuff demo to be build with the public headers. This closes #189.

comment:3 Changed 5 years ago by Thore Böckelmann

The docs refer to "imageclass" and all of its subclasses, "sysiclass" being only one of them. In fact any BOOPSI object which draws itself by calling intuition/DrawImageState(). This means you can even create your own subclass of "imageclass" and do all the fancy drawing yourself. Using "bitmap.image" is possible as well, because it is a subclass of "imageclass".

comment:4 Changed 5 years ago by Thore Böckelmann

Component: Window.muiSDK
Note: See TracTickets for help on using tickets.