PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Marc van Cauwenberghe on October 02, 2012, 03:39:09 PM

Title: new graphics control
Post by: Marc van Cauwenberghe on October 02, 2012, 03:39:09 PM
Hi,

is it possible to have a few more examples of using the new graphics control in FF. something like loading a jpg, showing it and moving it.

Thanks
Title: Re: new graphics control
Post by: Marc van Cauwenberghe on October 04, 2012, 04:31:10 PM
Anyone?  :( :'(
Title: Re: new graphics control
Post by: José Roca on October 04, 2012, 05:32:49 PM
You can use GDI and/or GDI+. There are tons of examples in my forum:
http://www.jose.it-berater.org/smfforum/index.php?board=417.0

Just look at the GDI+ code, that is almost always in a procedure at the begining of the program.
Title: Re: new graphics control
Post by: Marc van Cauwenberghe on October 04, 2012, 06:22:42 PM
Thank you for your reply.
I am able to load a bitmap and show it, but I do not find how to move it.

Marc
Title: Re: new graphics control
Post by: José Roca on October 04, 2012, 07:01:43 PM
Don't understand what you mean. Move it where?
Title: Re: new graphics control
Post by: Marc van Cauwenberghe on October 04, 2012, 07:08:14 PM
Move it from one position to another within the control. Lets say I load a bitmap as a background and then a smaller one moving from left to right.

Marc
Title: Re: new graphics control
Post by: José Roca on October 04, 2012, 07:44:33 PM
I don't have code to manage sprites. Sorry.