|
/* Copyright � 2003 Eugenio Panero. All Rights Reserved.
You cand include this .h file in your application if you want to use this list of defines with the correspondant values,
otherwise, you can write your own, keeping in mind the values corresponding to the card bitmpat that you want to load:
40XX = Hearts, 30XX = Diamonds, 20XX = Clubs, 10XX = Spades; XX01 = Ace, XX11 = Jack, XX12 = Queen, XX13 = King
The Jolly Joker card is not included in this DLL (Blame google image search for that, or my laziness ;) )
For any comments or suggestions mail me at eugi@eugi.cjb.net
www.eugigames.tk
==== HOW TO LOAD A BITMAP USING C++ ====
#include "Cards.h"
HMODULE hModule = LoadLibrary("Path\\To\\Cards.dll");
StaticControl.SetBitmap(::LoadBitmap(hModule,MAKEINTRESOURCE(IDB_H01)));
FreeLibrary(hModule);
==== ====
*/
//HEARTS
#define IDB_H01 4001 //ACE
#define IDB_H02 4002
#define IDB_H03 4003
#define IDB_H04 4004
#define IDB_H05 4005
#define IDB_H06 4006
#define IDB_H07 4007
#define IDB_H08 4008
#define IDB_H09 4009
#define IDB_H10 4010
#define IDB_H11 4011 //JACK
#define IDB_H12 4012 //QUEEN
#define IDB_H13 4013 //KING
//DIAMONDS
#define IDB_D01 3001
#define IDB_D02 3002
#define IDB_D03 3003
#define IDB_D04 3004
#define IDB_D05 3005
#define IDB_D06 3006
#define IDB_D07 3007
#define IDB_D08 3008
#define IDB_D09 3009
#define IDB_D10 3010
#define IDB_D11 3011
#define IDB_D12 3012
#define IDB_D13 3013
//CLUBS
#define IDB_C01 2001
#define IDB_C02 2002
#define IDB_C03 2003
#define IDB_C04 2004
#define IDB_C05 2005
#define IDB_C06 2006
#define IDB_C07 2007
#define IDB_C08 2008
#define IDB_C09 2009
#define IDB_C10 2010
#define IDB_C11 2011
#define IDB_C12 2012
#define IDB_C13 2013
//SPADES
#define IDB_S01 1001
#define IDB_S02 1002
#define IDB_S03 1003
#define IDB_S04 1004
#define IDB_S05 1005
#define IDB_S06 1006
#define IDB_S07 1007
#define IDB_S08 1008
#define IDB_S09 1009
#define IDB_S10 1010
#define IDB_S11 1011
#define IDB_S12 1012
#define IDB_S13 1013
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.