Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Wrapper for sf::Drawable ?  (Read 5942 times)

0 Members and 1 Guest are viewing this topic.

TricksterGuy

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Wrapper for sf::Drawable ?
« 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.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Wrapper for sf::Drawable ?
« Reply #1 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? :)
Laurent Gomila - SFML developer

TricksterGuy

  • Jr. Member
  • **
  • Posts: 66
    • View Profile
Wrapper for sf::Drawable ?
« Reply #2 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