Sprites support for FiveWin

Sprites support for FiveWin

Postby Antonio Linares » Wed May 21, 2008 10:46 pm

With AlphaBlending support :-)

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

Code: Select all  Expand view  RUN
#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
Antonio Linares
Site Admin
 
Posts: 42107
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Sprites support for FiveWin

Postby Patrick Mast » Thu May 22, 2008 7:32 am

Haha, love it! ;-)

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

Patrick
User avatar
Patrick Mast
 
Posts: 246
Joined: Sat Mar 03, 2007 8:42 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests