Re: SFML2 Demo Dilema

new topic     » goto parent     » topic index » view thread      » older message » newer message

Well the structs I may need to wrap are

typedef struct  
{ 
 unsigned int width; 
 unsigned int height; 
 unsigned int bitsPerPixel; 
} sfVideoMode; 
 
typedef struct 
{ 
 sfEventType type; 
 sfKeyCode code; 
 sfBool alt; 
 sfBool control; 
 sfBool shift; 
 sfBool system; 
} sfKeyEvent; 

And the event structs go on. I'm not exactly sure how I'd wrap C structs into euphoria code.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu