SFML community forums

Bindings - other languages => C => Topic started by: TricksterGuy on January 16, 2009, 05:54:10 am

Title: Wrapper for sf::Drawable ?
Post by: TricksterGuy on January 16, 2009, 05:54:10 am
Would this be hard to add in the C binding (for the purposes of wrapping it to another language)? (like first make a class that inherits from it and implements the abstract and then wrap those methods?)

if this isn't possible then don't worry about it. I will think of another way to go about it.
Title: Wrapper for sf::Drawable ?
Post by: Laurent on January 16, 2009, 07:56:26 am
I'm not sure it is possible. Maybe with a trick.

However you don't really need it, you can recreate the Drawable hierarchy from the C binding. You can look at the .Net binding for an example.

Are you trying to bind SFML to a new language? :)
Title: Wrapper for sf::Drawable ?
Post by: TricksterGuy on January 16, 2009, 08:24:05 am
Oh ok I'll have a look at the .net binding

Thanks!


After looking at it I was overthinking something about drawables haha