Sprites support for FiveWin

Post Reply
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Sprites support for FiveWin

Post by Antonio Linares »

With AlphaBlending support :-)

This is just a first prototype:
http://rapidshare.com/files/116638322/sprites.zip.html

Code: Select all

#include "FiveWin.ch"

function Main()

   local oBmp, oWnd
   
   DEFINE BITMAP oBmp FILENAME "explorer.bmp"
   
   DEFINE WINDOW oWnd TITLE "Sprites in FiveWin"
   
   @ 2, 2 BUTTON "Sprite" SIZE 80, 20 ;
      ACTION DrawSprite( oWnd:hWnd, 0, 0, 300, 300, oBmp:hBitmap )
   
   ACTIVATE WINDOW oWnd
   
   oBmp:End()

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Patrick Mast
Posts: 244
Joined: Sat Mar 03, 2007 8:42 pm

Re: Sprites support for FiveWin

Post by Patrick Mast »

Haha, love it! ;-)

I can already have ideas on where to use it :)

Patrick
Post Reply