Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
200 user(s) are online (135 user(s) are browsing Forums)

Members: 2
Guests: 198

VooDoo, sailor, more...

Headlines

 
  Register To Post  

« 1 (2)
Re: Use of Glow icon as Picture in a MUI program
Just popping in
Just popping in


See User information
Quote:
1) I'm trying to use a Glow icon as source of a DTPic picture in a program but it fails to show.


That can only work if you have a suitable datatype for Glow icons installed. Hence the appropriate name "Dtpic".

Quote:
But in the AboutBox (AboutBox MUI class) the glow icon is well showed !


This works, because the icon as accessed as exactly this: an icon, not an arbitrary image file to be loaded via datatypes.library.

Go to top
Re: Use of Glow icon as Picture in a MUI program
Just can't stay away
Just can't stay away


See User information
Thank you Thore for your reply.

But in AboutBox which method do you use ?

GetIconTags, LayoutIcon, IconControl
followed by an
ImageObject, MUIA_Image_OldImage

or another method ?
thank you

Go to top
Re: Use of Glow icon as Picture in a MUI program
Just popping in
Just popping in


See User information
Quote:
But in AboutBox which method do you use ?

GetIconTags, LayoutIcon, IconControl
followed by an
ImageObject, MUIA_Image_OldImage

or another method ?


Icons are loaded with GetIconTags() and drawn with DrawIconState(). All this is encapsulated in a private subclass of Area.mui.

Go to top
Re: Use of Glow icon as Picture in a MUI program
Just can't stay away
Just can't stay away


See User information
Thank you Thore,
now, therefore I have to learn how to use rastport with MUI.


Go to top

  Register To Post
« 1 (2)

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project