Remember me

Lost Password?

Register now!
Who's Online
69 user(s) are online (50 user(s) are browsing Forums)

Members: 3
Guests: 66

remotenemesis, kas1e, khayoz, more...
Support us!
Recent OS4 Files
Report message:*

Re: SDL2

Subject: Re: SDL2
by trixie on 2019/4/7 14:57:47

@Capehill, kas1e

If you use a program icon for iconification purposes, you should set the do_CurrentX and do_CurrentY fields in the icon's DiskObject structure to the value of NO_ICON_POSITION. Unless you call PutDiskObject() with the modified DiskObject as parameter, no change will be made to the actual icon on disk, and the icon's original X/Y coordinates will be preserved.

Programs that save their settings as icon tooltypes and, at the same time, use the program icon for iconification purposes, should clone the icon's DiskObject via DupDiskObject(), and only use the clone (with do_CurrentX and do_CurrentY set to NO_ICON_POSITION) for iconification.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project